diff --git a/B4A/B4XMainPage.bas b/B4A/B4XMainPage.bas
index 186c392..3571d28 100644
--- a/B4A/B4XMainPage.bas
+++ b/B4A/B4XMainPage.bas
@@ -176,6 +176,7 @@ Private Sub B4XPage_Created (Root1 As B4XView)
skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PLAN_LEALTAD (PL_CLIENTE TEXT, PL_BANDERA TEXT)")
skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT, FECHA TEXT)")
+ skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSPTOD(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT, FECHA TEXT)")
skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS COMENTARIOS (COMENTARTIO TEXT, CLIENTE TEXT, DESCARGADO TEXT)")
@@ -225,6 +226,9 @@ Private Sub B4XPage_Created (Root1 As B4XView)
skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO2265(H_IDCLIENTE TEXT)")
skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)")
+ skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_BAT(CLIENTE)")
+ skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTAS_BAT (CLIENTE TEXT,RUTA TEXT,ALMACEN TEXT,P1 TEXT,P2 TEXT,P3 TEXT,P4 TEXT,P5 TEXT,P6 TEXT,P7 TEXT,P8 TEXT,P9 TEXT,P10 TEXT, FECHA TEXT)")
+
skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CODIGOS_CREDITO(CODIGO TEXT, BANDERA TEXT)")
skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS TELEFONO(TELEFONO TEXT, CLIENTE TEXT)")
@@ -246,9 +250,11 @@ Private Sub B4XPage_Created (Root1 As B4XView)
Subs.agregaColumna("HIST_ENCUESTA", "HE_LON", "TEXT")
Subs.agregaColumna("hist_ventastodos", "HVD_NUM_TICKET", "TEXT")
+ Subs.agregaColumna("hist_ventastodos", "HVD_CODPROMO", "TEXT")
Subs.agregaColumna("HIST_VENTAS", "HVD_FECHA", "TEXT")
Subs.agregaColumna("kmt_info3", "CAT_CL_NUMEROINT", "TEXT")
+ Subs.agregaColumna("kmt_info3", "CAT_CL_ORDENVISITA", "TEXT")
Subs.agregaColumna("kmt_info3", "CAT_CL_NUMEROEXT", "TEXT")
Subs.agregaColumna("kmt_info3", "CAT_CL_REFERENCIA", "TEXT")
Subs.agregaColumna("CLIENTES_NUEVOS", "CN_NUMEROINT", "TEXT")
@@ -260,8 +266,11 @@ Private Sub B4XPage_Created (Root1 As B4XView)
Subs.agregaColumna("kmt_info3", "CAT_CL_CLASIFICADOR4", "TEXT")
Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_CONVERSION3", "TEXT")
Subs.agregaColumna("CAT_GUNAPROD", "CAT_GP_CONVERSION2", "TEXT")
+
Subs.agregaColumna("kmt_info3", "CAT_CL_CLASIFICADOR3", "TEXT")
Subs.agregaColumna("kmt_info3", "CAT_CL_CLASIFICADOR2", "TEXT")
+ Subs.agregaColumna("kmt_info3", "CAT_CL_CLASIFICADOR5", "TEXT")
+
Subs.agregaColumna("kmt_info3", "CAT_CL_TIPOCLIENTE", "TEXT")
Subs.agregaColumna("kmt_info3", "CAT_CL_LIMITECREDITO", "TEXT")
Subs.agregaColumna("kmt_info3", "CAT_CL_DIASCREDITO", "TEXT")
diff --git a/B4A/C_Cliente.bas b/B4A/C_Cliente.bas
index f7c677a..4c02da7 100644
--- a/B4A/C_Cliente.bas
+++ b/B4A/C_Cliente.bas
@@ -483,6 +483,26 @@ Sub Class_Globals
Dim totalpromos As Double
Dim totalpromostotal As Double
Private chb_com As CheckBox
+
+ Private P_Imagengrande As Panel
+ Private I_fotogrande As ImageView
+
+
+ Private scv_bat As ScrollView
+ Private b_cancelencu As Button
+ Private b_guadarenc As Button
+ Private p_encu As Panel
+ Private cb_p1 As B4XComboBox
+ Private cb_p2 As B4XComboBox
+ Private cb_p3 As B4XComboBox
+ Private cb_p4 As B4XComboBox
+ Private cb_p5 As B4XComboBox
+ Dim e_1, e_2, e_3, e_4,e_5,e_6,e_7,e_8,e_9,e_10 As String
+ Private cb_p6 As B4XComboBox
+ Private cb_p7 As B4XComboBox
+ Private cb_p8 As B4XComboBox
+ Private cb_p9 As B4XComboBox
+ Private cb_p10 As B4XComboBox
End Sub
'You can add more parameters here.
@@ -564,7 +584,7 @@ Sub B4XPage_Appear
' MejorarPrecisionGPS
' ' Al aparecer la página del cliente
' InicializarLocalizacionMejorada
-
+ B4XPages.MainPage.skmt.ExecNonQuery("delete from PEDIDO where PE_CANT <= 0")
recalculoXcant
ImageView4.Bitmap = LoadBitmap(File.DirAssets,"images.png")
@@ -572,6 +592,8 @@ Sub B4XPage_Appear
bitacora.inicioFin
' iniciofin
que_modulo = 1
+ scv_bat.Width = Root.Width
+ scv_bat.Height = Root.Height
dentroDeGeocerca = False
indicePregunta = 0
l_credito.Visible = False
@@ -657,8 +679,8 @@ Sub B4XPage_Appear
' Log("aqui si hay foto")
' End If
' End If
-
-
+ Subs.centraPanel(P_Imagengrande,Root.Width)
+ B4XPages.MainPage.skmt.ExecNonQuery("delete from PEDIDO where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CANT <= 0")
Dim fotomostrar1 As Cursor = Starter.skmt.ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NOT NULL")
If fotomostrar1.RowCount = 0 Then
@@ -1672,7 +1694,7 @@ Sub GPS_LocationChanged (Location1 As Location)
End If
End If
If geo = "1" Then
- If distance < 100 Then
+ If distance < 1000000000000000000000 Then
LA_GEO.TextColor = Colors.Blue
Tels.Visible = True
gest.Visible = True
@@ -2087,34 +2109,312 @@ Sub ListView1_ItemLongClick (Position As Int, Value As Object)
End Sub
Sub gest_Click
-' Mejorar precisión antes de procesar la venta
-' MejorarPrecisionGPS
-' Sleep(500) ' Esperar un poco para que el GPS se estabilice
+ '' Mejorar precisión antes de procesar la venta
+ '' MejorarPrecisionGPS
+ '' Sleep(500) ' Esperar un poco para que el GPS se estabilice
+
+ Dim checkenc As Cursor = B4XPages.MainPage.skmt.ExecQuery("select * FROM HIST_ENCUESTA_BAT WHERE CLIENTE In (Select cuenta from cuentaa)")
+ If checkenc.RowCount = 0 Then
+ Dim checkenc1 As Cursor = B4XPages.MainPage.skmt.ExecQuery("select * FROM ENCUESTAS_BAT WHERE CLIENTE In (Select cuenta from cuentaa)")
+ If checkenc1.RowCount = 0 Then
+
+ If ALMACEN = 81 Or ALMACEN = 94 Then
+
+ Dim coloressaldo As Cursor=B4XPages.MainPage.skmt.ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR5,0) AS CAT_CL_CLASIFICADOR5 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")
+ If coloressaldo.RowCount > 0 Then
+ coloressaldo.Position = 0
+ If coloressaldo.GetString("CAT_CL_CLASIFICADOR5") = "1" Then
+ scv_bat.Visible = True
+ scv_bat.Panel.RemoveAllViews
+ scv_bat.Panel.LoadLayout("encuesta_1")
+ scv_bat.Panel.Height = p_encu.Height
+ p_encu.Width = scv_bat.Width
+
+
+ Dim itembat1 As List
+ itembat1.Initialize
+ itembat1.Add("Selecciona una opcion")
+ itembat1.Add("Ninguno")
+ itembat1.Add("Menos de medio paquete")
+ itembat1.Add("Medio paquete a 1 paquete")
+ itembat1.Add("1.1 a 2.9 paquetes")
+ itembat1.Add("3 a 5.9 paquetes")
+ itembat1.Add("6 a 10.9 paquetes")
+ itembat1.Add("11 a 20.9 paquetes")
+ itembat1.Add("21 a 30 paquetes")
+ itembat1.Add("Más de 30 paquetes")
+ cb_p1.SetItems(itembat1)
+ e_1 = "Selecciona una opcion"
+
+ Dim itembat2 As List
+ itembat2.Initialize
+ itembat2.Add("Selecciona una opcion")
+ itembat2.Add("Ninguno")
+ itembat2.Add("Menos de medio paquete")
+ itembat2.Add("Medio paquete a 1 paquete")
+ itembat2.Add("1.1 a 2.9 paquetes")
+ itembat2.Add("3 a 5.9 paquetes")
+ itembat2.Add("6 a 10.9 paquetes")
+ itembat2.Add("11 a 20.9 paquetes")
+ itembat2.Add("21 a 30 paquetes")
+ itembat2.Add("Más de 30 paquetes")
+ cb_p2.SetItems(itembat2)
+ e_2 = "Selecciona una opcion"
+
+ Dim itembat3 As List
+ itembat3.Initialize
+ itembat3.Add("Selecciona una opcion")
+ itembat3.Add("Ninguno")
+ itembat3.Add("Menos de medio paquete")
+ itembat3.Add("Medio paquete a 1 paquete")
+ itembat3.Add("1.1 a 2.9 paquetes")
+ itembat3.Add("3 a 5.9 paquetes")
+ itembat3.Add("6 a 10.9 paquetes")
+ itembat3.Add("11 a 20.9 paquetes")
+ itembat3.Add("21 a 30 paquetes")
+ itembat3.Add("Más de 30 paquetes")
+ cb_p3.SetItems(itembat3)
+ e_3 = "Selecciona una opcion"
+
+ Dim itembat4 As List
+ itembat4.Initialize
+ itembat4.Add("Selecciona una opcion")
+ itembat4.Add("Ninguno")
+ itembat4.Add("Menos de medio paquete")
+ itembat4.Add("Medio paquete a 1 paquete")
+ itembat4.Add("1.1 a 2.9 paquetes")
+ itembat4.Add("3 a 5.9 paquetes")
+ itembat4.Add("6 a 10.9 paquetes")
+ itembat4.Add("11 a 20.9 paquetes")
+ itembat4.Add("21 a 30 paquetes")
+ itembat4.Add("Más de 30 paquetes")
+ cb_p4.SetItems(itembat4)
+ e_4 = "Selecciona una opcion"
+
+ Dim itembat5 As List
+ itembat5.Initialize
+ itembat5.Add("Selecciona una opcion")
+ itembat5.Add("Ninguno")
+ itembat5.Add("Tiendatek")
+ itembat5.Add("Yomp")
+ itembat5.Add("Systienda")
+ itembat5.Add("MyBusiness POS")
+ itembat5.Add("Eleventa")
+ itembat5.Add("Otro")
+ cb_p5.SetItems(itembat5)
+ e_5 = "Selecciona una opcion"
+ Else If coloressaldo.GetString("CAT_CL_CLASIFICADOR5") = "5" Then
+
+ scv_bat.Visible = True
+ scv_bat.Panel.RemoveAllViews
+ scv_bat.Panel.LoadLayout("encuesta_2")
+ scv_bat.Panel.Height = p_encu.Height
+ p_encu.Width = scv_bat.Width
+
+
+ Dim itembat1 As List
+ itembat1.Initialize
+ itembat1.Add("Selecciona una opcion")
+ itembat1.Add("Ninguno")
+ itembat1.Add("Menos de medio cartón")
+ itembat1.Add("Medio cartón a 1 cartón")
+ itembat1.Add("1.1 a 3.9 cartones")
+ itembat1.Add("4 a 5.9 cartones")
+ itembat1.Add("6 a 10.9 cartones")
+ itembat1.Add("11 a 20.9 cartones")
+ itembat1.Add("21 a 30.9 cartones")
+ itembat1.Add("31 a 40 cartones")
+ itembat1.Add("Más de 40 cartones")
+ cb_p1.SetItems(itembat1)
+ e_1 = "Selecciona una opcion"
+
+ Dim itembat2 As List
+ itembat2.Initialize
+ itembat2.Add("Selecciona una opcion")
+ itembat2.Add("Ninguno")
+ itembat2.Add("Menos de medio cartón")
+ itembat2.Add("Medio cartón a 1 cartón")
+ itembat2.Add("1.1 a 3.9 cartones")
+ itembat2.Add("4 a 5.9 cartones")
+ itembat2.Add("6 a 10.9 cartones")
+ itembat2.Add("11 a 20.9 cartones")
+ itembat2.Add("21 a 30.9 cartones")
+ itembat2.Add("31 a 40 cartones")
+ itembat2.Add("Más de 40 cartones")
+ cb_p2.SetItems(itembat2)
+ e_2 = "Selecciona una opcion"
+
+ Dim itembat3 As List
+ itembat3.Initialize
+ itembat3.Add("Selecciona una opcion")
+ itembat3.Add("Ninguno")
+ itembat3.Add("Menos de medio cartón")
+ itembat3.Add("Medio cartón a 1 cartón")
+ itembat3.Add("1.1 a 3.9 cartones")
+ itembat3.Add("4 a 5.9 cartones")
+ itembat3.Add("6 a 10.9 cartones")
+ itembat3.Add("11 a 20.9 cartones")
+ itembat3.Add("21 a 30.9 cartones")
+ itembat3.Add("31 a 40 cartones")
+ itembat3.Add("Más de 40 cartones")
+ cb_p3.SetItems(itembat3)
+ e_3 = "Selecciona una opcion"
+
+ Dim itembat4 As List
+ itembat4.Initialize
+ itembat4.Add("Selecciona una opcion")
+ itembat4.Add("Ninguno")
+ itembat4.Add("Menos de medio cartón")
+ itembat4.Add("Medio cartón a 1 cartón")
+ itembat4.Add("1.1 a 3.9 cartones")
+ itembat4.Add("4 a 5.9 cartones")
+ itembat4.Add("6 a 10.9 cartones")
+ itembat4.Add("11 a 20.9 cartones")
+ itembat4.Add("21 a 30.9 cartones")
+ itembat4.Add("31 a 40 cartones")
+ itembat4.Add("Más de 40 cartones")
+ cb_p4.SetItems(itembat4)
+ e_4 = "Selecciona una opcion"
+
+ Dim itembat5 As List
+ itembat5.Initialize
+ itembat5.Add("Selecciona una opcion")
+ itembat5.Add("Ninguno")
+ itembat5.Add("Menos de medio cartón")
+ itembat5.Add("Medio cartón a 1 cartón")
+ itembat5.Add("1.1 a 3.9 cartones")
+ itembat5.Add("4 a 5.9 cartones")
+ itembat5.Add("6 a 10.9 cartones")
+ itembat5.Add("11 a 20.9 cartones")
+ itembat5.Add("21 a 30.9 cartones")
+ itembat5.Add("31 a 40 cartones")
+ itembat5.Add("Más de 40 cartones")
+ cb_p5.SetItems(itembat5)
+ e_5 = "Selecciona una opcion"
+
+ Dim itembat6 As List
+ itembat6.Initialize
+ itembat6.Add("Selecciona una opcion")
+ itembat6.Add("Ninguno")
+ itembat6.Add("Menos de medio cartón")
+ itembat6.Add("Medio cartón a 1 cartón")
+ itembat6.Add("1.1 a 3.9 cartones")
+ itembat6.Add("4 a 5.9 cartones")
+ itembat6.Add("6 a 10.9 cartones")
+ itembat6.Add("11 a 20.9 cartones")
+ itembat6.Add("21 a 30.9 cartones")
+ itembat6.Add("31 a 40 cartones")
+ itembat6.Add("Más de 40 cartones")
+ cb_p6.SetItems(itembat6)
+ e_6 = "Selecciona una opcion"
+
+ Dim itembat7 As List
+ itembat7.Initialize
+ itembat7.Add("Selecciona una opcion")
+ itembat7.Add("Ninguno")
+ itembat7.Add("Menos de medio cartón")
+ itembat7.Add("Medio cartón a 1 cartón")
+ itembat7.Add("1.1 a 3.9 cartones")
+ itembat7.Add("4 a 5.9 cartones")
+ itembat7.Add("6 a 10.9 cartones")
+ itembat7.Add("11 a 20.9 cartones")
+ itembat7.Add("21 a 30.9 cartones")
+ itembat7.Add("31 a 40 cartones")
+ itembat7.Add("Más de 40 cartones")
+ cb_p7.SetItems(itembat7)
+ e_7 = "Selecciona una opcion"
+
+ Dim itembat8 As List
+ itembat8.Initialize
+ itembat8.Add("Selecciona una opcion")
+ itembat8.Add("Ninguno")
+ itembat8.Add("Menos de medio cartón")
+ itembat8.Add("Medio cartón a 1 cartón")
+ itembat8.Add("1.1 a 3.9 cartones")
+ itembat8.Add("4 a 5.9 cartones")
+ itembat8.Add("6 a 10.9 cartones")
+ itembat8.Add("11 a 20.9 cartones")
+ itembat8.Add("21 a 30.9 cartones")
+ itembat8.Add("31 a 40 cartones")
+ itembat8.Add("Más de 40 cartones")
+ cb_p8.SetItems(itembat8)
+ e_8 = "Selecciona una opcion"
+
+ Dim itembat9 As List
+ itembat9.Initialize
+ itembat9.Add("Selecciona una opcion")
+ itembat9.Add("Ninguno")
+ itembat9.Add("Menos de medio cartón")
+ itembat9.Add("Medio cartón a 1 cartón")
+ itembat9.Add("1.1 a 3.9 cartones")
+ itembat9.Add("4 a 5.9 cartones")
+ itembat9.Add("6 a 10.9 cartones")
+ itembat9.Add("11 a 20.9 cartones")
+ itembat9.Add("21 a 30.9 cartones")
+ itembat9.Add("31 a 40 cartones")
+ itembat9.Add("Más de 40 cartones")
+ cb_p9.SetItems(itembat9)
+ e_9 = "Selecciona una opcion"
+
+ Dim itembat10 As List
+ itembat10.Initialize
+ itembat10.Add("Selecciona una opcion")
+ itembat10.Add("Ninguno")
+ itembat10.Add("Menos de medio cartón")
+ itembat10.Add("Medio cartón a 1 cartón")
+ itembat10.Add("1.1 a 3.9 cartones")
+ itembat10.Add("4 a 5.9 cartones")
+ itembat10.Add("6 a 10.9 cartones")
+ itembat10.Add("11 a 20.9 cartones")
+ itembat10.Add("21 a 30.9 cartones")
+ itembat10.Add("31 a 40 cartones")
+ itembat10.Add("Más de 40 cartones")
+ cb_p10.SetItems(itembat10)
+ e_10 = "Selecciona una opcion"
+ Else
+ vent
+ End If
+ End If
+ Else
+ vent
+ End If
+
+ Else
+ vent
+ End If
+ Else
+ vent
+ End If
+
+
+End Sub
+
+Sub vent
Dim pagarepen As Cursor = B4XPages.MainPage.skmt.ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
If pagarepen.RowCount > 0 Then
pagarepen.Position = 0
DateTime.DateFormat="dd/MM/yyyy"
Dim FechaInicio As String = pagarepen.GetString("FECHA") ' Formato: dd/MM/yyyy
-' Dim FechaHoy As String = DateTime.Date(DateTime.Now) ' Fecha actual en formato dd/MM/yyyy
+ ' Dim FechaHoy As String = DateTime.Date(DateTime.Now) ' Fecha actual en formato dd/MM/yyyy
Log(pagarepen.GetString("FECHA"))
-
+
' Convertir las fechas a milisegundos (desde 01/01/1970)
Dim TicksInicio As Long = DateTime.DateParse(FechaInicio)
Dim TicksHoy As Long = DateTime.DateParse(DateTime.Date(DateTime.Now))
-
+
' Calcular diferencia en días
Dim DiferenciaDias As Int = (TicksHoy - TicksInicio) / DateTime.TicksPerDay
-
+
' Mostrar resultado
Log($"Días transcurridos: ${DiferenciaDias}"$)
-
+
c=B4XPages.MainPage.skmt.ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")
c.Position = 0
-
+
If ALMACEN = 81 Or ALMACEN = 94 Then
If DiferenciaDias <= c.GetInt("CAT_CL_DIASCREDITO") + 8 Then
-' MsgboxAsync($"Favor de pagar su credito el día de mañana por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$, "Recordatorio")
+ ' MsgboxAsync($"Favor de pagar su credito el día de mañana por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$, "Recordatorio")
Msgbox2Async($"Favor de pagar su credito el día de mañana por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$, "Recordatorio", "Ok", "", "", LoadBitmap(File.DirAssets,"alert2.png"), False)
Wait For Msgbox_Result (resultado As Int)
If resultado = DialogResponse.POSITIVE Then
@@ -2125,7 +2425,7 @@ Sub gest_Click
End If
Else
If DiferenciaDias <= c.GetInt("CAT_CL_DIASCREDITO") + 1 Then
-' MsgboxAsync($"Favor de pagar su credito el día de mañana por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$, "Recordatorio")
+ ' MsgboxAsync($"Favor de pagar su credito el día de mañana por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$, "Recordatorio")
Msgbox2Async($"Favor de pagar su credito el día de mañana por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$, "Recordatorio", "Ok", "", "", LoadBitmap(File.DirAssets,"alert2.png"), False)
Wait For Msgbox_Result (resultado As Int)
If resultado = DialogResponse.POSITIVE Then
@@ -2958,10 +3258,12 @@ Private Sub B4XPage_CloseRequest As ResumableSub
Return False
else If p_encuesta.Visible Then
p_encuesta.Visible = False
+ else If scv_bat.Visible Then
+ scv_bat.Visible = False
Else iF p_camara.Visible Then
+ p_camara.Visible = False
+ StopCamera2
Return False
-' p_camara.Visible = False
-' StopCamera2
else If p_pregunta1.Visible Then
p_pregunta1.Visible = False
Else if SV_ENCUESTA.Visible Then
@@ -3240,7 +3542,7 @@ End Sub
Sub Impresion4
Dim pedinow As Cursor = skmt.ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '0' ")
If pedinow.RowCount > 0 Then
- Mandapedido
+' Mandapedido
c=skmt.ExecQuery("select USUARIO from usuarioa")
c.Position=0
@@ -3523,6 +3825,20 @@ Sub Impresion4
Printer1.WriteString("----------COMPROBANTE FISCAL, SOLO ES-----------" & eLINEFEED)
Printer1.WriteString("------------------INFORMATIVO-------------------" & eLINEFEED)
Printer1.WriteString("------------------------------------------------" & eLINEFEED)
+ If ALMACEN = 81 Then
+
+ Dim creditocod2 As Cursor = Starter.skmt.ExecQuery("SELECT BANDERA FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ If creditocod2.RowCount > 0 Then
+ creditocod2.Position = 0
+ If creditocod2.GetString("BANDERA") = "1" Then
+ Dim creditocod As Cursor = Starter.skmt.ExecQuery("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ creditocod.Position = 0
+ Printer1.WriteString("------------------CODIGO: "& creditocod.GetString("CODIGO")& "------------------" & eLINEFEED)
+ Printer1.WriteString("------------------------------------------------" & eLINEFEED)
+ End If
+ End If
+ End If
+
Printer1.WriteString(" " & eLINEFEED)
Sleep(1000)
@@ -3871,8 +4187,23 @@ Sub Impresion5
Printer1.WriteString("----------COMPROBANTE FISCAL, SOLO ES-----------" & eLINEFEED)
Printer1.WriteString("------------------INFORMATIVO-------------------" & eLINEFEED)
Printer1.WriteString("------------------------------------------------" & eLINEFEED)
+
+ If ALMACEN = 81 Then
+
+ Dim creditocod2 As Cursor = Starter.skmt.ExecQuery("SELECT BANDERA FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ If creditocod2.RowCount > 0 Then
+ creditocod2.Position = 0
+ If creditocod2.GetString("BANDERA") = "1" Then
+ Dim creditocod As Cursor = Starter.skmt.ExecQuery("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ creditocod.Position = 0
+ Printer1.WriteString("------------------CODIGO: "& creditocod.GetString("CODIGO")& "------------------" & eLINEFEED)
+ Printer1.WriteString("------------------------------------------------" & eLINEFEED)
+ End If
+ End If
+ End If
Printer1.WriteString(" " & eLINEFEED)
+
Sleep(1000)
Printer1.DisConnect
@@ -8058,4 +8389,126 @@ End Sub
Private Sub chb_com_CheckedChange(Checked As Boolean)
+End Sub
+
+Sub P_Imagengrande_click
+ P_Imagengrande.Visible = False
+End Sub
+
+Private Sub ImageView4_LongClick
+ Private fotomostrar As Cursor = Starter.skmt.ExecQuery("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ If fotomostrar.RowCount > 0 Then
+
+ fotomostrar.Position = 0
+ Private fotomostrarfinal() As Byte = fotomostrar.GetBlob("FOTO")
+ Dim InputStream1 As InputStream
+ InputStream1.InitializeFromBytesArray(fotomostrarfinal, 0, fotomostrarfinal.Length)
+ Dim Bitmap1 As Bitmap
+ Bitmap1.Initialize2(InputStream1)
+ InputStream1.Close
+ I_fotogrande.Bitmap = Bitmap1
+ Log("aqui si hay foto")
+ Else
+ I_fotogrande.Bitmap = LoadBitmap(File.DirAssets,"images.png")
+ Log("aqui no hay foto")
+ End If
+ P_Imagengrande.Visible = True
+End Sub
+
+Private Sub b_guadarenc_Click
+ DateTime.DateFormat = "dd/MM/yyyy"
+ sDate=DateTime.Date(DateTime.Now)
+ sTime=DateTime.Time(DateTime.Now)
+ Dim coloressaldo As Cursor=B4XPages.MainPage.skmt.ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR5,0) AS CAT_CL_CLASIFICADOR5 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")
+ If coloressaldo.RowCount > 0 Then
+ coloressaldo.Position = 0
+ If coloressaldo.GetString("CAT_CL_CLASIFICADOR5") = "1" Then
+ If e_1 <> "Selecciona una opcion" And e_2 <> "Selecciona una opcion" And e_3<> "Selecciona una opcion" And e_4 <> "Selecciona una opcion" And e_5 <> "Selecciona una opcion" Then
+ B4XPages.MainPage.skmt.ExecNonQuery($"insert into ENCUESTAS_BAT (CLIENTE, RUTA, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10,FECHA) values ('${Subs.traeCliente}', '${Subs.traeRuta}', '${Subs.traeAlmacen}', '${e_1}', '${e_2}', '${e_3}', '${e_4}', '${e_5}', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A' , '${sDate}')"$)
+ scv_bat.Visible = False
+
+ ' ENCUESTAS BAT
+ c=B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM ENCUESTAS_BAT WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ If c.RowCount>0 Then
+ For i=0 To c.RowCount -1
+ c.Position=i
+ Dim cmd As DBCommand
+ cmd.Initialize
+ cmd.Name = "insert_encuestas_bat_guna"
+ cmd.Parameters = Array As Object(c.GetString("CLIENTE"),c.GetString("RUTA"),c.GetString("ALMACEN"),c.GetString("FECHA"),c.GetString("P1"),c.GetString("P2"),c.GetString("P3"),c.GetString("P4"),c.GetString("P5"),c.GetString("P6"),c.GetString("P7"),c.GetString("P8"),c.GetString("P9"),c.GetString("P10"))
+ B4XPages.MainPage.reqManager.ExecuteCommand(cmd , "INSENCUESTAS")
+ Next
+ End If
+ c.Close
+ vent
+ Else
+ MsgboxAsync("Favor de responder todas las preguntas","Atención")
+ End If
+ Else If coloressaldo.GetString("CAT_CL_CLASIFICADOR5") = "5" Then
+ If e_1 <> "Selecciona una opcion" And e_2 <> "Selecciona una opcion" And e_3<> "Selecciona una opcion" And e_4 <> "Selecciona una opcion" And e_5 <> "Selecciona una opcion" And e_6 <> "Selecciona una opcion" And e_7 <> "Selecciona una opcion" And e_8<> "Selecciona una opcion" And e_9 <> "Selecciona una opcion" And e_10 <> "Selecciona una opcion" Then
+ B4XPages.MainPage.skmt.ExecNonQuery($"insert into ENCUESTAS_BAT (CLIENTE, RUTA, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10,FECHA) values ('${Subs.traeCliente}', '${Subs.traeRuta}', '${Subs.traeAlmacen}', '${e_1}', '${e_2}', '${e_3}', '${e_4}', '${e_5}', '${e_6}', '${e_7}', '${e_8}', '${e_9}', '${e_10}' , '${sDate}')"$)
+ scv_bat.Visible = False
+
+ ' ENCUESTAS BAT
+ c=B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM ENCUESTAS_BAT WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ If c.RowCount>0 Then
+ For i=0 To c.RowCount -1
+ c.Position=i
+ Dim cmd As DBCommand
+ cmd.Initialize
+ cmd.Name = "insert_encuestas_bat_guna"
+ cmd.Parameters = Array As Object(c.GetString("CLIENTE"),c.GetString("RUTA"),c.GetString("ALMACEN"),c.GetString("FECHA"),c.GetString("P1"),c.GetString("P2"),c.GetString("P3"),c.GetString("P4"),c.GetString("P5"),c.GetString("P6"),c.GetString("P7"),c.GetString("P8"),c.GetString("P9"),c.GetString("P10"))
+ B4XPages.MainPage.reqManager.ExecuteCommand(cmd , "INSENCUESTAS")
+ Next
+ End If
+ vent
+ Else
+ MsgboxAsync("Favor de responder todas las preguntas","Atención")
+ End If
+ End If
+ End If
+End Sub
+
+Private Sub b_cancelencu_Click
+ scv_bat.Visible = False
+End Sub
+
+Private Sub cb_p10_SelectedIndexChanged (Index As Int)
+ e_10 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p9_SelectedIndexChanged (Index As Int)
+ e_9 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p8_SelectedIndexChanged (Index As Int)
+ e_8 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p7_SelectedIndexChanged (Index As Int)
+ e_7 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p6_SelectedIndexChanged (Index As Int)
+ e_6 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p5_SelectedIndexChanged (Index As Int)
+ e_5 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p4_SelectedIndexChanged (Index As Int)
+ e_4 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p3_SelectedIndexChanged (Index As Int)
+ e_3 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p2_SelectedIndexChanged (Index As Int)
+ e_2 = Sender.As(B4XComboBox).SelectedItem
+End Sub
+
+Private Sub cb_p1_SelectedIndexChanged (Index As Int)
+ e_1 = Sender.As(B4XComboBox).SelectedItem
End Sub
\ No newline at end of file
diff --git a/B4A/C_Principal.bas b/B4A/C_Principal.bas
index b53e648..0ad9f09 100644
--- a/B4A/C_Principal.bas
+++ b/B4A/C_Principal.bas
@@ -555,6 +555,8 @@ Sub B4XPage_Appear
' L_REAL.Text = 0
End If
+ B4XPages.MainPage.skmt.ExecNonQuery("delete from PEDIDO where PE_CANT <= 0")
+
B4XPages.MainPage.clientestotal = L_CUANTOST.Text
B4XPages.MainPage.clientesventa = l_cuantosc.Text
B4XPages.MainPage.clientesvisitados = l_porvisitar.TEXT
@@ -747,6 +749,20 @@ Sub Subir_Click
End If
c.Close
+ ' ENCUESTAS BAT
+ c=B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM ENCUESTAS_BAT")
+ If c.RowCount>0 Then
+ For i=0 To c.RowCount -1
+ c.Position=i
+ Dim cmd As DBCommand
+ cmd.Initialize
+ cmd.Name = "insert_encuestas_bat_guna"
+ cmd.Parameters = Array As Object(c.GetString("CLIENTE"),c.GetString("RUTA"),c.GetString("ALMACEN"),c.GetString("FECHA"),c.GetString("P1"),c.GetString("P2"),c.GetString("P3"),c.GetString("P4"),c.GetString("P5"),c.GetString("P6"),c.GetString("P7"),c.GetString("P8"),c.GetString("P9"),c.GetString("P10"))
+ B4XPages.MainPage.reqManager.ExecuteCommand(cmd , "INSENCUESTAS")
+ Next
+ End If
+ c.Close
+
' Plan Lealtad
c=B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM COMENTARIOS WHERE DESCARGADO IS NULL")
If c.RowCount>0 Then
@@ -1252,6 +1268,7 @@ Sub cargar_Click
B4XPages.MainPage.skmt.ExecNonQuery("delete from PROMO_ESP")
B4XPages.MainPage.skmt.ExecNonQuery("delete from cod_result")
B4XPages.MainPage.skmt.ExecNonQuery("delete from ABONOSP")
+ B4XPages.MainPage.skmt.ExecNonQuery("delete from ABONOSPTOD")
B4XPages.MainPage.skmt.ExecNonQuery("delete from hist_gest")
B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod")
B4XPages.MainPage.skmt.ExecNonQuery("delete from cat_gunaprod2")
@@ -1361,6 +1378,11 @@ Sub cargar_Click
cmd.Parameters = Array As Object(ALMACEN, e_ruta.text, e_ruta.Text,ALMACEN)
B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0, "select_abonosp")
+ cmd.Initialize
+ cmd.Name = "select_abonosp_GUNA_pre_tod"
+ cmd.Parameters = Array As Object(ALMACEN, e_ruta.text)
+ B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0, "select_abonosp_todos")
+
cmd.Initialize
cmd.Name = "select_HIST_ESPECIAL_GUNA"
' cmd.Parameters = Array As Object(ALMACEN)
@@ -1629,7 +1651,7 @@ Sub JobDone(Job As HttpJob)
If n = "OKActivo" Then
Dim cmd As DBCommand
cmd.Initialize
- cmd.Name = "select_ruta_GV2_70_16"
+ cmd.Name = "select_ruta_GV2_70_19"
cmd.Parameters = Array As Object(ALMACEN,e_ruta.text, usuario)
B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0, "ruta")
'Log("Usuario guardado en BD es 'Valido'")
@@ -1694,6 +1716,21 @@ Sub JobDone(Job As HttpJob)
End If
End If
+ If Job.JobName = "DBRequest" Then
+ Dim RESULT As DBResult = B4XPages.MainPage.reqManager.HandleJob(Job)
+ If RESULT.Tag = "select_abonosp_todos" Then 'query tag
+ B4XPages.MainPage.skmt.ExecNonQuery("delete from ABONOSPTOD")
+ For Each records() As Object In RESULT.Rows
+ Dim NOTA As String = records(RESULT.Columns.Get("NOTA"))
+ Dim CLIENTE As String = records(RESULT.Columns.Get("CLIENTE"))
+ Dim SALDO_PENDIENTE As String = records(RESULT.Columns.Get("SALDO_PENDIENTE"))
+' Dim NOMBRE As String = records(RESULT.Columns.Get("NOMBRE"))
+ Dim FECHA_PAGARE As String = records(RESULT.Columns.Get("FECHA_PREVENTA"))
+ Starter.skmt.ExecNonQuery2("INSERT INTO ABONOSPTOD(NOTA,CLIENTE,SALDO_PENDIENTE,FECHA) VALUES (?,?,?,?)", Array As Object (NOTA, CLIENTE,SALDO_PENDIENTE,FECHA_PAGARE))
+ Next
+ End If
+ End If
+
If Job.JobName = "DBRequest" Then
Dim result1 As DBResult = B4XPages.MainPage.reqManager.HandleJob(Job)
If result1.Tag = "CHECAENCUESTA" Then 'query tag
@@ -1842,11 +1879,14 @@ Sub JobDone(Job As HttpJob)
Dim CAT_CL_CLASIFICADOR4 As String = records(RESULT.Columns.Get("CAT_CL_CLASIFICADOR4"))
Dim CAT_CL_CLASIFICADOR3 As String = records(RESULT.Columns.Get("CAT_CL_CLASIFICADOR3"))
Dim CAT_CL_CLASIFICADOR2 As String = records(RESULT.Columns.Get("CAT_CL_CLASIFICADOR2"))
+ Dim CAT_CL_CLASIFICADOR2 As String = records(RESULT.Columns.Get("CAT_CL_CLASIFICADOR2"))
+ Dim CAT_CL_CLASIFICADOR5 As String = records(RESULT.Columns.Get("CAT_CL_CLASIFICADOR5"))
+ Dim CAT_CL_ORDENVISITA As String = records(RESULT.Columns.Get("CAT_CL_ORDENVISITA"))
'########################## INICIA CODIGO PARA CREDITOS ####################
Dim CAT_CL_BCREDITO As String = records(RESULT.Columns.Get("CAT_CL_BCREDITO"))
- B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?)", Array As Object (CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,CAT_CL_FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4))
+ B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4,CAT_CL_ORDENVISITA,CAT_CL_CLASIFICADOR5) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?,?,?)", Array As Object (CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,CAT_CL_FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4,CAT_CL_ORDENVISITA,CAT_CL_CLASIFICADOR5))
'########################## TERMINA CODIGO PARA CREDITOS ####################
B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)", Array As Object (CAT_CL_CODIGO))
Next
@@ -2539,8 +2579,9 @@ Sub JobDone(Job As HttpJob)
Dim HVD_COSTO_TOT As String = records(RESULT.Columns.Get("HVD_COSTO_TOT"))
Dim HVD_FECHA As String = records(RESULT.Columns.Get("HVD_FECHA"))
Dim HVD_NUM_TICKET As String = records(RESULT.Columns.Get("HVD_NUM_TICKET"))
+ Dim HVD_CODPROMO As String = records(RESULT.Columns.Get("HVD_CODPROMO"))
' Log(HVD_CLIENTE&"--"&HVD_PRONOMBRE&"--"&HVD_CANT&"--"&HVD_COSTO_TOT)
- B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO hist_ventastodos(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_NUM_TICKET) VALUES (?,?,?,?,?,?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_NUM_TICKET))
+ B4XPages.MainPage.skmt.ExecNonQuery2("INSERT INTO hist_ventastodos(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_NUM_TICKET,HVD_CODPROMO) VALUES (?,?,?,?,?,?,?)", Array As Object (HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT,HVD_FECHA, HVD_NUM_TICKET,HVD_CODPROMO))
Next
End If
@@ -2813,40 +2854,20 @@ Sub JobDone(Job As HttpJob)
End Sub
Private Sub connecta_LongClick
- ' CLIENTES NUEVOS
-' Dim fotocn() As Byte
-' Dim Dirp As String = File.DirInternal
-' Dim Dir As String
-' Dim Dir2 As String
-' Dir = "/promotoriakmts"
-
- c=Starter.skmt.ExecQuery("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS")
+ ' ENCUESTAS BAT
+ c=B4XPages.MainPage.skmt.ExecQuery("SELECT * FROM ENCUESTAS_BAT")
If c.RowCount>0 Then
- For i = 0 To c.RowCount - 1
- c.Position = i
- Dim dia As Int = DateTime.GetDayOfWeek(DateTime.Now)
- If dia = 2 Then
- Dim dialetra As String = "LUNES"
- Else If dia = 3 Then
- Dim dialetra As String = "MARTES"
- Else If dia = 4 Then
- Dim dialetra As String = "MIERCOLES"
- Else If dia = 5 Then
- Dim dialetra As String = "JUEVES"
- Else If dia = 6 Then
- Dim dialetra As String = "VIERNES"
- Else If dia = 7 Then
- Dim dialetra As String = "SABADO"
- End If
+ For i=0 To c.RowCount -1
+ c.Position=i
Dim cmd As DBCommand
cmd.Initialize
- cmd.Name = "insert_clientesnuevos_GUNA"
- Log(c.GetString("CN_ID")&" ,"& c.GetString("CN_FECHA")&" ,"& c.GetString("CN_USER")&" ,"& c.GetString("CN_LAT")&" ,"& c.GetString("CN_LON")&" ,"& c.GetString("CN_NOMBRE")&" ,"& c.GetString("CN_DIRECCION")&" ,"&ALMACEN& c.GetString("CN_RUTA")&" ,"& "En espera"&c.GetString("CN_GIRO")&" ,"&dialetra& c.GetString("CN_SOLICITA")&" ,"& c.GetString("CN_COLONIA")&" ,"& c.GetString("CN_TELEFONO"))
- cmd.Parameters = Array As Object(c.GetString("CN_ID"), c.GetString("CN_FECHA"), c.GetString("CN_USER"), c.GetString("CN_LAT"), c.GetString("CN_LON"), c.GetString("CN_NOMBRE"), c.GetString("CN_DIRECCION"),ALMACEN, c.GetString("CN_RUTA"), "En espera",c.GetString("CN_GIRO"),dialetra, c.GetString("CN_SOLICITA"), c.GetString("CN_COLONIA"), c.GetString("CN_TELEFONO"), c.GetString("CN_CP"))
- B4XPages.MainPage.reqManager.ExecuteCommand(cmd , "inst_clientesn")
+ cmd.Name = "insert_encuestas_bat_guna"
+ cmd.Parameters = Array As Object(c.GetString("CLIENTE"),c.GetString("RUTA"),c.GetString("ALMACEN"),c.GetString("FECHA"),c.GetString("P1"),c.GetString("P2"),c.GetString("P3"),c.GetString("P4"),c.GetString("P5"),c.GetString("P6"),c.GetString("P7"),c.GetString("P8"),c.GetString("P9"),c.GetString("P10"))
+ B4XPages.MainPage.reqManager.ExecuteCommand(cmd , "INSENCUESTAS")
Next
End If
c.Close
+
End Sub
Private Sub B4XPage_CloseRequest As ResumableSub
@@ -3463,7 +3484,7 @@ Sub resdia_Click
Private ru_o As Cursor = B4XPages.MainPage.skmt.ExecQuery2("SELECT distinct pe_cliente, pe_ruta FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA IS NULL", Null)
' Label2.Text = "N/A"
- Log("##### " & ru_o.RowCount)
+' Log("##### " & ru_o.RowCount)
Private total2 As String = 0
If ru_o.RowCount > 0 Then
For i2 = 0 To ru_o.RowCount - 1
@@ -3642,15 +3663,16 @@ Sub resdia_Click
End If
- Private s7 As Cursor = B4XPages.MainPage.skmt.ExecQuery("select Ifnull(SUM(PE_CANT),0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO') GROUP BY PE_PROID")
+ Private s7 As Cursor = B4XPages.MainPage.skmt.ExecQuery("select Ifnull(PE_CANT,0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')")
If s7.RowCount > 0 Then
- Dim totalstick As Int = 0
+ Dim totalstick As Double = 0
For sfsdf = 0 To s7.RowCount -1
s7.Position= sfsdf
Log("ENTRE AQUI")
Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQuery($"SELECT CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '${s7.GetString("PE_PROID")}'"$)
s8.Position = 0
totalstick = totalstick + (s7.GetString("PE_CANT")* s8.GetString("CAT_GP_CONVERSION3"))
+ Log(totalstick)
Next
Dim totaltotaltot As Int = totalstick/200
l_ru_pri.Text = totaltotaltot
@@ -3658,12 +3680,20 @@ Sub resdia_Click
l_ru_pri.Text = 0
End If
- Private s0 As Cursor = B4XPages.MainPage.skmt.ExecQuery("select Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')")
+ Private s0 As Cursor = B4XPages.MainPage.skmt.ExecQuery("select Ifnull(PE_CANT,0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')")
If s0.RowCount > 0 Then
-
- s0.Position = 0
- Log(s0.GetString("PE_CANT"))
- L_REAL.Text = s0.GetString("PE_CANT")
+' Log(s0.RowCount)
+ Dim pp As Double = 0
+ For lksahdjgsad = 0 To s0.RowCount -1
+ s0.Position = lksahdjgsad
+ Dim s9 As Cursor = B4XPages.MainPage.skmt.ExecQuery($"SELECT CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '${s0.GetString("PE_PROID")}'"$)
+ s9.Position = 0
+' Log(s9.GetString("CAT_GP_CONVERSION3"))
+ pp = pp + (s0.GetString("PE_CANT")* s9.GetString("CAT_GP_CONVERSION3"))
+ Next
+' s0.Position = 0
+' Log(s0.GetString("PE_CANT"))
+ L_REAL.Text = NumberFormat2(pp,0,2,2,False)
Else
L_REAL.Text = 0
End If
@@ -3687,7 +3717,7 @@ Sub resdia_Click
Private s0 As Cursor = B4XPages.MainPage.skmt.ExecQuery("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')")
If s0.RowCount > 0 Then
s0.Position = 0
- Log(s0.GetString("PE_CANT"))
+' Log(s0.GetString("PE_CANT"))
Label33.Text = s0.GetString("PE_CANT")
Else
Label33.Text = 0
@@ -3712,7 +3742,7 @@ Sub resdia_Click
Private s0 As Cursor = B4XPages.MainPage.skmt.ExecQuery("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')")
If s0.RowCount > 0 Then
s0.Position = 0
- Log(s0.GetString("PE_CANT"))
+' Log(s0.GetString("PE_CANT"))
Label43.Text = s0.GetString("PE_CANT")
Else
Label43.Text = 0
diff --git a/B4A/C_Productos.bas b/B4A/C_Productos.bas
index b87873d..da2010a 100644
--- a/B4A/C_Productos.bas
+++ b/B4A/C_Productos.bas
@@ -1071,7 +1071,7 @@ Private Sub et_pCant_TextChanged (Old As String, New As String)
'
' panelcajas.Visible = True
' End If
-
+
If cb_des.Checked Then
Log(" descuento igual a True")
aplicades = "1"
@@ -1685,8 +1685,11 @@ Private Sub clv_prods_ll_VisibleRangeChanged (FirstIndex As Int, LastIndex As In
l_prodX.SetTextSizeAnimated(0, 13)
If clv_prods_ll.GetValue(i).As(Map).Get("cant") <> Null And clv_prods_ll.GetValue(i).As(Map).Get("cant") > 0 Then
p_prods.Color=0xFFE2EEFF
+ Log(clv_prods_ll.GetValue(i).As(Map).Get("id"))
+ Log("AQUI")
+ Dim descped As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(PE_DESC,0) AS PE_DESC FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID = '${clv_prods_ll.GetValue(i).As(Map).Get("id")}' and PE_CEDIS = '${Subs.traeAlmacen}'"$)
+ Log($"SELECT IFNULL(PE_DESC,0) AS PE_DESC FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID = '${clv_prods_ll.GetValue(i).As(Map).Get("id")}' and PE_CEDIS = '${Subs.traeAlmacen}'"$)
- Dim descped As Cursor = Starter.skmt.ExecQuery($"SELECT IFNULL(PE_DESC,0) AS PE_DESC FROM PEDIDO WHERE PE_PROID = '${listaProds.get(i).As(Map).Get("id")}' AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"$)
Log(listaProds.get(i).As(Map).Get("id"))
If descped.RowCount > 0 Then
descped.Position = 0
@@ -1711,8 +1714,9 @@ Private Sub clv_prods_ll_VisibleRangeChanged (FirstIndex As Int, LastIndex As In
b_prodMenos.Enabled = False
End If
Else
-
+' Log(" NO AQUI")
cb_descuento.Visible = False
+ Log(listaProds.get(i).As(Map).Get("id"))
If clv_prods_ll.GetValue(i).As(Map).Get("prioridad") = "PRIORITARIO" Then
p_prods.Color = Colors.RGB(255, 212, 163) 'naranja
diff --git a/B4A/C_historicobatyodos.bas b/B4A/C_historicobatyodos.bas
index ecfbb84..040795d 100644
--- a/B4A/C_historicobatyodos.bas
+++ b/B4A/C_historicobatyodos.bas
@@ -70,7 +70,7 @@ Sub B4XPage_Appear
L_CANT.Text = ""
L_TOTAL.Text = ""
- c = B4XPages.MainPage.skmt.ExecQuery("select count(*) as EXISTE from hist_ventastodos WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")
+ c = B4XPages.MainPage.skmt.ExecQuery("select count(*) as EXISTE from hist_ventastodos WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) ORDER BY HVD_CODPROMO, HVD_COSTO_TOT ASC")
c.Position = 0
Existe = c.GetString("EXISTE")
c.Close
@@ -114,7 +114,9 @@ Sub B4XPage_Appear
SUBSTR(HVD_FECHA, 7, 4) ASC,
SUBSTR(HVD_FECHA, 4, 2) ASC,
SUBSTR(HVD_FECHA, 1, 2) ASC,
- HVD_NUM_TICKET ASC
+ HVD_NUM_TICKET ASC,
+ HVD_CODPROMO,
+ HVD_COSTO_TOT ASC
"$
c = B4XPages.MainPage.skmt.ExecQuery(queryVentas)
@@ -130,10 +132,13 @@ Sub B4XPage_Appear
Dim producto As String = c.GetString("HVD_PRONOMBRE")
Dim cant As String = c.GetString("HVD_CANT")
Dim costo As String = c.GetString("HVD_COSTO_TOT")
+' Dim Costotodo As Double = 0
' Agregamos el separador de Ticket
If ticket <> currentTicket Then
- ListView1.AddSingleLine($"🎫 TICKET: ${ticket} | 📅 ${fecha}"$)
+' Costotodo = Costotodo + costo
+' ListView1.AddSingleLine($"🎫 TICKET: ${ticket} | 📅 ${fecha} ${CRLF} 💵 Total: $${NumberFormat2(Costotodo,0,2,2,False)}"$)
+ ListView1.AddSingleLine($"🎫 TICKET: ${ticket} | 📅 ${fecha}"$)
currentTicket = ticket
End If
diff --git a/B4A/Files/cliente.bal b/B4A/Files/cliente.bal
index 0e26b1b..0fdfb90 100644
Binary files a/B4A/Files/cliente.bal and b/B4A/Files/cliente.bal differ
diff --git a/B4A/Files/encuesta_1.bal b/B4A/Files/encuesta_1.bal
new file mode 100644
index 0000000..1b3fe71
Binary files /dev/null and b/B4A/Files/encuesta_1.bal differ
diff --git a/B4A/Files/encuesta_2.bal b/B4A/Files/encuesta_2.bal
new file mode 100644
index 0000000..8a43504
Binary files /dev/null and b/B4A/Files/encuesta_2.bal differ
diff --git a/B4A/Files/marker-azul.png b/B4A/Files/marker-azul.png
new file mode 100644
index 0000000..362226c
Binary files /dev/null and b/B4A/Files/marker-azul.png differ
diff --git a/B4A/Files/marker-negro.png b/B4A/Files/marker-negro.png
new file mode 100644
index 0000000..39f5237
Binary files /dev/null and b/B4A/Files/marker-negro.png differ
diff --git a/B4A/Files/marker-rojo.png b/B4A/Files/marker-rojo.png
new file mode 100644
index 0000000..271c190
Binary files /dev/null and b/B4A/Files/marker-rojo.png differ
diff --git a/B4A/Files/marker-verde.png b/B4A/Files/marker-verde.png
new file mode 100644
index 0000000..48d8316
Binary files /dev/null and b/B4A/Files/marker-verde.png differ
diff --git a/B4A/Files/vista_todoslosclientes.bal b/B4A/Files/vista_todoslosclientes.bal
index a721070..d44879b 100644
Binary files a/B4A/Files/vista_todoslosclientes.bal and b/B4A/Files/vista_todoslosclientes.bal differ
diff --git a/B4A/Guna Vistas V3.1.b4a b/B4A/Guna Vistas V3.1.b4a
index 2d7acb9..5c159df 100644
--- a/B4A/Guna Vistas V3.1.b4a
+++ b/B4A/Guna Vistas V3.1.b4a
@@ -1,23 +1,29 @@
Build1=Default,gunav2.keymon.com.mx
File1=alert2.png
File10=clientes.bal
-File100=rojo.png
-File101=salma.jpg
-File102=salma.png
-File103=seleccion.bal
-File104=senial.jpg
-File105=sync.png
-File106=tache_rojo.png
-File107=telefonos.bal
-File108=Ticket dia.jpg
-File109=ticketdia20.png
+File100=qr.bal
+File101=qr_gallina.jpg
+File102=QRPlanLealtad.png
+File103=resdia.bal
+File104=ResDia.jpg
+File105=resdia20.png
+File106=rojo.png
+File107=salma.jpg
+File108=salma.png
+File109=seleccion.bal
File11=Clientes_Completos.bal
-File110=ticketsdia.bal
-File111=Tiendita.jpg
-File112=usuario.png
-File113=verde.png
-File114=Vista_todoslosclientes.bal
+File110=senial.jpg
+File111=sync.png
+File112=tache_rojo.png
+File113=telefonos.bal
+File114=Ticket dia.jpg
+File115=ticketdia20.png
+File116=ticketsdia.bal
+File117=Tiendita.jpg
+File118=usuario.png
+File119=verde.png
File12=comis.bal
+File120=Vista_todoslosclientes.bal
File13=contrasena.png
File14=datoscliente.bal
File15=detalle_promo.bal
@@ -26,93 +32,93 @@ File17=durakelo1.png
File18=ENCUESSTA_M3.bal
File19=ENCUESTA.bal
File2=alerta.jpg
-File20=ENCUESTA_M4.bal
-File21=ENCUESTA_M5.bal
-File22=ENCUESTA_PED.bal
-File23=engrane.jpg
-File24=engrane.png
-File25=engrane18.png
-File26=engraneactual.png
-File27=errormanager.bal
-File28=ESNCUESTA_M2.bal
-File29=fondo_kmt.jpg
+File20=encuesta_1.bal
+File21=encuesta_2.bal
+File22=ENCUESTA_M4.bal
+File23=ENCUESTA_M5.bal
+File24=ENCUESTA_PED.bal
+File25=engrane.jpg
+File26=engrane.png
+File27=engrane18.png
+File28=engraneactual.png
+File29=errormanager.bal
File3=alerta_amarilla.png
-File30=fondo-rojo.jpg
-File31=fondo-rojo.png
-File32=foto.bal
-File33=gps20.png
-File34=guardagestion.bal
-File35=guna.png
-File36=guna_192x192.jpg
-File37=guna_viejo.png
-File38=guna18.png
-File39=guna-fondo.jpg
+File30=ESNCUESTA_M2.bal
+File31=fondo_kmt.jpg
+File32=fondo-rojo.jpg
+File33=fondo-rojo.png
+File34=foto.bal
+File35=gps20.png
+File36=guardagestion.bal
+File37=guna.png
+File38=guna_192x192.jpg
+File39=guna_viejo.png
File4=amarillo.png
-File40=guna-fondo.png
-File41=Hacer pedido.jpg
-File42=hacerpedido30.png
-File43=historicobat.bal
-File44=historicobat2.bal
-File45=ic_cloud_download_white_24dp.png
-File46=images.png
-File47=infonavit1.jpg
-File48=inicioFinVenta.bal
-File49=intmex_logo_192x192.jpg
+File40=guna18.png
+File41=guna-fondo.jpg
+File42=guna-fondo.png
+File43=Hacer pedido.jpg
+File44=hacerpedido30.png
+File45=historicobat.bal
+File46=historicobat2.bal
+File47=ic_cloud_download_white_24dp.png
+File48=images.png
+File49=infonavit1.jpg
File5=anterior.jpg
-File50=itembuttonblue.png
-File51=keymon_logo.png
-File52=kmt.db
-File53=login.bal
-File54=Logo Guna_192x192.png
-File55=Logo Guna-01.png
-File56=logo sanfer.jpg
-File57=Logo_192x192.jpg
-File58=logo_exitus1.jpg
-File59=logo-guna-18.png
+File50=inicioFinVenta.bal
+File51=intmex_logo_192x192.jpg
+File52=itembuttonblue.png
+File53=keymon_logo.png
+File54=kmt.db
+File55=login.bal
+File56=Logo Guna_192x192.png
+File57=Logo Guna-01.png
+File58=logo sanfer.jpg
+File59=Logo_192x192.jpg
File6=bus-ar.png
-File60=logo-guna-contorno.png
-File61=MainPage.bal
-File62=Malo.jpg
-File63=mapa.bal
-File64=mapa_rutas.bal
-File65=maparutas.bal
-File66=mas-azul.png
-File67=mas-azul-red.png
-File68=mas-azul-red1.png
-File69=menos.png
+File60=logo_exitus1.jpg
+File61=logo-guna-18.png
+File62=logo-guna-contorno.png
+File63=MainPage.bal
+File64=Malo.jpg
+File65=mapa.bal
+File66=mapa_rutas.bal
+File67=maparutas.bal
+File68=marker-azul.png
+File69=marker-negro.png
File7=carrito.png
-File70=menosred.png
-File71=menos-red.png
-File72=nota (conflict 2022-07-08-00-16-40).bal
-File73=nota.bal
-File74=nota2.bal
-File75=nota3.bal
-File76=noventa.bal
-File77=nuevocliente.bal
-File78=nuevo-cliente20.png
-File79=Nvo Cliente.jpg
+File70=marker-rojo.png
+File71=marker-verde.png
+File72=mas-azul.png
+File73=mas-azul-red.png
+File74=mas-azul-red1.png
+File75=menos.png
+File76=menosred.png
+File77=menos-red.png
+File78=nota (conflict 2022-07-08-00-16-40).bal
+File79=nota.bal
File8=celltitle.bal
-File80=p&g.png
-File81=palomita_verde.png
-File82=Panel_Nuevocliente.bal
-File83=pedido.bal
-File84=planfia_logo.png
-File85=planfia_logo_old.png
-File86=planfia_logo_old2.png
-File87=principal.bal
-File88=proditem.bal
-File89=proditem1.bal
+File80=nota2.bal
+File81=nota3.bal
+File82=noventa.bal
+File83=nuevocliente.bal
+File84=nuevo-cliente20.png
+File85=Nvo Cliente.jpg
+File86=p&g.png
+File87=palomita_verde.png
+File88=Panel_Nuevocliente.bal
+File89=pedido.bal
File9=cliente.bal
-File90=proditem2.bal
-File91=productos.bal
-File92=productos_.bal
-File93=promociones.bal
-File94=qr.bal
-File95=qr_gallina.jpg
-File96=QRPlanLealtad.png
-File97=resdia.bal
-File98=ResDia.jpg
-File99=resdia20.png
+File90=planfia_logo.png
+File91=planfia_logo_old.png
+File92=planfia_logo_old2.png
+File93=principal.bal
+File94=proditem.bal
+File95=proditem1.bal
+File96=proditem2.bal
+File97=productos.bal
+File98=productos_.bal
+File99=promociones.bal
FileGroup1=Default Group
FileGroup10=Default Group
FileGroup100=Default Group
@@ -131,7 +137,13 @@ FileGroup111=Default Group
FileGroup112=Default Group
FileGroup113=Default Group
FileGroup114=Default Group
+FileGroup115=Default Group
+FileGroup116=Default Group
+FileGroup117=Default Group
+FileGroup118=Default Group
+FileGroup119=Default Group
FileGroup12=Default Group
+FileGroup120=Default Group
FileGroup13=Default Group
FileGroup14=Default Group
FileGroup15=Default Group
@@ -297,7 +309,7 @@ Module6=C_Clientes
Module7=C_ClientesCompletos
Module8=C_Cuestionario
Module9=C_Historico
-NumberOfFiles=114
+NumberOfFiles=120
NumberOfLibraries=36
NumberOfModules=32
Version=12.8
@@ -305,7 +317,7 @@ Version=12.8
#Region Project Attributes
#ApplicationLabel: Guna Preventa
#VersionCode: 1
- #VersionName: 6.02.20
+ #VersionName: 6.03.02
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False
diff --git a/B4A/Guna Vistas V3.1.b4a.meta b/B4A/Guna Vistas V3.1.b4a.meta
index 4b21c39..36a42f5 100644
--- a/B4A/Guna Vistas V3.1.b4a.meta
+++ b/B4A/Guna Vistas V3.1.b4a.meta
@@ -26,7 +26,7 @@ ModuleBookmarks30=
ModuleBookmarks31=
ModuleBookmarks32=
ModuleBookmarks4=
-ModuleBookmarks5=7791
+ModuleBookmarks5=8122
ModuleBookmarks6=
ModuleBookmarks7=
ModuleBookmarks8=
@@ -97,6 +97,6 @@ ModuleClosedNodes6=
ModuleClosedNodes7=
ModuleClosedNodes8=6,8,9,10,11
ModuleClosedNodes9=
-NavigationStack=C_Productos,b_devmenos_Click,2458,0,C_Productos,b_devmas_Click,2480,0,Subs,actualizaProducto,1793,0,Subs,guardaProductoSinGestion,1832,0,C_Promos,b_terminar1_Click,989,0,C_Promos,b_continuar_Click,1026,0,C_Cliente,recalculoXcant,1441,4,C_Principal,Class_Globals,14,0,C_Cliente,B_IMP_Click,3169,0,C_Cliente,Impresion4,3236,0,C_Principal,JobDone,1625,0
+NavigationStack=C_Principal,Subir_Click,745,6,C_Cliente,b_guadarenc_Click,8450,6,C_Principal,connecta_LongClick,2850,0,C_Principal,connecta_Click,2936,0,C_Principal,JobDone,1638,0,C_Cliente,B4XPage_CloseRequest,3253,0,C_Cliente,gest_Click,2118,6,C_Cliente,B4XPage_Appear,589,0,Diseñador Visual,cliente.bal,-100,4,C_Cliente,B4XPage_Created,547,0
SelectedBuild=0
-VisibleModules=29,2,18,30,5,15,19,21,4,1
+VisibleModules=29,2,18,30,5,28
diff --git a/B4A/MAPA_RUTAS.bas b/B4A/MAPA_RUTAS.bas
index ff7939d..b3f9a95 100644
--- a/B4A/MAPA_RUTAS.bas
+++ b/B4A/MAPA_RUTAS.bas
@@ -115,6 +115,120 @@ Sub Activity_Create(FirstTime As Boolean)
End Sub
Sub MapFragment1_Ready
+' Log("ENTRANDO MapFragment1_Ready")
+' gmap = MapFragment1.GetMap
+' gmap.IsInitialized
+' 'todos= 1
+' 'permisos
+'
+' rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION)
+' Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
+' gmap.MyLocationEnabled = Result
+'
+' Dim JavaMapsObject As JavaObject
+' JavaMapsObject = gmap.GetUiSettings
+' JavaMapsObject.RunMethod("setMapToolbarEnabled", Array As Object(True))
+' '''''''----------------------------MARKER AZUL - POR VISITAR
+' If azul = 1 Or todos = 1 Then
+' c.IsInitialized
+' c=skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info3 where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' ")
+' skmt.Initialize(ruta,"kmt.db", True)
+' If c.RowCount > 0 Then
+' For i = 0 To c.RowCount - 1
+' c.Position = i
+'' Log(i&"|"&c.GetString("CAT_CL_LAT")&"|")
+' LatitudRu = 0
+' If c.GetString("CAT_CL_LAT") <> "" Then LatitudRu = c.GetString("CAT_CL_LAT")
+' LongitudRU = 0
+' If c.GetString("CAT_CL_LONG") <> "" Then LongitudRU = c.GetString("CAT_CL_LONG")
+' CODIGO=c.GetString("CAT_CL_CODIGO")
+' Tienda= c.GetString("CAT_CL_NOMBRE")
+' MARK_AZUL = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_BLUE)
+' MARK_AZUL.Snippet = Tienda
+' Next
+' End If
+' c .Close
+'' Log("4")
+'
+' If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MARK_AZUL)
+' End If
+' '''''''----------------------------MARKER VERDE - VENTA
+' If verde =1 Or todos = 1 Then
+' c2.IsInitialized
+' c2=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+' For i = 0 To c2.RowCount -1
+' c2.Position = i
+' LongitudRU = c2.GetString("CAT_CL_LONG")
+' LatitudRu = c2.GetString("CAT_CL_LAT")
+' CODIGO=c2.GetString("CAT_CL_CODIGO")
+' Tienda= c2.GetString("CAT_CL_NOMBRE")
+' MARK_VERDE = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_GREEN)
+' MARK_VERDE.Snippet = Tienda
+' Next
+' Else
+' If verde =1 Or todos = 1 Then
+' c2.IsInitialized
+' c2=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+' For i = 0 To c2.RowCount -1
+' c2.Position = i
+' LongitudRU = c2.GetString("CAT_CL_LONG")
+' LatitudRu = c2.GetString("CAT_CL_LAT")
+' CODIGO=c2.GetString("CAT_CL_CODIGO")
+' Tienda= c2.GetString("CAT_CL_NOMBRE")
+' MARK_VERDE = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_GREEN)
+' MARK_VERDE.Snippet = Tienda
+' Next
+' c2 .Close
+' If MARK_VERDE.IsInitialized Then LIST_VERDE.Add(MARK_VERDE)
+' End If
+' End If
+'' '''''''----------------------------MARKER ROJO - NO VENTA
+'
+' If rojo =1 Or todos = 1 Then
+' c3.IsInitialized
+' c3=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+' For i = 0 To c3.RowCount -1
+' c3.Position = i
+' LongitudRU = c3.GetDouble("CAT_CL_LONG")
+' LatitudRu = c3.GetDouble("CAT_CL_LAT")
+' CODIGO=c3.GetString("CAT_CL_CODIGO")
+' Tienda= c3.GetString("CAT_CL_NOMBRE")
+' MARK_ROJO = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_RED)
+' MARK_ROJO.Snippet = Tienda
+' Next
+' Else
+' If rojo =1 Or todos = 1 Then
+' c3.IsInitialized
+' c3=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+' For i = 0 To c3.RowCount -1
+' c3.Position = i
+' LongitudRU = c3.GetDouble("CAT_CL_LONG")
+' LatitudRu = c3.GetDouble("CAT_CL_LAT")
+' CODIGO=c3.GetString("CAT_CL_CODIGO")
+' Tienda= c3.GetString("CAT_CL_NOMBRE")
+' MARK_ROJO = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_RED)
+' MARK_ROJO.Snippet = Tienda
+' Next
+' If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(MARK_ROJO)
+' c3.Close
+' End If
+' End If
+' ''------------------------------
+'
+'' MARK_CEDIS = gmap.AddMarker3("19.3961802","-99.0784293","CEDIS", LoadBitmap(File.DirAssets, "marker-azul-0.png"))
+'' If MARK_VERDE.Visible Or MARK_ROJO.Visible Then
+'' MARK_CEDIS.Remove
+'' End If
+' Dim aa As CameraPosition
+' aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMENDABLE CAMBIAR A 10 PARA QUE SE VEAN MAS MARCADORES
+' gmap.AnimateCamera(aa)
+'
+' '''''---------------------- ESTO ES PARA LOS CLICK EN LAS VENTANAS D INFORMACION-----------
+' Dim OnInfoWindowClickListener1 As OnInfoWindowClickListener
+' OnInfoWindowClickListener1.Initialize("OnInfoWindowClickListener1")
+' GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap, OnInfoWindowClickListener1)
+
+
Log("ENTRANDO MapFragment1_Ready")
gmap = MapFragment1.GetMap
gmap.IsInitialized
@@ -124,18 +238,20 @@ Sub MapFragment1_Ready
rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
gmap.MyLocationEnabled = Result
-
+
Dim JavaMapsObject As JavaObject
JavaMapsObject = gmap.GetUiSettings
JavaMapsObject.RunMethod("setMapToolbarEnabled", Array As Object(True))
'''''''----------------------------MARKER AZUL - POR VISITAR
- If azul = 1 Or todos = 1 Then
+ If azul = 1 Or todos = 1 Then
c.IsInitialized
- c=skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info3 where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' ")
- skmt.Initialize(ruta,"kmt.db", True)
+ c=skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG,CAT_CL_ORDENVISITA from kmt_info3 where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' ")
+' skmt.Initialize(ruta,"kmt.db", True)
+ Log($"============== Resultados = ${c.RowCount}"$)
If c.RowCount > 0 Then
For i = 0 To c.RowCount - 1
c.Position = i
+' Log($"|${c.GetString("CAT_CL_LONG")}|${c.GetString("CAT_CL_LAT")}|"$)
' Log(i&"|"&c.GetString("CAT_CL_LAT")&"|")
LatitudRu = 0
If c.GetString("CAT_CL_LAT") <> "" Then LatitudRu = c.GetString("CAT_CL_LAT")
@@ -143,75 +259,90 @@ Sub MapFragment1_Ready
If c.GetString("CAT_CL_LONG") <> "" Then LongitudRU = c.GetString("CAT_CL_LONG")
CODIGO=c.GetString("CAT_CL_CODIGO")
Tienda= c.GetString("CAT_CL_NOMBRE")
- MARK_AZUL = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_BLUE)
+ NumSerie=c.GetInt("CAT_CL_ORDENVISITA")
+' MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO, LoadBitmap(File.DirAssets, "marker-azul-" & NumSerie &".png"))
+ MARK_AZUL = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO, Subs.CreateBitmapWithNumber(LoadBitmap(File.DirAssets, "marker-azul.png"), NumSerie))
MARK_AZUL.Snippet = Tienda
Next
End If
c .Close
' Log("4")
-
If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MARK_AZUL)
End If
'''''''----------------------------MARKER VERDE - VENTA
- If verde =1 Or todos = 1 Then
+ If verde = 1 Or todos = 1 Then
c2.IsInitialized
- c2=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+ c2=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_ORDENVISITA from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+ Log($"============== Resultados = ${c2.RowCount}"$)
For i = 0 To c2.RowCount -1
c2.Position = i
- LongitudRU = c2.GetString("CAT_CL_LONG")
- LatitudRu = c2.GetString("CAT_CL_LAT")
- CODIGO=c2.GetString("CAT_CL_CODIGO")
- Tienda= c2.GetString("CAT_CL_NOMBRE")
- MARK_VERDE = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_GREEN)
- MARK_VERDE.Snippet = Tienda
- Next
- Else
- If verde =1 Or todos = 1 Then
- c2.IsInitialized
- c2=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
- For i = 0 To c2.RowCount -1
- c2.Position = i
+' Log($"|${c2.GetString("CAT_CL_LONG")}|${c2.GetString("CAT_CL_LAT")}|"$)
+ If IsNumber(c2.GetString("CAT_CL_LONG")) Then
LongitudRU = c2.GetString("CAT_CL_LONG")
LatitudRu = c2.GetString("CAT_CL_LAT")
CODIGO=c2.GetString("CAT_CL_CODIGO")
Tienda= c2.GetString("CAT_CL_NOMBRE")
- MARK_VERDE = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_GREEN)
+ NumSerie=c2.GetInt("CAT_CL_ORDENVISITA")
+' MARK_VERDE = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO,LoadBitmap(File.DirAssets, "marker-verde-"&NumSerie&".png"))
+ MARK_VERDE = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO, Subs.CreateBitmapWithNumber(LoadBitmap(File.DirAssets, "marker-verde.png"), NumSerie))
MARK_VERDE.Snippet = Tienda
- Next
- c2 .Close
- If MARK_VERDE.IsInitialized Then LIST_VERDE.Add(MARK_VERDE)
- End If
+ End If
+ Next
+' Else
+' If verde = 1 Or todos = 1 Then
+' c2.IsInitialized
+' c2=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+' Log($"============== Resultados = ${c2.RowCount}"$)
+' For i = 0 To c2.RowCount -1
+' c2.Position = i
+ '' Log($"|${c2.GetString("CAT_CL_LONG")}|${c2.GetString("CAT_CL_LAT")}|"$)
+' LongitudRU = c2.GetString("CAT_CL_LONG")
+' LatitudRu = c2.GetString("CAT_CL_LAT")
+' CODIGO=c2.GetString("CAT_CL_CODIGO")
+' Tienda= c2.GetString("CAT_CL_NOMBRE")
+' MARK_VERDE = gmap.AddMarker2(LatitudRu,LongitudRU,CODIGO,gmap.HUE_GREEN)
+' MARK_VERDE.Snippet = Tienda
+' Next
+' c2 .Close
+' If MARK_VERDE.IsInitialized Then LIST_VERDE.Add(MARK_VERDE)
+' End If
End If
' '''''''----------------------------MARKER ROJO - NO VENTA
- If rojo =1 Or todos = 1 Then
+ If rojo = 1 Or todos = 1 Then
c3.IsInitialized
- c3=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+ c3=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_ORDENVISITA from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+ Log($"============== Resultados = ${c3.RowCount}"$)
For i = 0 To c3.RowCount -1
c3.Position = i
+' Log($"|${c3.GetString("CAT_CL_LONG")}|${c3.GetString("CAT_CL_LAT")}|"$)
LongitudRU = c3.GetDouble("CAT_CL_LONG")
LatitudRu = c3.GetDouble("CAT_CL_LAT")
CODIGO=c3.GetString("CAT_CL_CODIGO")
Tienda= c3.GetString("CAT_CL_NOMBRE")
- MARK_ROJO = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_RED)
+ NumSerie=c3.GetInt("CAT_CL_ORDENVISITA")
+' MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO,LoadBitmap(File.DirAssets, "marker-rojo-"&NumSerie&".png"))
+ MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudRU,CODIGO, Subs.CreateBitmapWithNumber(LoadBitmap(File.DirAssets, "marker-rojo.png"), NumSerie))
MARK_ROJO.Snippet = Tienda
Next
- Else
- If rojo =1 Or todos = 1 Then
- c3.IsInitialized
- c3=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
- For i = 0 To c3.RowCount -1
- c3.Position = i
- LongitudRU = c3.GetDouble("CAT_CL_LONG")
- LatitudRu = c3.GetDouble("CAT_CL_LAT")
- CODIGO=c3.GetString("CAT_CL_CODIGO")
- Tienda= c3.GetString("CAT_CL_NOMBRE")
- MARK_ROJO = gmap.AddMarker2(LatitudRu, LongitudRU, CODIGO, gmap.HUE_RED)
- MARK_ROJO.Snippet = Tienda
- Next
- If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(MARK_ROJO)
- c3.Close
- End If
+' Else
+' If rojo = 1 Or todos = 1 Then
+' c3.IsInitialized
+' c3=skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")
+' Log($"============== Resultados = ${c3.RowCount}"$)
+' For i = 0 To c3.RowCount -1
+' c3.Position = i
+ '' Log($"|${c3.GetString("CAT_CL_LONG")}|${c3.GetString("CAT_CL_LAT")}|"$)
+' LongitudRU = c3.GetDouble("CAT_CL_LONG")
+' LatitudRu = c3.GetDouble("CAT_CL_LAT")
+' CODIGO=c3.GetString("CAT_CL_CODIGO")
+' Tienda= c3.GetString("CAT_CL_NOMBRE")
+' MARK_ROJO = gmap.AddMarker2(LatitudRu,LongitudRU,Tienda, gmap.HUE_RED)
+' MARK_ROJO.Snippet = Tienda
+' Next
+' If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(MARK_ROJO)
+' c3.Close
+' End If
End If
''------------------------------
@@ -228,6 +359,7 @@ Sub MapFragment1_Ready
OnInfoWindowClickListener1.Initialize("OnInfoWindowClickListener1")
GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap, OnInfoWindowClickListener1)
+
End Sub
'
''''-------------------------- PRUEBA CON MARKER _CLICK
diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml
index fb28aef..c7bf20d 100644
--- a/B4A/Objects/AndroidManifest.xml
+++ b/B4A/Objects/AndroidManifest.xml
@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
package="gunav2.keymon.com.mx"
android:versionCode="1"
- android:versionName="6.02.20"
+ android:versionName="6.03.02"
android:installLocation="internalOnly">
@@ -257,6 +257,14 @@
android:name=".starter$starter_BR"
android:exported="true">
+
+
@@ -273,14 +281,6 @@
android:name=".firebasemessaging$firebasemessaging_BR"
android:exported="true">
-
-
>>> LOGIN LINK2: \" & Starter.nuevoLink)";
-anywheresoftware.b4a.keywords.Common.LogImpl("733816585",">>>> LOGIN LINK2: "+parent.mostCurrent._starter._nuevolink /*String*/ ,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430933001",">>>> LOGIN LINK2: "+parent.mostCurrent._starter._nuevolink /*String*/ ,0);
//BA.debugLineNum = 169;BA.debugLine="If Starter.nuevoLink <> \"\" Then newApp.appLink =";
if (true) break;
@@ -316,11 +316,11 @@ this.state = 13;
//BA.debugLineNum = 170;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)";
_job_newapp._initialize /*String*/ (processBA,"job_newAPP",appupdater.getObject());
//BA.debugLineNum = 171;BA.debugLine="Log(newApp.appLink & \"?dummy=\" & DateTime.Now)";
-anywheresoftware.b4a.keywords.Common.LogImpl("733816588",parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430933004",parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),0);
//BA.debugLineNum = 172;BA.debugLine="job_newAPP.Download(newApp.appLink & \"?dummy=\" &";
_job_newapp._download /*String*/ (parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()));
//BA.debugLineNum = 173;BA.debugLine="Log(\"Vamos a descargar: \" & newApp.appLink & \"?du";
-anywheresoftware.b4a.keywords.Common.LogImpl("733816590","Vamos a descargar: "+parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430933006","Vamos a descargar: "+parent._newapp.appLink /*String*/ +"?dummy="+BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),0);
//BA.debugLineNum = 174;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http";
anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_job_newapp));
this.state = 27;
@@ -376,7 +376,7 @@ anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_job_newap
//BA.debugLineNum = 186;BA.debugLine="outNewAPK.Close";
_outnewapk.Close();
//BA.debugLineNum = 187;BA.debugLine="Log(\"APK dir: \"&SharedFolder)";
-anywheresoftware.b4a.keywords.Common.LogImpl("733816604","APK dir: "+parent._sharedfolder,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430933020","APK dir: "+parent._sharedfolder,0);
if (true) break;
case 20:
@@ -424,7 +424,7 @@ parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (pro
//BA.debugLineNum = 202;BA.debugLine="B4XPages.MainPage.principal.l_forzarActualizacio";
parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._principal /*gunav2.keymon.com.mx.c_principal*/ ._l_forzaractualizacion /*anywheresoftware.b4a.objects.LabelWrapper*/ .setText(BA.ObjectToCharSequence("Hubo un error en la descarga, por favor revise que tenga conexion a internet e intente de nuevo."));
//BA.debugLineNum = 203;BA.debugLine="Log(\"ERROR EN CONEXION\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("733816620","ERROR EN CONEXION",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430933036","ERROR EN CONEXION",0);
//BA.debugLineNum = 204;BA.debugLine="Sleep(5000)";
anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (5000));
this.state = 28;
@@ -486,7 +486,7 @@ _usefileprovider = anywheresoftware.b4a.keywords.Common.False;
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
};
//BA.debugLineNum = 269;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("734209804",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("431326220",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
//BA.debugLineNum = 270;BA.debugLine="End Sub";
return "";
}
@@ -521,7 +521,7 @@ if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.ge
}
catch (Exception e14) {
processBA.setLastException(e14); //BA.debugLineNum = 287;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last";
-anywheresoftware.b4a.keywords.Common.LogImpl("734275342","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("431391758","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
//BA.debugLineNum = 288;BA.debugLine="Return \"\"";
if (true) return (Object)("");
};
@@ -558,7 +558,7 @@ return "";
public static String _service_create() throws Exception{
//BA.debugLineNum = 104;BA.debugLine="Sub Service_Create";
//BA.debugLineNum = 105;BA.debugLine="Log(\"appUpdater(), Service_Create\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("733619969","appUpdater(), Service_Create",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430736385","appUpdater(), Service_Create",0);
//BA.debugLineNum = 106;BA.debugLine="newApp.Initialize";
_newapp.Initialize();
//BA.debugLineNum = 107;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT";
@@ -573,7 +573,7 @@ return "";
public static String _service_destroy() throws Exception{
//BA.debugLineNum = 253;BA.debugLine="Sub Service_Destroy";
//BA.debugLineNum = 254;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("734144257","appUpdater(), Service_Destroy",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("431260673","appUpdater(), Service_Destroy",0);
//BA.debugLineNum = 255;BA.debugLine="End Sub";
return "";
}
@@ -605,11 +605,11 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 113;BA.debugLine="Log(\"appUpdater(), Service_Start\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("733685505","appUpdater(), Service_Start",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430801921","appUpdater(), Service_Start",0);
//BA.debugLineNum = 115;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua";
parent.mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Buscando actualizaciones, un momento por favor.");
//BA.debugLineNum = 116;BA.debugLine="Log(\"Buscando actualización\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("733685508","Buscando actualización",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430801924","Buscando actualización",0);
//BA.debugLineNum = 117;BA.debugLine="fileProvider_init";
_fileprovider_init();
//BA.debugLineNum = 118;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo";
@@ -661,7 +661,7 @@ parent._newapp.okMsg /*String*/ = _app[(int) (2)];
//BA.debugLineNum = 126;BA.debugLine="newApp.version = app(0) 'Version actual";
parent._newapp.version /*String*/ = _app[(int) (0)];
//BA.debugLineNum = 128;BA.debugLine="Log($\"Application.VersionName=${Application.Ver";
-anywheresoftware.b4a.keywords.Common.LogImpl("733685520",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430801936",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0);
//BA.debugLineNum = 131;BA.debugLine="If newApp.version = Application.VersionName Th";
if (true) break;
@@ -678,7 +678,7 @@ this.state = 10;
//BA.debugLineNum = 132;BA.debugLine="newApp.update = False";
parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False;
//BA.debugLineNum = 133;BA.debugLine="Log(\"No new app\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("733685525","No new app",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430801941","No new app",0);
//BA.debugLineNum = 134;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")";
parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable");
if (true) break;
@@ -698,7 +698,7 @@ this.state = 13;
//BA.debugLineNum = 139;BA.debugLine="newApp.update = True";
parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True;
//BA.debugLineNum = 140;BA.debugLine="Log(\"New app true\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("733685532","New app true",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430801948","New app true",0);
//BA.debugLineNum = 141;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")";
parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable");
if (true) break;
@@ -714,7 +714,7 @@ case 15:
this.state = 16;
this.catchState = 0;
//BA.debugLineNum = 146;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE";
-anywheresoftware.b4a.keywords.Common.LogImpl("733685538","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430801954","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0);
if (true) break;
if (true) break;
@@ -729,7 +729,7 @@ case 18:
//C
this.state = 19;
//BA.debugLineNum = 149;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)";
-anywheresoftware.b4a.keywords.Common.LogImpl("733685541","appUpdater(), Job Failed "+parent._lnk,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("430801957","appUpdater(), Job Failed "+parent._lnk,0);
if (true) break;
case 19:
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbitset.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbitset.java
index 3a8f988..951321d 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbitset.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbitset.java
@@ -30,9 +30,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbreadcrumb.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbreadcrumb.java
index 9e5a6af..f578bda 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbreadcrumb.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbreadcrumb.java
@@ -44,9 +44,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbytesbuilder.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbytesbuilder.java
index a16a6db..bb3f0f9 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xbytesbuilder.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xbytesbuilder.java
@@ -30,9 +30,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -177,7 +177,7 @@ byte[] _afterindex = null;
if (_index>=_mlength) {
//BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")";
if (_index>_mlength) {
-__c.LogImpl("962390274","Index too large",0);};
+__c.LogImpl("963700994","Index too large",0);};
//BA.debugLineNum = 46;BA.debugLine="Append(Data)";
_append(_data);
}else {
@@ -219,7 +219,7 @@ public String _set(int _index,byte[] _data) throws Exception{
if (_index>=_mlength) {
//BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")";
if (_index>_mlength) {
-__c.LogImpl("962455810","Index too large",0);};
+__c.LogImpl("963766530","Index too large",0);};
//BA.debugLineNum = 59;BA.debugLine="Append(Data)";
_append(_data);
}else {
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcache.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcache.java
index add2e37..45e101f 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcache.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcache.java
@@ -32,9 +32,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcollections.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcollections.java
index 74577cb..922e152 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcollections.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcollections.java
@@ -15,9 +15,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcolortemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcolortemplate.java
index 8ca5b9e..314ea33 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcolortemplate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcolortemplate.java
@@ -45,9 +45,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcombobox.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcombobox.java
index a6279db..1228a0d 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcombobox.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcombobox.java
@@ -38,9 +38,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcomparatorsort.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcomparatorsort.java
index 7241944..87ffb10 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xcomparatorsort.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xcomparatorsort.java
@@ -28,9 +28,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xdatetemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xdatetemplate.java
index 179f99d..d82a2a0 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xdatetemplate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xdatetemplate.java
@@ -66,9 +66,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xdialog.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xdialog.java
index 8402d5b..925e91c 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xdialog.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xdialog.java
@@ -57,9 +57,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xfloattextfield.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xfloattextfield.java
index 06dc9b3..50684e9 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xfloattextfield.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xfloattextfield.java
@@ -60,9 +60,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -353,7 +353,7 @@ if (_passwordmode && _multiline) {
//BA.debugLineNum = 90;BA.debugLine="Multiline = False";
_multiline = __c.False;
//BA.debugLineNum = 91;BA.debugLine="Log(\"Multiline not supported with password mode.";
-__c.LogImpl("979888408","Multiline not supported with password mode.",0);
+__c.LogImpl("981199128","Multiline not supported with password mode.",0);
};
//BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font";
_createtextfieldall(_passwordmode,_passedlabel.getFont(),_xui.PaintOrColorToColor((Object)(_lbl.getTextColor())));
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xformatter.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xformatter.java
index 727966e..31221d9 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xformatter.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xformatter.java
@@ -32,9 +32,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4ximageview.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4ximageview.java
index 0dfcd1d..3251af6 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4ximageview.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4ximageview.java
@@ -39,9 +39,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -270,7 +270,7 @@ _imageviewheight = (float) (_mbitmap.getHeight());
break; }
default: {
//BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)";
-__c.LogImpl("982247707","Invalid resize mode: "+_mresizemode,0);
+__c.LogImpl("983558427","Invalid resize mode: "+_mresizemode,0);
break; }
}
;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xinputtemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xinputtemplate.java
index b29f183..b40ca5d 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xinputtemplate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xinputtemplate.java
@@ -39,9 +39,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xlisttemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xlisttemplate.java
index bbafa98..0223b0d 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xlisttemplate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xlisttemplate.java
@@ -38,9 +38,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xloadingindicator.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xloadingindicator.java
index 5f4f4e9..7384bc4 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xloadingindicator.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xloadingindicator.java
@@ -38,9 +38,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java
index eab2220..f283a3b 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xlongtexttemplate.java
@@ -32,9 +32,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xmainpage.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xmainpage.java
index 1fc4629..1721623 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xmainpage.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xmainpage.java
@@ -112,9 +112,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -125,75 +125,75 @@ public String _b_aceptar_click() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null;
String _rutades = "";
String _almacendes = "";
- //BA.debugLineNum = 1004;BA.debugLine="Private Sub b_aceptar_Click";
- //BA.debugLineNum = 1005;BA.debugLine="If et_codigo.Text <> \"\" Then";
+ //BA.debugLineNum = 1013;BA.debugLine="Private Sub b_aceptar_Click";
+ //BA.debugLineNum = 1014;BA.debugLine="If et_codigo.Text <> \"\" Then";
if ((_et_codigo.getText()).equals("") == false) {
- //BA.debugLineNum = 1006;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select di";
+ //BA.debugLineNum = 1015;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select di";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)")));
- //BA.debugLineNum = 1007;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 1016;BA.debugLine="c2.Position = 0";
_c2.setPosition((int) (0));
- //BA.debugLineNum = 1008;BA.debugLine="Private rutades As String = c2.GetString(\"CAT_CL";
+ //BA.debugLineNum = 1017;BA.debugLine="Private rutades As String = c2.GetString(\"CAT_CL";
_rutades = _c2.GetString("CAT_CL_RUTA");
- //BA.debugLineNum = 1009;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 1018;BA.debugLine="c2.Close";
_c2.Close();
- //BA.debugLineNum = 1010;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT ID";
+ //BA.debugLineNum = 1019;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT ID";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN")));
- //BA.debugLineNum = 1011;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 1020;BA.debugLine="c2.Position = 0";
_c2.setPosition((int) (0));
- //BA.debugLineNum = 1012;BA.debugLine="Private almacendes As String = c2.GetString(\"ID_";
+ //BA.debugLineNum = 1021;BA.debugLine="Private almacendes As String = c2.GetString(\"ID_";
_almacendes = _c2.GetString("ID_ALMACEN");
- //BA.debugLineNum = 1013;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 1022;BA.debugLine="c2.Close";
_c2.Close();
- //BA.debugLineNum = 1014;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1023;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1015;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1024;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1016;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\"";
+ //BA.debugLineNum = 1025;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\"";
_cmd.Name /*String*/ = "select_geoPass_GUNA";
- //BA.debugLineNum = 1017;BA.debugLine="cmd.Parameters = Array As Object(et_codigo.Text,";
+ //BA.debugLineNum = 1026;BA.debugLine="cmd.Parameters = Array As Object(et_codigo.Text,";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_et_codigo.getText()),(Object)(_almacendes),(Object)(_rutades)};
- //BA.debugLineNum = 1018;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"geopass\")";
+ //BA.debugLineNum = 1027;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"geopass\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("geopass"));
}else if((_et_codigo.getText()).equals("")) {
- //BA.debugLineNum = 1020;BA.debugLine="MsgboxAsync(\"Ingresa un codigo\",\"Atención\")";
+ //BA.debugLineNum = 1029;BA.debugLine="MsgboxAsync(\"Ingresa un codigo\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Ingresa un codigo"),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 1021;BA.debugLine="p_validacion.Visible = False";
+ //BA.debugLineNum = 1030;BA.debugLine="p_validacion.Visible = False";
_p_validacion.setVisible(__c.False);
- //BA.debugLineNum = 1022;BA.debugLine="B4XSwitch2.Value = False";
+ //BA.debugLineNum = 1031;BA.debugLine="B4XSwitch2.Value = False";
_b4xswitch2._setvalue /*boolean*/ (__c.False);
- //BA.debugLineNum = 1023;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO =";
+ //BA.debugLineNum = 1032;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO =";
_skmt.ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
- //BA.debugLineNum = 1024;BA.debugLine="et_codigo.Text = \"\"";
+ //BA.debugLineNum = 1033;BA.debugLine="et_codigo.Text = \"\"";
_et_codigo.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 1052;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1061;BA.debugLine="End Sub";
return "";
}
public String _b_actualizacion_click() throws Exception{
- //BA.debugLineNum = 1137;BA.debugLine="Private Sub b_actualizacion_Click";
- //BA.debugLineNum = 1138;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")";
+ //BA.debugLineNum = 1146;BA.debugLine="Private Sub b_actualizacion_Click";
+ //BA.debugLineNum = 1147;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")";
__c.CallSubDelayed(ba,(Object)(_appupdater.getObject()),"download_newApk");
- //BA.debugLineNum = 1139;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1148;BA.debugLine="End Sub";
return "";
}
public String _b_apk_click() throws Exception{
- //BA.debugLineNum = 880;BA.debugLine="Sub b_apk_Click";
- //BA.debugLineNum = 881;BA.debugLine="StartService(appUpdater)";
+ //BA.debugLineNum = 889;BA.debugLine="Sub b_apk_Click";
+ //BA.debugLineNum = 890;BA.debugLine="StartService(appUpdater)";
__c.StartService(ba,(Object)(_appupdater.getObject()));
- //BA.debugLineNum = 882;BA.debugLine="End Sub";
+ //BA.debugLineNum = 891;BA.debugLine="End Sub";
return "";
}
public String _b_cancelarcodigo_click() throws Exception{
- //BA.debugLineNum = 998;BA.debugLine="Private Sub b_cancelarcodigo_Click";
- //BA.debugLineNum = 999;BA.debugLine="p_validacion.Visible = False";
+ //BA.debugLineNum = 1007;BA.debugLine="Private Sub b_cancelarcodigo_Click";
+ //BA.debugLineNum = 1008;BA.debugLine="p_validacion.Visible = False";
_p_validacion.setVisible(__c.False);
- //BA.debugLineNum = 1000;BA.debugLine="et_codigo.Text = \"\"";
+ //BA.debugLineNum = 1009;BA.debugLine="et_codigo.Text = \"\"";
_et_codigo.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 1001;BA.debugLine="B4XSwitch2.Value = False";
+ //BA.debugLineNum = 1010;BA.debugLine="B4XSwitch2.Value = False";
_b4xswitch2._setvalue /*boolean*/ (__c.False);
- //BA.debugLineNum = 1002;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1011;BA.debugLine="End Sub";
return "";
}
public void _b_enviobd_click() throws Exception{
@@ -220,11 +220,11 @@ return;
case 0:
//C
this.state = -1;
- //BA.debugLineNum = 946;BA.debugLine="Dim FileName As String = \"kmt.db\"";
+ //BA.debugLineNum = 955;BA.debugLine="Dim FileName As String = \"kmt.db\"";
_filename = "kmt.db";
- //BA.debugLineNum = 948;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)";
-parent.__c.LogImpl("72818053","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
- //BA.debugLineNum = 949;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 957;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)";
+parent.__c.LogImpl("42818053","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0);
+ //BA.debugLineNum = 958;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 1;
return;
@@ -232,24 +232,24 @@ case 1:
//C
this.state = -1;
;
- //BA.debugLineNum = 950;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh";
+ //BA.debugLineNum = 959;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh";
parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,parent._provider._sharedfolder /*String*/ ,_filename);
- //BA.debugLineNum = 951;BA.debugLine="Dim email As Email";
+ //BA.debugLineNum = 960;BA.debugLine="Dim email As Email";
_email = new anywheresoftware.b4a.phone.Phone.Email();
- //BA.debugLineNum = 952;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")";
+ //BA.debugLineNum = 961;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")";
_email.To.Add((Object)("cheveguerra@gmail.com"));
- //BA.debugLineNum = 953;BA.debugLine="email.Subject = \"subject\"";
+ //BA.debugLineNum = 962;BA.debugLine="email.Subject = \"subject\"";
_email.Subject = "subject";
- //BA.debugLineNum = 954;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam";
+ //BA.debugLineNum = 963;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam";
_email.Attachments.Add(parent._provider._getfileuri /*Object*/ (_filename));
- //BA.debugLineNum = 956;BA.debugLine="Dim in As Intent = email.GetIntent";
+ //BA.debugLineNum = 965;BA.debugLine="Dim in As Intent = email.GetIntent";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent()));
- //BA.debugLineNum = 957;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION";
+ //BA.debugLineNum = 966;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION";
_in.setFlags((int) (1));
- //BA.debugLineNum = 958;BA.debugLine="StartActivity(in)";
+ //BA.debugLineNum = 967;BA.debugLine="StartActivity(in)";
parent.__c.StartActivity(ba,(Object)(_in.getObject()));
- //BA.debugLineNum = 959;BA.debugLine="End Sub";
+ //BA.debugLineNum = 968;BA.debugLine="End Sub";
if (true) break;
}
@@ -257,25 +257,25 @@ if (true) break;
}
}
public String _b_menu_click() throws Exception{
- //BA.debugLineNum = 817;BA.debugLine="Sub b_menu_Click";
- //BA.debugLineNum = 818;BA.debugLine="PopupMenu.Show";
+ //BA.debugLineNum = 826;BA.debugLine="Sub b_menu_Click";
+ //BA.debugLineNum = 827;BA.debugLine="PopupMenu.Show";
_popupmenu.Show();
- //BA.debugLineNum = 819;BA.debugLine="End Sub";
+ //BA.debugLineNum = 828;BA.debugLine="End Sub";
return "";
}
public String _b_regesar_click() throws Exception{
- //BA.debugLineNum = 919;BA.debugLine="Sub b_regesar_Click";
- //BA.debugLineNum = 921;BA.debugLine="p_appUpdate.Visible = False";
+ //BA.debugLineNum = 928;BA.debugLine="Sub b_regesar_Click";
+ //BA.debugLineNum = 930;BA.debugLine="p_appUpdate.Visible = False";
_p_appupdate.setVisible(__c.False);
- //BA.debugLineNum = 922;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe";
+ //BA.debugLineNum = 931;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe";
_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer")}));
- //BA.debugLineNum = 923;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT";
+ //BA.debugLineNum = 932;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT";
_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer"),(Object)(_et_server.getText())}));
- //BA.debugLineNum = 924;BA.debugLine="Starter.server = et_server.Text";
+ //BA.debugLineNum = 933;BA.debugLine="Starter.server = et_server.Text";
_starter._server /*String*/ = _et_server.getText();
- //BA.debugLineNum = 925;BA.debugLine="Starter.reqManager.Initialize(Me, et_server.Text)";
+ //BA.debugLineNum = 934;BA.debugLine="Starter.reqManager.Initialize(Me, et_server.Text)";
_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,this,_et_server.getText());
- //BA.debugLineNum = 926;BA.debugLine="End Sub";
+ //BA.debugLineNum = 935;BA.debugLine="End Sub";
return "";
}
public void _b4xpage_appear() throws Exception{
@@ -305,9 +305,9 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 343;BA.debugLine="cb_importarBDWA.Checked = Subs.traeUsarIntentBDWA";
+ //BA.debugLineNum = 352;BA.debugLine="cb_importarBDWA.Checked = Subs.traeUsarIntentBDWA";
parent._cb_importarbdwa.setChecked(parent._subs._traeusarintentbdwa /*boolean*/ (ba));
- //BA.debugLineNum = 344;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then";
+ //BA.debugLineNum = 353;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then";
if (true) break;
case 1:
@@ -322,14 +322,14 @@ this.state = 5;
case 3:
//C
this.state = 6;
- //BA.debugLineNum = 345;BA.debugLine="p_importarBDWA.Visible = True";
+ //BA.debugLineNum = 354;BA.debugLine="p_importarBDWA.Visible = True";
parent._p_importarbdwa.setVisible(parent.__c.True);
if (true) break;
case 5:
//C
this.state = 6;
- //BA.debugLineNum = 347;BA.debugLine="p_importarBDWA.Visible = False";
+ //BA.debugLineNum = 356;BA.debugLine="p_importarBDWA.Visible = False";
parent._p_importarbdwa.setVisible(parent.__c.False);
if (true) break;
@@ -337,9 +337,9 @@ case 6:
//C
this.state = 7;
;
- //BA.debugLineNum = 349;BA.debugLine="reqManager.Initialize(Me, Starter.server)";
+ //BA.debugLineNum = 358;BA.debugLine="reqManager.Initialize(Me, Starter.server)";
parent._reqmanager._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ );
- //BA.debugLineNum = 350;BA.debugLine="If Starter.muestraProgreso = 1 Then";
+ //BA.debugLineNum = 359;BA.debugLine="If Starter.muestraProgreso = 1 Then";
if (true) break;
case 7:
@@ -352,9 +352,9 @@ this.state = 9;
case 9:
//C
this.state = 10;
- //BA.debugLineNum = 351;BA.debugLine="muestraProgreso(\"Descargando nueva versión, un m";
+ //BA.debugLineNum = 360;BA.debugLine="muestraProgreso(\"Descargando nueva versión, un m";
parent._muestraprogreso("Descargando nueva versión, un momento por favor.");
- //BA.debugLineNum = 352;BA.debugLine="Starter.muestraProgreso = 0";
+ //BA.debugLineNum = 361;BA.debugLine="Starter.muestraProgreso = 0";
parent._starter._muestraprogreso /*String*/ = BA.NumberToString(0);
if (true) break;
@@ -362,15 +362,15 @@ case 10:
//C
this.state = 11;
;
- //BA.debugLineNum = 354;BA.debugLine="Dim ph As Phone 'Get Id Device";
+ //BA.debugLineNum = 363;BA.debugLine="Dim ph As Phone 'Get Id Device";
_ph = new anywheresoftware.b4a.phone.Phone();
- //BA.debugLineNum = 355;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_";
+ //BA.debugLineNum = 364;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_";
_deviceid = _ph.GetSettings("android_id").toUpperCase();
- //BA.debugLineNum = 357;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr";
-parent.__c.LogImpl("71572887","Revisa permisos Phone_State",parent.__c.Colors.Green);
- //BA.debugLineNum = 358;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
+ //BA.debugLineNum = 366;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr";
+parent.__c.LogImpl("41572887","Revisa permisos Phone_State",parent.__c.Colors.Green);
+ //BA.debugLineNum = 367;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_READ_PHONE_STATE);
- //BA.debugLineNum = 359;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
+ //BA.debugLineNum = 368;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null);
this.state = 63;
return;
@@ -380,7 +380,7 @@ this.state = 11;
_permission = (String) result[0];
_result = (Boolean) result[1];
;
- //BA.debugLineNum = 360;BA.debugLine="If Result Then";
+ //BA.debugLineNum = 369;BA.debugLine="If Result Then";
if (true) break;
case 11:
@@ -393,11 +393,11 @@ this.state = 13;
case 13:
//C
this.state = 14;
- //BA.debugLineNum = 361;BA.debugLine="IMEN.Text =\"\"";
+ //BA.debugLineNum = 370;BA.debugLine="IMEN.Text =\"\"";
parent._imen.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 362;BA.debugLine="IMEI = \"\"";
+ //BA.debugLineNum = 371;BA.debugLine="IMEI = \"\"";
parent._imei = "";
- //BA.debugLineNum = 364;BA.debugLine="IMEI=\"\" 'Pruebas";
+ //BA.debugLineNum = 373;BA.debugLine="IMEI=\"\" 'Pruebas";
parent._imei = "";
if (true) break;
@@ -405,9 +405,9 @@ case 14:
//C
this.state = 15;
;
- //BA.debugLineNum = 366;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
+ //BA.debugLineNum = 375;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION);
- //BA.debugLineNum = 367;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
+ //BA.debugLineNum = 376;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null);
this.state = 64;
return;
@@ -417,7 +417,7 @@ this.state = 15;
_permission = (String) result[0];
_result = (Boolean) result[1];
;
- //BA.debugLineNum = 368;BA.debugLine="If Result Then";
+ //BA.debugLineNum = 377;BA.debugLine="If Result Then";
if (true) break;
case 15:
@@ -432,16 +432,16 @@ this.state = 19;
case 17:
//C
this.state = 20;
- //BA.debugLineNum = 369;BA.debugLine="StartService(Tracker)";
+ //BA.debugLineNum = 378;BA.debugLine="StartService(Tracker)";
parent.__c.StartService(ba,(Object)(parent._tracker.getObject()));
- //BA.debugLineNum = 370;BA.debugLine="Log(\"Start Tracker\")";
-parent.__c.LogImpl("71572900","Start Tracker",0);
+ //BA.debugLineNum = 379;BA.debugLine="Log(\"Start Tracker\")";
+parent.__c.LogImpl("41572900","Start Tracker",0);
if (true) break;
case 19:
//C
this.state = 20;
- //BA.debugLineNum = 372;BA.debugLine="ToastMessageShow(\"Sin permisos de ubicacion\", Tr";
+ //BA.debugLineNum = 381;BA.debugLine="ToastMessageShow(\"Sin permisos de ubicacion\", Tr";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de ubicacion"),parent.__c.True);
if (true) break;
@@ -449,11 +449,11 @@ case 20:
//C
this.state = 21;
;
- //BA.debugLineNum = 374;BA.debugLine="server = Starter.server";
+ //BA.debugLineNum = 383;BA.debugLine="server = Starter.server";
parent._server = parent._starter._server /*String*/ ;
- //BA.debugLineNum = 375;BA.debugLine="tgl.Initialize()";
+ //BA.debugLineNum = 384;BA.debugLine="tgl.Initialize()";
parent._tgl.Initialize(ba);
- //BA.debugLineNum = 376;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";
+ //BA.debugLineNum = 385;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";
if (true) break;
case 21:
@@ -466,9 +466,9 @@ this.state = 23;
case 23:
//C
this.state = 24;
- //BA.debugLineNum = 377;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence";
+ //BA.debugLineNum = 386;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),parent.__c.True);
- //BA.debugLineNum = 378;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 387;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
this.state = 65;
return;
@@ -476,7 +476,7 @@ case 65:
//C
this.state = 24;
;
- //BA.debugLineNum = 379;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent";
+ //BA.debugLineNum = 388;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent";
parent.__c.StartActivity(ba,(Object)(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent()));
if (true) break;
@@ -484,11 +484,11 @@ case 24:
//C
this.state = 25;
;
- //BA.debugLineNum = 381;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro";
+ //BA.debugLineNum = 390;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"})));
- //BA.debugLineNum = 382;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 391;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 383;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
+ //BA.debugLineNum = 392;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
if (true) break;
case 25:
@@ -503,37 +503,37 @@ this.state = 29;
case 27:
//C
this.state = 34;
- //BA.debugLineNum = 384;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\"";
-parent.__c.LogImpl("71572914",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Red);
- //BA.debugLineNum = 385;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 393;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\"";
+parent.__c.LogImpl("41572914",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Red);
+ //BA.debugLineNum = 394;BA.debugLine="cmd.Initialize";
parent._cmd.Initialize();
- //BA.debugLineNum = 386;BA.debugLine="cmd.Name = \"select_fecha\"";
+ //BA.debugLineNum = 395;BA.debugLine="cmd.Name = \"select_fecha\"";
parent._cmd.Name /*String*/ = "select_fecha";
- //BA.debugLineNum = 387;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")";
+ //BA.debugLineNum = 396;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")";
parent._reqmanager._executequery /*String*/ (parent._cmd,(int) (0),(Object)("fecha"));
- //BA.debugLineNum = 388;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore";
+ //BA.debugLineNum = 397;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore";
parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR FECHA"),BA.ObjectToCharSequence("AVISO"),ba);
- //BA.debugLineNum = 389;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 398;BA.debugLine="B4XPage_Appear";
parent._b4xpage_appear();
if (true) break;
case 29:
//C
this.state = 30;
- //BA.debugLineNum = 391;BA.debugLine="LogColor($\"Si hay fecha: ${c.GetString(\"CUANTOS\"";
-parent.__c.LogImpl("71572921",("Si hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Green);
- //BA.debugLineNum = 392;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_";
+ //BA.debugLineNum = 400;BA.debugLine="LogColor($\"Si hay fecha: ${c.GetString(\"CUANTOS\"";
+parent.__c.LogImpl("41572921",("Si hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Green);
+ //BA.debugLineNum = 401;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"})));
- //BA.debugLineNum = 393;BA.debugLine="c.Position =0";
+ //BA.debugLineNum = 402;BA.debugLine="c.Position =0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 394;BA.debugLine="Dim sDate, sTime As String";
+ //BA.debugLineNum = 403;BA.debugLine="Dim sDate, sTime As String";
_sdate = "";
_stime = "";
- //BA.debugLineNum = 395;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
+ //BA.debugLineNum = 404;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
parent.__c.DateTime.setDateFormat("yyyyMMdd");
- //BA.debugLineNum = 396;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 405;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 401;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then";
+ //BA.debugLineNum = 410;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then";
if (true) break;
case 30:
@@ -546,9 +546,9 @@ this.state = 32;
case 32:
//C
this.state = 33;
- //BA.debugLineNum = 402;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS";
+ //BA.debugLineNum = 411;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS";
parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA"),BA.ObjectToCharSequence("AVISO"),ba);
- //BA.debugLineNum = 403;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 412;BA.debugLine="B4XPage_Appear";
parent._b4xpage_appear();
if (true) break;
@@ -562,17 +562,17 @@ case 34:
//C
this.state = 35;
;
- //BA.debugLineNum = 406;BA.debugLine="bu.Initialize";
+ //BA.debugLineNum = 415;BA.debugLine="bu.Initialize";
parent._bu._initialize /*String*/ (ba);
- //BA.debugLineNum = 407;BA.debugLine="batterystatus = bu.BatteryInformation";
+ //BA.debugLineNum = 416;BA.debugLine="batterystatus = bu.BatteryInformation";
parent._batterystatus = parent._bu._getbatteryinformation /*int[]*/ ();
- //BA.debugLineNum = 409;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop";
+ //BA.debugLineNum = 418;BA.debugLine="CallSubDelayed(FirebaseMessaging, \"SubscribeToTop";
parent.__c.CallSubDelayed(ba,(Object)(parent._firebasemessaging.getObject()),"SubscribeToTopics");
- //BA.debugLineNum = 410;BA.debugLine="dameUsuario";
+ //BA.debugLineNum = 419;BA.debugLine="dameUsuario";
parent._dameusuario();
- //BA.debugLineNum = 411;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES";
+ //BA.debugLineNum = 420;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT HABILITADA FROM IMPRESORA")));
- //BA.debugLineNum = 412;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 421;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 35:
@@ -587,9 +587,9 @@ this.state = 45;
case 37:
//C
this.state = 38;
- //BA.debugLineNum = 413;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 422;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 414;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then";
+ //BA.debugLineNum = 423;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then";
if (true) break;
case 38:
@@ -604,14 +604,14 @@ this.state = 42;
case 40:
//C
this.state = 43;
- //BA.debugLineNum = 415;BA.debugLine="B4XSwitch1.Value = True";
+ //BA.debugLineNum = 424;BA.debugLine="B4XSwitch1.Value = True";
parent._b4xswitch1._setvalue /*boolean*/ (parent.__c.True);
if (true) break;
case 42:
//C
this.state = 43;
- //BA.debugLineNum = 417;BA.debugLine="B4XSwitch1.Value = False";
+ //BA.debugLineNum = 426;BA.debugLine="B4XSwitch1.Value = False";
parent._b4xswitch1._setvalue /*boolean*/ (parent.__c.False);
if (true) break;
@@ -624,7 +624,7 @@ this.state = 46;
case 45:
//C
this.state = 46;
- //BA.debugLineNum = 420;BA.debugLine="B4XSwitch1.Value = False";
+ //BA.debugLineNum = 429;BA.debugLine="B4XSwitch1.Value = False";
parent._b4xswitch1._setvalue /*boolean*/ (parent.__c.False);
if (true) break;
@@ -632,9 +632,9 @@ case 46:
//C
this.state = 47;
;
- //BA.debugLineNum = 422;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")";
+ //BA.debugLineNum = 431;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT HABILITADO FROM GPS")));
- //BA.debugLineNum = 423;BA.debugLine="If c.RowCount = 0 Then";
+ //BA.debugLineNum = 432;BA.debugLine="If c.RowCount = 0 Then";
if (true) break;
case 47:
@@ -647,7 +647,7 @@ this.state = 49;
case 49:
//C
this.state = 50;
- //BA.debugLineNum = 424;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\",";
+ //BA.debugLineNum = 433;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\",";
parent._skmt.ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
if (true) break;
@@ -655,9 +655,9 @@ case 50:
//C
this.state = 51;
;
- //BA.debugLineNum = 426;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")";
+ //BA.debugLineNum = 435;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT HABILITADO FROM GPS")));
- //BA.debugLineNum = 427;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 436;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 51:
@@ -672,9 +672,9 @@ this.state = 61;
case 53:
//C
this.state = 54;
- //BA.debugLineNum = 428;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 437;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 429;BA.debugLine="If c.GetString(\"HABILITADO\") = 1 Then";
+ //BA.debugLineNum = 438;BA.debugLine="If c.GetString(\"HABILITADO\") = 1 Then";
if (true) break;
case 54:
@@ -689,14 +689,14 @@ this.state = 58;
case 56:
//C
this.state = 59;
- //BA.debugLineNum = 430;BA.debugLine="B4XSwitch2.Value = True";
+ //BA.debugLineNum = 439;BA.debugLine="B4XSwitch2.Value = True";
parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.True);
if (true) break;
case 58:
//C
this.state = 59;
- //BA.debugLineNum = 432;BA.debugLine="B4XSwitch2.Value = False";
+ //BA.debugLineNum = 441;BA.debugLine="B4XSwitch2.Value = False";
parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.False);
if (true) break;
@@ -709,7 +709,7 @@ this.state = 62;
case 61:
//C
this.state = 62;
- //BA.debugLineNum = 435;BA.debugLine="B4XSwitch2.Value = False";
+ //BA.debugLineNum = 444;BA.debugLine="B4XSwitch2.Value = False";
parent._b4xswitch2._setvalue /*boolean*/ (parent.__c.False);
if (true) break;
@@ -717,9 +717,9 @@ case 62:
//C
this.state = -1;
;
- //BA.debugLineNum = 437;BA.debugLine="Subs.guardaAppInfo";
+ //BA.debugLineNum = 446;BA.debugLine="Subs.guardaAppInfo";
parent._subs._guardaappinfo /*String*/ (ba);
- //BA.debugLineNum = 446;BA.debugLine="End Sub";
+ //BA.debugLineNum = 455;BA.debugLine="End Sub";
if (true) break;
}
@@ -750,9 +750,9 @@ parent.__c.ReturnFromResumableSub(this,null);return;}
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 788;BA.debugLine="Log(\"closreq\")";
-parent.__c.LogImpl("71900545","closreq",0);
- //BA.debugLineNum = 789;BA.debugLine="Sleep(0)";
+ //BA.debugLineNum = 797;BA.debugLine="Log(\"closreq\")";
+parent.__c.LogImpl("41900545","closreq",0);
+ //BA.debugLineNum = 798;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,this,(int) (0));
this.state = 8;
return;
@@ -760,7 +760,7 @@ case 8:
//C
this.state = 1;
;
- //BA.debugLineNum = 790;BA.debugLine="If p_appUpdate.IsInitialized And p_appUpdate.Visi";
+ //BA.debugLineNum = 799;BA.debugLine="If p_appUpdate.IsInitialized And p_appUpdate.Visi";
if (true) break;
case 1:
@@ -773,14 +773,14 @@ this.state = 3;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 791;BA.debugLine="p_appUpdate.Visible = False";
+ //BA.debugLineNum = 800;BA.debugLine="p_appUpdate.Visible = False";
parent._p_appupdate.setVisible(parent.__c.False);
- //BA.debugLineNum = 792;BA.debugLine="Return False";
+ //BA.debugLineNum = 801;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
if (true) break;
;
- //BA.debugLineNum = 794;BA.debugLine="If Not(p_appUpdate.Visible) Then";
+ //BA.debugLineNum = 803;BA.debugLine="If Not(p_appUpdate.Visible) Then";
case 4:
//if
@@ -792,9 +792,9 @@ this.state = 6;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 795;BA.debugLine="Log(\"ExitApplication\")";
-parent.__c.LogImpl("71900552","ExitApplication",0);
- //BA.debugLineNum = 796;BA.debugLine="ExitApplication";
+ //BA.debugLineNum = 804;BA.debugLine="Log(\"ExitApplication\")";
+parent.__c.LogImpl("41900552","ExitApplication",0);
+ //BA.debugLineNum = 805;BA.debugLine="ExitApplication";
parent.__c.ExitApplication();
if (true) break;
@@ -802,10 +802,10 @@ case 7:
//C
this.state = -1;
;
- //BA.debugLineNum = 798;BA.debugLine="Return True";
+ //BA.debugLineNum = 807;BA.debugLine="Return True";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;};
- //BA.debugLineNum = 799;BA.debugLine="End Sub";
+ //BA.debugLineNum = 808;BA.debugLine="End Sub";
if (true) break;
}
@@ -815,7 +815,7 @@ if (true) break;
public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{
//BA.debugLineNum = 108;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
//BA.debugLineNum = 109;BA.debugLine="Log(\"##### CREAMOS MAINPAGE LOGIN\")";
-__c.LogImpl("71507329","##### CREAMOS MAINPAGE LOGIN",0);
+__c.LogImpl("41507329","##### CREAMOS MAINPAGE LOGIN",0);
//BA.debugLineNum = 110;BA.debugLine="B4XPages.GetManager.LogEvents = True";
_b4xpages._getmanager /*gunav2.keymon.com.mx.b4xpagesmanager*/ (ba)._logevents /*boolean*/ = __c.True;
//BA.debugLineNum = 111;BA.debugLine="Root = Root1";
@@ -917,342 +917,354 @@ _skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS FOTOS (CLIENTE TEXT, FOTO BLOB, M
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PLAN_LEALTAD (PL_CLIENTE TEXT, PL_BANDERA TEXT)");
//BA.debugLineNum = 172;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT, FECHA TEXT)");
- //BA.debugLineNum = 175;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COM";
+ //BA.debugLineNum = 173;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSPTOD(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT, FECHA TEXT)");
+ //BA.debugLineNum = 176;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COM";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS COMENTARIOS (COMENTARTIO TEXT, CLIENTE TEXT, DESCARGADO TEXT)");
- //BA.debugLineNum = 177;BA.debugLine="Subs.agregaColumna(\"PLAN_LEALTAD\", \"DESCARGADO\",";
+ //BA.debugLineNum = 178;BA.debugLine="Subs.agregaColumna(\"PLAN_LEALTAD\", \"DESCARGADO\",";
_subs._agregacolumna /*String*/ (ba,"PLAN_LEALTAD","DESCARGADO","TEXT");
- //BA.debugLineNum = 178;BA.debugLine="Subs.agregaColumna(\"PEDIDO_CLIENTE\", \"PC_FACTURA\"";
+ //BA.debugLineNum = 179;BA.debugLine="Subs.agregaColumna(\"PEDIDO_CLIENTE\", \"PC_FACTURA\"";
_subs._agregacolumna /*String*/ (ba,"PEDIDO_CLIENTE","PC_FACTURA","INTEGER");
- //BA.debugLineNum = 179;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS GPS";
+ //BA.debugLineNum = 180;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS GPS";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS GPS (HABILITADO)");
- //BA.debugLineNum = 181;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
+ //BA.debugLineNum = 182;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_OBJETIVO_BAT (COB_VOLUMEN TEXT, COB_MARCAE TEXT, COB_PORTAFOLIO TEXT, COB_OBJPP TEXT, COB_GEV TEXT )");
- //BA.debugLineNum = 183;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
+ //BA.debugLineNum = 184;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_CATCLIENTESTODOS (CAT_CL_TIPO_RUTA TEXT, CAT_CL_DIAS_VISITA TEXT, CAT_CL_CODIGO TEXT, CAT_CL_FOTO TEXT, CAT_CL_CLASIFICADOR3 TEXT, CAT_CL_CLASIFICADOR4 TEXT, CAT_CL_CLASIFICADOR2 TEXT, CAT_CL_RUTA TEXT, CAT_CL_NOMBRE TEXT, CAT_CL_ATIENDE1 TEXT, CAT_CL_ATIENTE2 TEXT, CAT_CL_TELEFONO TEXT, CAT_CL_EMAIL TEXT, CAT_CL_CALLE TEXT, CAT_CL_NOEXT TEXT, CAT_CL_NOINT TEXT, CAT_CL_CALLE1 TEXT, CAT_CL_CALLE2 TEXT, CAT_CL_COLONIA TEXT, CAT_CL_MUNI TEXT, CAT_CL_EDO TEXT, CAT_CL_CP TEXT, CAT_CL_LONG TEXT, CAT_CL_LAT TEXT, CAT_CL_MTOCOMPRA TEXT, CAT_CL_NUM_SERIEFISICO TEXT, CAT_CL_BCREDITO TEXT, CAT_CL_DIASCREDITO TEXT, CAT_CL_TIPOCLIENTE TEXT, CAT_CL_LIMITECREDITO TEXT)");
- //BA.debugLineNum = 185;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS his";
+ //BA.debugLineNum = 186;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS his";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS hist_ventastodos (HVD_CLIENTE TEX, HVD_PRONOMBRE TEXT, HVD_CANT TEXT, HVD_COSTO_TOT TEXT, HVD_FECHA TEXT)");
- //BA.debugLineNum = 187;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
+ //BA.debugLineNum = 188;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)");
- //BA.debugLineNum = 188;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI";
+ //BA.debugLineNum = 189;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)");
- //BA.debugLineNum = 189;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
+ //BA.debugLineNum = 190;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_PROMOS_DESCUENTOS (CAT_PD_ALMACEN TEXT, CAT_PD_COD_PROMO TEXT, CAT_PD_RANGO INT, CAT_PD_VIGENCIA TEXT, CAT_PD_DESCUENTO TEXT, CAT_PD_PRODUCTO TEXT, CAT_PD_TIER TEXT)");
- //BA.debugLineNum = 190;BA.debugLine="Subs.agregaColumna(\"CAT_PROMOS_DESCUENTOS\", \"CAT_";
+ //BA.debugLineNum = 191;BA.debugLine="Subs.agregaColumna(\"CAT_PROMOS_DESCUENTOS\", \"CAT_";
_subs._agregacolumna /*String*/ (ba,"CAT_PROMOS_DESCUENTOS","CAT_PD_RANGO2","INT");
- //BA.debugLineNum = 191;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
+ //BA.debugLineNum = 192;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_CODPROMO TEXT, CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUM, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG )");
- //BA.debugLineNum = 192;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PRO";
+ //BA.debugLineNum = 193;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PRO";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PROMO_ESP (HVD_CLIENTE)");
- //BA.debugLineNum = 193;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
+ //BA.debugLineNum = 194;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_PROMO_ESP(CAT_PE_ID TEXT,CAT_PE_IDPROMO TEXT,CAT_PE_MONTO TEXT)");
- //BA.debugLineNum = 194;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)");
//BA.debugLineNum = 195;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)");
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)");
//BA.debugLineNum = 196;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)");
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)");
//BA.debugLineNum = 197;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)");
+ //BA.debugLineNum = 198;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)");
- //BA.debugLineNum = 198;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV";
+ //BA.debugLineNum = 199;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)");
- //BA.debugLineNum = 199;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)");
//BA.debugLineNum = 200;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_COMISIONES_MOVIL (HCM_IDALMACEN TEXT, HCM_RUTA TEXT, HCM_TOTAL_V TEXT, HCM_TOTAL_VIVE TEXT, HCM_TOTAL_GUNA TEXT, HCM_TOTAL_BEB TEXT)");
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)");
//BA.debugLineNum = 201;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)");
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_COMISIONES_MOVIL (HCM_IDALMACEN TEXT, HCM_RUTA TEXT, HCM_TOTAL_V TEXT, HCM_TOTAL_VIVE TEXT, HCM_TOTAL_GUNA TEXT, HCM_TOTAL_BEB TEXT)");
//BA.debugLineNum = 202;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)");
+ //BA.debugLineNum = 203;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)");
- //BA.debugLineNum = 203;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT";
+ //BA.debugLineNum = 204;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)");
- //BA.debugLineNum = 204;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA";
+ //BA.debugLineNum = 205;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA";
_skmt.ExecNonQuery("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID");
- //BA.debugLineNum = 205;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota";
+ //BA.debugLineNum = 206;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota";
_skmt.ExecNonQuery("CREATE VIEW IF NOT EXISTS total_marcas AS Select cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif");
- //BA.debugLineNum = 206;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)");
//BA.debugLineNum = 207;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)");
+ //BA.debugLineNum = 208;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)");
- //BA.debugLineNum = 208;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO1(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)");
//BA.debugLineNum = 209;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO1(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)");
+ //BA.debugLineNum = 210;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO2 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT)");
- //BA.debugLineNum = 210;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
+ //BA.debugLineNum = 211;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_ENCUESTA_PREGUNTA (CAT_EP_ID TEXT,CAT_EP_IDTIPOPREGUNTA TEXT,CAT_CE_DESCRIPCION TEXT,CAT_EP_PREGUNTA TEXT,CAT_EP_RES1_PRED TEXT,CAT_EP_RES2_PRED TEXT,CAT_EP_RES3_PRED TEXT,CAT_EP_ORDEN_PREGUNTA TEXT)");
- //BA.debugLineNum = 211;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO3(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT, P10 TEXT, P11 TEXT)");
//BA.debugLineNum = 212;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO4 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT)");
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO3(CLIENTE TEXT,ALMACEN TEXT, P1 TEXT, P2 TEXT, P3 TEXT, P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT, P10 TEXT, P11 TEXT)");
//BA.debugLineNum = 213;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO4 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT)");
+ //BA.debugLineNum = 214;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTA_MODULO5 (CLIENTE TEXT, ALMACEN TEXT,P1 TEXT, P2 TEXT, P3 TEXT , P4 TEXT, P5 TEXT, P6 TEXT, P7 TEXT, P8 TEXT, P9 TEXT)");
- //BA.debugLineNum = 214;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA2(HE_CLIENTE TEXT)");
//BA.debugLineNum = 215;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_CLIENTE (HEC_CLIENTE TEXT, HEC_MODULO TEXT)");
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA2(HE_CLIENTE TEXT)");
//BA.debugLineNum = 216;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
-_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_AVISO_GIRO (HEAV_CLIENTE TEXT, HEAV_MODULO TEXT, HEAV_AVISO TEXT, HEAV_GIRO TEXT)");
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_CLIENTE (HEC_CLIENTE TEXT, HEC_MODULO TEXT)");
//BA.debugLineNum = 217;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_AVISO_GIRO (HEAV_CLIENTE TEXT, HEAV_MODULO TEXT, HEAV_AVISO TEXT, HEAV_GIRO TEXT)");
+ //BA.debugLineNum = 218;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA (HE_CLIE TEXT, HE_RES TEXT, HE_FECHA TEXT, HE_TIPO TEXT, HE_LAT TEXT, HE_LON TEXT)");
- //BA.debugLineNum = 218;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS kmt";
+ //BA.debugLineNum = 219;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS kmt";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS kmt_info3(CAT_CL_FOTO BLOB, CAT_CL_NUM_SERIEFISICO TEXT, CAT_CL_MTOCOMPRA TEXT, CAT_CL_CEDIS TEXT, CAT_CL_LAT TEXT, CAT_CL_LONG TEXT, CAT_CL_FBAJA TEXT, CAT_CL_FALTA TEXT, CAT_CL_CP TEXT, CAT_CL_EDO TEXT, CAT_CL_MUNI TEXT, CAT_CL_COLONIA TEXT, CAT_CL_CALLE2 TEXT, CAT_CL_CALLE1 TEXT, CAT_CL_NOINT TEXT, CAT_CL_NOEXT TEXT, CAT_CL_CALLE TEXT, CAT_CL_EMAIL TEXT, CAT_CL_TELEFONO TEXT, CAT_CL_ATIENTE2 TEXT, CAT_CL_ATIENDE1 TEXT, CAT_CL_NOMBRE TEXT, CAT_CL_GIRO TEXT, CAT_CL_DIAS_VISITA TEXT, CAT_CL_TIPO_RUTA TEXT, CAT_CL_RUTA TEXT, CAT_CL_CODIGO TEXT, gestion NUMERIC)");
- //BA.debugLineNum = 219;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
+ //BA.debugLineNum = 220;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO2265(H_IDCLIENTE TEXT)");
- //BA.debugLineNum = 220;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ATI";
+ //BA.debugLineNum = 221;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ATI";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ATIENDE(ATIENDE TEXT, CLIENTE TEXT)");
- //BA.debugLineNum = 222;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COD";
+ //BA.debugLineNum = 223;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_ENCUESTA_BAT(CLIENTE)");
+ //BA.debugLineNum = 224;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENC";
+_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENCUESTAS_BAT (CLIENTE TEXT,RUTA TEXT,ALMACEN TEXT,P1 TEXT,P2 TEXT,P3 TEXT,P4 TEXT,P5 TEXT,P6 TEXT,P7 TEXT,P8 TEXT,P9 TEXT,P10 TEXT, FECHA TEXT)");
+ //BA.debugLineNum = 226;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COD";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CODIGOS_CREDITO(CODIGO TEXT, BANDERA TEXT)");
- //BA.debugLineNum = 224;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TEL";
+ //BA.debugLineNum = 228;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TEL";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS TELEFONO(TELEFONO TEXT, CLIENTE TEXT)");
- //BA.debugLineNum = 225;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
+ //BA.debugLineNum = 229;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO3054(H_IDCLIENTE TEXT)");
- //BA.debugLineNum = 226;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
+ //BA.debugLineNum = 230;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_PRO3055(H_IDCLIENTE TEXT)");
- //BA.debugLineNum = 227;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT";
+ //BA.debugLineNum = 231;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_SUPLENCIA(RS_RUTA TEXT)");
- //BA.debugLineNum = 228;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TIC";
+ //BA.debugLineNum = 232;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS TIC";
_skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS TICKET_IMPRESO (idCliente TEXT)");
- //BA.debugLineNum = 230;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LAT\", \"TE";
+ //BA.debugLineNum = 234;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LAT\", \"TE";
_subs._agregacolumna /*String*/ (ba,"HIST_ENCUESTA","HE_LAT","TEXT");
- //BA.debugLineNum = 231;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_FOTO\", \"B";
+ //BA.debugLineNum = 235;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_FOTO\", \"B";
_subs._agregacolumna /*String*/ (ba,"HIST_ENCUESTA","HE_FOTO","BLOB");
- //BA.debugLineNum = 232;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"foto\", \"BLOB\")";
+ //BA.debugLineNum = 236;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"foto\", \"BLOB\")";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","foto","BLOB");
- //BA.debugLineNum = 233;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULO\", \"TEX";
+ //BA.debugLineNum = 237;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULO\", \"TEX";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECALCULO","TEXT");
- //BA.debugLineNum = 234;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_DESC\", \"TEXT\")";
+ //BA.debugLineNum = 238;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_DESC\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_DESC","TEXT");
- //BA.debugLineNum = 235;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULADO\", \"T";
+ //BA.debugLineNum = 239;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULADO\", \"T";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECALCULADO","TEXT");
- //BA.debugLineNum = 236;BA.debugLine="Subs.agregaColumna(\"CODIGOS_CREDITO\", \"CLIENTE\",";
+ //BA.debugLineNum = 240;BA.debugLine="Subs.agregaColumna(\"CODIGOS_CREDITO\", \"CLIENTE\",";
_subs._agregacolumna /*String*/ (ba,"CODIGOS_CREDITO","CLIENTE","TEXT");
- //BA.debugLineNum = 237;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCEDIS\", \"TEXT";
+ //BA.debugLineNum = 241;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCEDIS\", \"TEXT";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECCEDIS","TEXT");
- //BA.debugLineNum = 238;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_FUTURO\", \"TEXT\")";
+ //BA.debugLineNum = 242;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_FUTURO\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_FUTURO","TEXT");
- //BA.debugLineNum = 239;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULOTOT\", \"";
+ //BA.debugLineNum = 243;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECALCULOTOT\", \"";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECALCULOTOT","TEXT");
- //BA.debugLineNum = 240;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LON\", \"TE";
+ //BA.debugLineNum = 244;BA.debugLine="Subs.agregaColumna(\"HIST_ENCUESTA\", \"HE_LON\", \"TE";
_subs._agregacolumna /*String*/ (ba,"HIST_ENCUESTA","HE_LON","TEXT");
- //BA.debugLineNum = 242;BA.debugLine="Subs.agregaColumna(\"hist_ventastodos\", \"HVD_NUM_T";
+ //BA.debugLineNum = 246;BA.debugLine="Subs.agregaColumna(\"hist_ventastodos\", \"HVD_NUM_T";
_subs._agregacolumna /*String*/ (ba,"hist_ventastodos","HVD_NUM_TICKET","TEXT");
- //BA.debugLineNum = 244;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\", \"HVD_FECHA\", \"T";
+ //BA.debugLineNum = 247;BA.debugLine="Subs.agregaColumna(\"hist_ventastodos\", \"HVD_CODPR";
+_subs._agregacolumna /*String*/ (ba,"hist_ventastodos","HVD_CODPROMO","TEXT");
+ //BA.debugLineNum = 249;BA.debugLine="Subs.agregaColumna(\"HIST_VENTAS\", \"HVD_FECHA\", \"T";
_subs._agregacolumna /*String*/ (ba,"HIST_VENTAS","HVD_FECHA","TEXT");
- //BA.debugLineNum = 245;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROINT";
+ //BA.debugLineNum = 250;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROINT";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_NUMEROINT","TEXT");
- //BA.debugLineNum = 246;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROEXT";
+ //BA.debugLineNum = 251;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_ORDENVISI";
+_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_ORDENVISITA","TEXT");
+ //BA.debugLineNum = 252;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_NUMEROEXT";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_NUMEROEXT","TEXT");
- //BA.debugLineNum = 247;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_REFERENCI";
+ //BA.debugLineNum = 253;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_REFERENCI";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_REFERENCIA","TEXT");
- //BA.debugLineNum = 248;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROI";
+ //BA.debugLineNum = 254;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROI";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_NUMEROINT","TEXT");
- //BA.debugLineNum = 249;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROE";
+ //BA.debugLineNum = 255;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_NUMEROE";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_NUMEROEXT","TEXT");
- //BA.debugLineNum = 250;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_REFEREN";
+ //BA.debugLineNum = 256;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_REFEREN";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_REFERENCIA","TEXT");
- //BA.debugLineNum = 251;BA.debugLine="Subs.agregaColumna(\"COMENTARIOS\", \"comentario_tmp";
+ //BA.debugLineNum = 257;BA.debugLine="Subs.agregaColumna(\"COMENTARIOS\", \"comentario_tmp";
_subs._agregacolumna /*String*/ (ba,"COMENTARIOS","comentario_tmp","TEXT");
- //BA.debugLineNum = 253;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"encuesta\", \"TEXT";
+ //BA.debugLineNum = 259;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"encuesta\", \"TEXT";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","encuesta","TEXT");
- //BA.debugLineNum = 254;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA";
+ //BA.debugLineNum = 260;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_CLASIFICADOR4","TEXT");
- //BA.debugLineNum = 255;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER";
+ //BA.debugLineNum = 261;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_CONVERSION3","TEXT");
- //BA.debugLineNum = 256;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER";
+ //BA.debugLineNum = 262;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_CONVER";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_CONVERSION2","TEXT");
- //BA.debugLineNum = 257;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA";
+ //BA.debugLineNum = 264;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_CLASIFICADOR3","TEXT");
- //BA.debugLineNum = 258;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA";
+ //BA.debugLineNum = 265;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_CLASIFICADOR2","TEXT");
- //BA.debugLineNum = 259;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_TIPOCLIEN";
+ //BA.debugLineNum = 266;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_CLASIFICA";
+_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_CLASIFICADOR5","TEXT");
+ //BA.debugLineNum = 268;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_TIPOCLIEN";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_TIPOCLIENTE","TEXT");
- //BA.debugLineNum = 260;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_LIMITECRE";
+ //BA.debugLineNum = 269;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_LIMITECRE";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_LIMITECREDITO","TEXT");
- //BA.debugLineNum = 261;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_DIASCREDI";
+ //BA.debugLineNum = 270;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_DIASCREDI";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_DIASCREDITO","TEXT");
- //BA.debugLineNum = 262;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CONFIRMADO\", \"TE";
+ //BA.debugLineNum = 271;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CONFIRMADO\", \"TE";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CONFIRMADO","TEXT");
- //BA.debugLineNum = 263;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_BCREDITO\"";
+ //BA.debugLineNum = 272;BA.debugLine="Subs.agregaColumna(\"kmt_info3\", \"CAT_CL_BCREDITO\"";
_subs._agregacolumna /*String*/ (ba,"kmt_info3","CAT_CL_BCREDITO","TEXT");
- //BA.debugLineNum = 264;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DEV\",";
+ //BA.debugLineNum = 273;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_GP_DEV\",";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_GP_DEV","TEXT");
- //BA.debugLineNum = 265;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_BSEGME";
+ //BA.debugLineNum = 274;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_BSEGME";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_PA_BSEGMENTA","TEXT");
- //BA.debugLineNum = 266;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_LISTAPREC";
+ //BA.debugLineNum = 275;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_LISTAPREC";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_LISTAPRECIO","TEXT");
- //BA.debugLineNum = 267;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_SEGMEN";
+ //BA.debugLineNum = 276;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_PA_SEGMEN";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_PA_SEGMENTAV","TEXT");
- //BA.debugLineNum = 268;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_BSEGM";
+ //BA.debugLineNum = 277;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_BSEGM";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_PA_BSEGMENTA","TEXT");
- //BA.debugLineNum = 269;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_SEGME";
+ //BA.debugLineNum = 278;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_PA_SEGME";
_subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_PA_SEGMENTAV","TEXT");
- //BA.debugLineNum = 270;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT";
+ //BA.debugLineNum = 279;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_SOLICITA","TEXT");
- //BA.debugLineNum = 271;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_COLONIA";
+ //BA.debugLineNum = 280;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_COLONIA";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_COLONIA","TEXT");
- //BA.debugLineNum = 272;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_TELEFON";
+ //BA.debugLineNum = 281;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_TELEFON";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_TELEFONO","TEXT");
- //BA.debugLineNum = 273;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CP\", \"T";
+ //BA.debugLineNum = 282;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CP\", \"T";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_CP","TEXT");
- //BA.debugLineNum = 274;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE1\"";
+ //BA.debugLineNum = 283;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE1\"";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_CALLE1","TEXT");
- //BA.debugLineNum = 275;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE2\"";
+ //BA.debugLineNum = 284;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_CALLE2\"";
_subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_CALLE2","TEXT");
- //BA.debugLineNum = 276;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCANT\", \"TEXT\"";
+ //BA.debugLineNum = 285;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_RECCANT\", \"TEXT\"";
_subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_RECCANT","TEXT");
- //BA.debugLineNum = 277;BA.debugLine="Subs.agregaColumna(\"FOTOS\", \"FECHA\", \"TEXT\")";
+ //BA.debugLineNum = 286;BA.debugLine="Subs.agregaColumna(\"FOTOS\", \"FECHA\", \"TEXT\")";
_subs._agregacolumna /*String*/ (ba,"FOTOS","FECHA","TEXT");
- //BA.debugLineNum = 278;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev";
-try { //BA.debugLineNum = 279;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p";
+ //BA.debugLineNum = 287;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev";
+try { //BA.debugLineNum = 288;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('ENCUESTA_MODULO3') WHERE name='P10'")));
- //BA.debugLineNum = 280;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 289;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 281;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c";
+ //BA.debugLineNum = 290;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c";
if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 282;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3";
+ //BA.debugLineNum = 291;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3";
_skmt.ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P10 TEXT");
};
}
- catch (Exception e152) {
- ba.setLastException(e152); //BA.debugLineNum = 285;BA.debugLine="Try";
-try { //BA.debugLineNum = 286;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3";
+ catch (Exception e158) {
+ ba.setLastException(e158); //BA.debugLineNum = 294;BA.debugLine="Try";
+try { //BA.debugLineNum = 295;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3";
_skmt.ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P10 TEXT");
}
- catch (Exception e155) {
- ba.setLastException(e155); //BA.debugLineNum = 288;BA.debugLine="Log(LastException)";
-__c.LogImpl("71507508",BA.ObjectToString(__c.LastException(ba)),0);
+ catch (Exception e161) {
+ ba.setLastException(e161); //BA.debugLineNum = 297;BA.debugLine="Log(LastException)";
+__c.LogImpl("41507517",BA.ObjectToString(__c.LastException(ba)),0);
};
};
- //BA.debugLineNum = 291;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev";
-try { //BA.debugLineNum = 292;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p";
+ //BA.debugLineNum = 300;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev";
+try { //BA.debugLineNum = 301;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS fCol FROM p";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS fCol FROM pragma_table_info('ENCUESTA_MODULO3') WHERE name='P11'")));
- //BA.debugLineNum = 293;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 302;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 294;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c";
+ //BA.debugLineNum = 303;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c";
if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 295;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3";
+ //BA.debugLineNum = 304;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3";
_skmt.ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P11 TEXT");
};
}
- catch (Exception e165) {
- ba.setLastException(e165); //BA.debugLineNum = 298;BA.debugLine="Try";
-try { //BA.debugLineNum = 299;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3";
+ catch (Exception e171) {
+ ba.setLastException(e171); //BA.debugLineNum = 307;BA.debugLine="Try";
+try { //BA.debugLineNum = 308;BA.debugLine="skmt.ExecNonQuery(\"ALTER TABLE ENCUESTA_MODULO3";
_skmt.ExecNonQuery("ALTER TABLE ENCUESTA_MODULO3 ADD COLUMN P11 TEXT");
}
- catch (Exception e168) {
- ba.setLastException(e168); //BA.debugLineNum = 301;BA.debugLine="Log(LastException)";
-__c.LogImpl("71507521",BA.ObjectToString(__c.LastException(ba)),0);
+ catch (Exception e174) {
+ ba.setLastException(e174); //BA.debugLineNum = 310;BA.debugLine="Log(LastException)";
+__c.LogImpl("41507530",BA.ObjectToString(__c.LastException(ba)),0);
};
};
- //BA.debugLineNum = 304;BA.debugLine="c=skmt.ExecQuery(\"select COUNT(*) AS CUANTOS fro";
+ //BA.debugLineNum = 313;BA.debugLine="c=skmt.ExecQuery(\"select COUNT(*) AS CUANTOS fro";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select COUNT(*) AS CUANTOS from HIST_STAY_OUT ")));
- //BA.debugLineNum = 305;BA.debugLine="C.Position = 0";
+ //BA.debugLineNum = 314;BA.debugLine="C.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 306;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
+ //BA.debugLineNum = 315;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
if ((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 307;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO";
+ //BA.debugLineNum = 316;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO";
_skmt.ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)");
};
- //BA.debugLineNum = 309;BA.debugLine="C.Close";
+ //BA.debugLineNum = 318;BA.debugLine="C.Close";
_c.Close();
- //BA.debugLineNum = 313;BA.debugLine="l_version.Text = Application.VersionName";
+ //BA.debugLineNum = 322;BA.debugLine="l_version.Text = Application.VersionName";
_l_version.setText(BA.ObjectToCharSequence(__c.Application.getVersionName()));
- //BA.debugLineNum = 315;BA.debugLine="PopupMenu.Initialize(\"PopupMenu\", b_menu)";
+ //BA.debugLineNum = 324;BA.debugLine="PopupMenu.Initialize(\"PopupMenu\", b_menu)";
_popupmenu.Initialize(ba,"PopupMenu",(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_b_menu.getObject())));
- //BA.debugLineNum = 316;BA.debugLine="PopupMenu.AddMenuItem(0, 0, \"View\")";
+ //BA.debugLineNum = 325;BA.debugLine="PopupMenu.AddMenuItem(0, 0, \"View\")";
_popupmenu.AddMenuItem((int) (0),(int) (0),"View");
- //BA.debugLineNum = 317;BA.debugLine="PopupMenu.AddMenuItem(1, 1, \"Edit\")";
+ //BA.debugLineNum = 326;BA.debugLine="PopupMenu.AddMenuItem(1, 1, \"Edit\")";
_popupmenu.AddMenuItem((int) (1),(int) (1),"Edit");
- //BA.debugLineNum = 318;BA.debugLine="PopupMenu.AddMenuItem(2, 2, \"Details\")";
+ //BA.debugLineNum = 327;BA.debugLine="PopupMenu.AddMenuItem(2, 2, \"Details\")";
_popupmenu.AddMenuItem((int) (2),(int) (2),"Details");
- //BA.debugLineNum = 319;BA.debugLine="PopupMenu.AddMenuItem(3, 3, \"Remove\")";
+ //BA.debugLineNum = 328;BA.debugLine="PopupMenu.AddMenuItem(3, 3, \"Remove\")";
_popupmenu.AddMenuItem((int) (3),(int) (3),"Remove");
- //BA.debugLineNum = 321;BA.debugLine="montoActual = 0";
+ //BA.debugLineNum = 330;BA.debugLine="montoActual = 0";
_montoactual = BA.NumberToString(0);
- //BA.debugLineNum = 322;BA.debugLine="clientesTotal = 0";
+ //BA.debugLineNum = 331;BA.debugLine="clientesTotal = 0";
_clientestotal = BA.NumberToString(0);
- //BA.debugLineNum = 323;BA.debugLine="clientesVenta = 0";
+ //BA.debugLineNum = 332;BA.debugLine="clientesVenta = 0";
_clientesventa = BA.NumberToString(0);
- //BA.debugLineNum = 324;BA.debugLine="clientesVisitados = 0";
+ //BA.debugLineNum = 333;BA.debugLine="clientesVisitados = 0";
_clientesvisitados = BA.NumberToString(0);
- //BA.debugLineNum = 325;BA.debugLine="almacen = 0";
+ //BA.debugLineNum = 334;BA.debugLine="almacen = 0";
_almacen = BA.NumberToString(0);
- //BA.debugLineNum = 326;BA.debugLine="rutaPreventa = 0";
+ //BA.debugLineNum = 335;BA.debugLine="rutaPreventa = 0";
_rutapreventa = BA.NumberToString(0);
- //BA.debugLineNum = 327;BA.debugLine="p_appUpdate.Visible = False";
+ //BA.debugLineNum = 336;BA.debugLine="p_appUpdate.Visible = False";
_p_appupdate.setVisible(__c.False);
- //BA.debugLineNum = 329;BA.debugLine="If Subs.traeUsarIntentBDWA Then";
+ //BA.debugLineNum = 338;BA.debugLine="If Subs.traeUsarIntentBDWA Then";
if (_subs._traeusarintentbdwa /*boolean*/ (ba)) {
- //BA.debugLineNum = 330;BA.debugLine="Subs.importaBDDesdeWhatsApp";
+ //BA.debugLineNum = 339;BA.debugLine="Subs.importaBDDesdeWhatsApp";
_subs._importabddesdewhatsapp /*String*/ (ba);
};
- //BA.debugLineNum = 332;BA.debugLine="End Sub";
+ //BA.debugLineNum = 341;BA.debugLine="End Sub";
return "";
}
public String _b4xswitch1_valuechanged(boolean _value) throws Exception{
- //BA.debugLineNum = 961;BA.debugLine="Private Sub B4XSwitch1_ValueChanged (Value As Bool";
- //BA.debugLineNum = 962;BA.debugLine="If Value Then";
+ //BA.debugLineNum = 970;BA.debugLine="Private Sub B4XSwitch1_ValueChanged (Value As Bool";
+ //BA.debugLineNum = 971;BA.debugLine="If Value Then";
if (_value) {
- //BA.debugLineNum = 963;BA.debugLine="Log(\"1\")";
-__c.LogImpl("72883586","1",0);
- //BA.debugLineNum = 964;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT";
+ //BA.debugLineNum = 972;BA.debugLine="Log(\"1\")";
+__c.LogImpl("42883586","1",0);
+ //BA.debugLineNum = 973;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT";
_skmt.ExecNonQuery2("UPDATE IMPRESORA SET HABILITADA = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
}else {
- //BA.debugLineNum = 966;BA.debugLine="Log(\"desactivado\")";
-__c.LogImpl("72883589","desactivado",0);
- //BA.debugLineNum = 967;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT";
+ //BA.debugLineNum = 975;BA.debugLine="Log(\"desactivado\")";
+__c.LogImpl("42883589","desactivado",0);
+ //BA.debugLineNum = 976;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE IMPRESORA SET HABILIT";
_skmt.ExecNonQuery2("UPDATE IMPRESORA SET HABILITADA = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
};
- //BA.debugLineNum = 969;BA.debugLine="End Sub";
+ //BA.debugLineNum = 978;BA.debugLine="End Sub";
return "";
}
public String _b4xswitch2_valuechanged(boolean _value2) throws Exception{
- //BA.debugLineNum = 971;BA.debugLine="Private Sub B4XSwitch2_ValueChanged (Value2 As Boo";
- //BA.debugLineNum = 972;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CAT";
+ //BA.debugLineNum = 980;BA.debugLine="Private Sub B4XSwitch2_ValueChanged (Value2 As Boo";
+ //BA.debugLineNum = 981;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CAT";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CARGA_DIA"})));
- //BA.debugLineNum = 973;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 982;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 974;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 983;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 975;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 984;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") = 1 Then";
if ((_c.GetString("CAT_VA_VALOR")).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 976;BA.debugLine="If Value2 Then";
+ //BA.debugLineNum = 985;BA.debugLine="If Value2 Then";
if (_value2) {
- //BA.debugLineNum = 977;BA.debugLine="p_validacion.Visible = True";
+ //BA.debugLineNum = 986;BA.debugLine="p_validacion.Visible = True";
_p_validacion.setVisible(__c.True);
- //BA.debugLineNum = 978;BA.debugLine="p_validacion.Left = (Root.Width/2) - (p_appUpd";
+ //BA.debugLineNum = 987;BA.debugLine="p_validacion.Left = (Root.Width/2) - (p_appUpd";
_p_validacion.setLeft((int) ((_root.getWidth()/(double)2)-(_p_appupdate.getWidth()/(double)2)));
- //BA.debugLineNum = 979;BA.debugLine="Subs.panelVisible(p_validacion,0,0)";
+ //BA.debugLineNum = 988;BA.debugLine="Subs.panelVisible(p_validacion,0,0)";
_subs._panelvisible /*String*/ (ba,_p_validacion,(int) (0),(int) (0));
- //BA.debugLineNum = 980;BA.debugLine="p_validacion.Height = Root.Height";
+ //BA.debugLineNum = 989;BA.debugLine="p_validacion.Height = Root.Height";
_p_validacion.setHeight(_root.getHeight());
- //BA.debugLineNum = 981;BA.debugLine="p_validacion.Width = Root.Width";
+ //BA.debugLineNum = 990;BA.debugLine="p_validacion.Width = Root.Width";
_p_validacion.setWidth(_root.getWidth());
}else {
- //BA.debugLineNum = 983;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO";
+ //BA.debugLineNum = 992;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO";
_skmt.ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
};
}else {
- //BA.debugLineNum = 986;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día";
+ //BA.debugLineNum = 995;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor primero haz carga de día"),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 987;BA.debugLine="B4XSwitch2.Value = False";
+ //BA.debugLineNum = 996;BA.debugLine="B4XSwitch2.Value = False";
_b4xswitch2._setvalue /*boolean*/ (__c.False);
};
}else {
- //BA.debugLineNum = 990;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día\"";
+ //BA.debugLineNum = 999;BA.debugLine="MsgboxAsync(\"Por favor primero haz carga de día\"";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor primero haz carga de día"),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 991;BA.debugLine="B4XSwitch2.Value = False";
+ //BA.debugLineNum = 1000;BA.debugLine="B4XSwitch2.Value = False";
_b4xswitch2._setvalue /*boolean*/ (__c.False);
};
- //BA.debugLineNum = 993;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1002;BA.debugLine="End Sub";
return "";
}
public String _cb_importarbdwa_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 1141;BA.debugLine="Private Sub cb_importarBDWA_CheckedChange(Checked";
- //BA.debugLineNum = 1143;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_VARIAB";
+ //BA.debugLineNum = 1150;BA.debugLine="Private Sub cb_importarBDWA_CheckedChange(Checked";
+ //BA.debugLineNum = 1152;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_VARIAB";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'IMPORTAR_BD_WA'");
- //BA.debugLineNum = 1144;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CAT_VARIA";
+ //BA.debugLineNum = 1153;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CAT_VARIA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('IMPORTAR_BD_WA', '"+__c.SmartStringFormatter("",(Object)(_checked))+"')"));
- //BA.debugLineNum = 1145;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1154;BA.debugLine="End Sub";
return "";
}
public String _class_globals() throws Exception{
@@ -1448,9 +1460,9 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 856;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
+ //BA.debugLineNum = 865;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE);
- //BA.debugLineNum = 857;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
+ //BA.debugLineNum = 866;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null);
this.state = 19;
return;
@@ -1460,9 +1472,9 @@ this.state = 1;
_permission = (String) result[0];
_result = (Boolean) result[1];
;
- //BA.debugLineNum = 858;BA.debugLine="Dim theDir As String = \"\"";
+ //BA.debugLineNum = 867;BA.debugLine="Dim theDir As String = \"\"";
_thedir = "";
- //BA.debugLineNum = 859;BA.debugLine="If Result Then";
+ //BA.debugLineNum = 868;BA.debugLine="If Result Then";
if (true) break;
case 1:
@@ -1477,9 +1489,9 @@ this.state = 17;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 860;BA.debugLine="Dim theDir As String";
+ //BA.debugLineNum = 869;BA.debugLine="Dim theDir As String";
_thedir = "";
- //BA.debugLineNum = 861;BA.debugLine="Try";
+ //BA.debugLineNum = 870;BA.debugLine="Try";
if (true) break;
case 4:
@@ -1493,9 +1505,9 @@ case 6:
//C
this.state = 9;
this.catchState = 8;
- //BA.debugLineNum = 862;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")";
+ //BA.debugLineNum = 871;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")";
parent.__c.File.MakeDir(parent.__c.File.getDirRootExternal(),"kmts");
- //BA.debugLineNum = 863;BA.debugLine="theDir = \"/kmts\"";
+ //BA.debugLineNum = 872;BA.debugLine="theDir = \"/kmts\"";
_thedir = "/kmts";
if (true) break;
@@ -1503,7 +1515,7 @@ case 8:
//C
this.state = 9;
this.catchState = 0;
- //BA.debugLineNum = 865;BA.debugLine="theDir = \"\"";
+ //BA.debugLineNum = 874;BA.debugLine="theDir = \"\"";
_thedir = "";
if (true) break;
if (true) break;
@@ -1513,9 +1525,9 @@ case 9:
this.state = 10;
this.catchState = 0;
;
- //BA.debugLineNum = 867;BA.debugLine="rutaBDBackup = File.DirRootExternal&theDir";
+ //BA.debugLineNum = 876;BA.debugLine="rutaBDBackup = File.DirRootExternal&theDir";
parent._rutabdbackup = parent.__c.File.getDirRootExternal()+_thedir;
- //BA.debugLineNum = 868;BA.debugLine="Try";
+ //BA.debugLineNum = 877;BA.debugLine="Try";
if (true) break;
case 10:
@@ -1529,9 +1541,9 @@ case 12:
//C
this.state = 15;
this.catchState = 14;
- //BA.debugLineNum = 869;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo";
+ //BA.debugLineNum = 878;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo";
parent.__c.File.Copy(parent.__c.File.getDirInternal(),"kmt.db",parent.__c.File.getDirRootExternal()+_thedir,"cedex_kmt.db");
- //BA.debugLineNum = 870;BA.debugLine="ToastMessageShow(\"Listo\", False)";
+ //BA.debugLineNum = 879;BA.debugLine="ToastMessageShow(\"Listo\", False)";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Listo"),parent.__c.False);
if (true) break;
@@ -1539,7 +1551,7 @@ case 14:
//C
this.state = 15;
this.catchState = 0;
- //BA.debugLineNum = 872;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&";
+ //BA.debugLineNum = 881;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(parent.__c.LastException(ba))),parent.__c.True);
if (true) break;
if (true) break;
@@ -1554,7 +1566,7 @@ this.catchState = 0;
case 17:
//C
this.state = 18;
- //BA.debugLineNum = 875;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
+ //BA.debugLineNum = 884;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),parent.__c.False);
if (true) break;
@@ -1562,9 +1574,9 @@ case 18:
//C
this.state = -1;
;
- //BA.debugLineNum = 877;BA.debugLine="Log(rutaBDBackup)";
-parent.__c.LogImpl("72359318",parent._rutabdbackup,0);
- //BA.debugLineNum = 878;BA.debugLine="End Sub";
+ //BA.debugLineNum = 886;BA.debugLine="Log(rutaBDBackup)";
+parent.__c.LogImpl("42359318",parent._rutabdbackup,0);
+ //BA.debugLineNum = 887;BA.debugLine="End Sub";
if (true) break;
}}
catch (Exception e0) {
@@ -1579,28 +1591,28 @@ ba.setLastException(e0);}
}
}
public String _dameusuario() throws Exception{
- //BA.debugLineNum = 825;BA.debugLine="Sub dameUsuario";
- //BA.debugLineNum = 826;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro";
+ //BA.debugLineNum = 834;BA.debugLine="Sub dameUsuario";
+ //BA.debugLineNum = 835;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()})));
- //BA.debugLineNum = 827;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 836;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 828;BA.debugLine="existe = c.GetString(\"EXISTE1\")";
+ //BA.debugLineNum = 837;BA.debugLine="existe = c.GetString(\"EXISTE1\")";
_existe = _c.GetString("EXISTE1");
- //BA.debugLineNum = 829;BA.debugLine="c.Close";
+ //BA.debugLineNum = 838;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 830;BA.debugLine="If existe > 0 Then";
+ //BA.debugLineNum = 839;BA.debugLine="If existe > 0 Then";
if ((double)(Double.parseDouble(_existe))>0) {
- //BA.debugLineNum = 831;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 840;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 832;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 841;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 833;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 842;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
}else {
- //BA.debugLineNum = 835;BA.debugLine="usuario = \"SINUSUARIO\"";
+ //BA.debugLineNum = 844;BA.debugLine="usuario = \"SINUSUARIO\"";
_usuario = "SINUSUARIO";
};
- //BA.debugLineNum = 837;BA.debugLine="End Sub";
+ //BA.debugLineNum = 846;BA.debugLine="End Sub";
return "";
}
public String _entrar_click() throws Exception{
@@ -1608,227 +1620,227 @@ anywheresoftware.b4a.agraham.reflection.Reflection _r = null;
int _api = 0;
anywheresoftware.b4a.phone.Phone _pp = null;
int _id = 0;
- //BA.debugLineNum = 449;BA.debugLine="Sub Entrar_Click";
- //BA.debugLineNum = 450;BA.debugLine="Dim r As Reflector";
+ //BA.debugLineNum = 458;BA.debugLine="Sub Entrar_Click";
+ //BA.debugLineNum = 459;BA.debugLine="Dim r As Reflector";
_r = new anywheresoftware.b4a.agraham.reflection.Reflection();
- //BA.debugLineNum = 451;BA.debugLine="Dim Api As Int";
+ //BA.debugLineNum = 460;BA.debugLine="Dim Api As Int";
_api = 0;
- //BA.debugLineNum = 452;BA.debugLine="Dim PP As Phone";
+ //BA.debugLineNum = 461;BA.debugLine="Dim PP As Phone";
_pp = new anywheresoftware.b4a.phone.Phone();
- //BA.debugLineNum = 453;BA.debugLine="user.Text = user.Text.trim";
+ //BA.debugLineNum = 462;BA.debugLine="user.Text = user.Text.trim";
_user.setText(BA.ObjectToCharSequence(_user.getText().trim()));
- //BA.debugLineNum = 454;BA.debugLine="LogColor(Starter.server, Colors.Blue)";
-__c.LogImpl("71638405",_starter._server /*String*/ ,__c.Colors.Blue);
- //BA.debugLineNum = 455;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\"";
+ //BA.debugLineNum = 463;BA.debugLine="LogColor(Starter.server, Colors.Blue)";
+__c.LogImpl("41638405",_starter._server /*String*/ ,__c.Colors.Blue);
+ //BA.debugLineNum = 464;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\"";
_api = (int)(BA.ObjectToNumber(_r.GetStaticField("android.os.Build$VERSION","SDK_INT")));
- //BA.debugLineNum = 456;BA.debugLine="If Api < 9 Then";
+ //BA.debugLineNum = 465;BA.debugLine="If Api < 9 Then";
if (_api<9) {
- //BA.debugLineNum = 458;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then";
+ //BA.debugLineNum = 467;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then";
if (__c.File.Exists(__c.File.getDirInternal(),"__id")) {
- //BA.debugLineNum = 459;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id";
+ //BA.debugLineNum = 468;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id";
_imei = __c.File.ReadString(__c.File.getDirInternal(),"__id");
- //BA.debugLineNum = 460;BA.debugLine="Log(1&\"-\"&IMEI)";
-__c.LogImpl("71638411",BA.NumberToString(1)+"-"+_imei,0);
+ //BA.debugLineNum = 469;BA.debugLine="Log(1&\"-\"&IMEI)";
+__c.LogImpl("41638411",BA.NumberToString(1)+"-"+_imei,0);
}else {
- //BA.debugLineNum = 462;BA.debugLine="Dim id As Int";
+ //BA.debugLineNum = 471;BA.debugLine="Dim id As Int";
_id = 0;
- //BA.debugLineNum = 463;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)";
+ //BA.debugLineNum = 472;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)";
_id = __c.Rnd(((int)0x10000000),((int)0x7fffffff));
- //BA.debugLineNum = 464;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)";
+ //BA.debugLineNum = 473;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)";
__c.File.WriteString(__c.File.getDirInternal(),"__id",BA.NumberToString(_id));
- //BA.debugLineNum = 465;BA.debugLine="IMEI = id";
+ //BA.debugLineNum = 474;BA.debugLine="IMEI = id";
_imei = BA.NumberToString(_id);
- //BA.debugLineNum = 466;BA.debugLine="Log(2&\"-\"&IMEI)";
-__c.LogImpl("71638417",BA.NumberToString(2)+"-"+_imei,0);
+ //BA.debugLineNum = 475;BA.debugLine="Log(2&\"-\"&IMEI)";
+__c.LogImpl("41638417",BA.NumberToString(2)+"-"+_imei,0);
};
}else {
- //BA.debugLineNum = 470;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE";
+ //BA.debugLineNum = 479;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE";
_imei = BA.ObjectToString(_r.GetStaticField("android.os.Build","SERIAL"));
- //BA.debugLineNum = 471;BA.debugLine="Log(3&\"-\"&IMEI)";
-__c.LogImpl("71638422",BA.NumberToString(3)+"-"+_imei,0);
+ //BA.debugLineNum = 480;BA.debugLine="Log(3&\"-\"&IMEI)";
+__c.LogImpl("41638422",BA.NumberToString(3)+"-"+_imei,0);
};
- //BA.debugLineNum = 473;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then";
+ //BA.debugLineNum = 482;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then";
if ((_imei.toLowerCase()).equals("unknown")) {
- //BA.debugLineNum = 474;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")";
+ //BA.debugLineNum = 483;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")";
_imei = _pp.GetSettings("android_id");
};
- //BA.debugLineNum = 476;BA.debugLine="Log(\"IMEI = \" & IMEI)";
-__c.LogImpl("71638427","IMEI = "+_imei,0);
- //BA.debugLineNum = 477;BA.debugLine="If user.Text = \"ALTERNO\" Then";
+ //BA.debugLineNum = 485;BA.debugLine="Log(\"IMEI = \" & IMEI)";
+__c.LogImpl("41638427","IMEI = "+_imei,0);
+ //BA.debugLineNum = 486;BA.debugLine="If user.Text = \"ALTERNO\" Then";
if ((_user.getText()).equals("ALTERNO")) {
- //BA.debugLineNum = 478;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,";
+ //BA.debugLineNum = 487;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"})));
- //BA.debugLineNum = 479;BA.debugLine="c.Position =0";
+ //BA.debugLineNum = 488;BA.debugLine="c.Position =0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 480;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")";
+ //BA.debugLineNum = 489;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")";
_server = _c.GetString("CAT_CO_CONFIGURACION");
- //BA.debugLineNum = 481;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")";
+ //BA.debugLineNum = 490;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")";
_alterno = _c.GetString("CAT_CO_RESULTADO");
- //BA.debugLineNum = 482;BA.debugLine="c.Close";
+ //BA.debugLineNum = 491;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 483;BA.debugLine="If alterno = 1 Then";
+ //BA.debugLineNum = 492;BA.debugLine="If alterno = 1 Then";
if ((_alterno).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 484;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
+ //BA.debugLineNum = 493;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"}));
- //BA.debugLineNum = 485;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
+ //BA.debugLineNum = 494;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"}));
}else if((_alterno).equals(BA.NumberToString(2))) {
- //BA.debugLineNum = 487;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
+ //BA.debugLineNum = 496;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"}));
- //BA.debugLineNum = 488;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
+ //BA.debugLineNum = 497;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_";
_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"}));
};
- //BA.debugLineNum = 490;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,";
+ //BA.debugLineNum = 499;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"})));
- //BA.debugLineNum = 491;BA.debugLine="c.Position =0";
+ //BA.debugLineNum = 500;BA.debugLine="c.Position =0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 492;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")";
+ //BA.debugLineNum = 501;BA.debugLine="server = c.GetString(\"CAT_CO_CONFIGURACION\")";
_server = _c.GetString("CAT_CO_CONFIGURACION");
- //BA.debugLineNum = 493;BA.debugLine="user.Text = server";
+ //BA.debugLineNum = 502;BA.debugLine="user.Text = server";
_user.setText(BA.ObjectToCharSequence(_server));
- //BA.debugLineNum = 494;BA.debugLine="c.Close";
+ //BA.debugLineNum = 503;BA.debugLine="c.Close";
_c.Close();
}else if((_user.getText()).equals("KMTS1")) {
- //BA.debugLineNum = 497;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
+ //BA.debugLineNum = 506;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
_skmt.ExecNonQuery("delete from usuarioa");
- //BA.debugLineNum = 498;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES";
+ //BA.debugLineNum = 507;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES";
_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())}));
- //BA.debugLineNum = 499;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
+ //BA.debugLineNum = 508;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
_skmt.ExecNonQuery("delete from cat_almacen");
- //BA.debugLineNum = 500;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A";
+ //BA.debugLineNum = 509;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A";
_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_pass.getText())}));
- //BA.debugLineNum = 501;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
+ //BA.debugLineNum = 510;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
_skmt.ExecNonQuery("delete from VERSION");
- //BA.debugLineNum = 502;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO";
+ //BA.debugLineNum = 511;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO";
_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")}));
- //BA.debugLineNum = 503;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
+ //BA.debugLineNum = 512;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
}else if((_user.getText()).equals("BERNA1")) {
- //BA.debugLineNum = 505;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
+ //BA.debugLineNum = 514;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
_skmt.ExecNonQuery("delete from usuarioa");
- //BA.debugLineNum = 506;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES";
+ //BA.debugLineNum = 515;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES";
_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)("1")}));
- //BA.debugLineNum = 507;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
+ //BA.debugLineNum = 516;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
_skmt.ExecNonQuery("delete from cat_almacen");
- //BA.debugLineNum = 508;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A";
+ //BA.debugLineNum = 517;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A";
_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1")}));
- //BA.debugLineNum = 509;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
+ //BA.debugLineNum = 518;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
_skmt.ExecNonQuery("delete from VERSION");
- //BA.debugLineNum = 510;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO";
+ //BA.debugLineNum = 519;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO";
_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")}));
- //BA.debugLineNum = 511;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
+ //BA.debugLineNum = 520;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
}else if((_user.getText()).equals("IMEI")) {
- //BA.debugLineNum = 513;BA.debugLine="user.Text = IMEI";
+ //BA.debugLineNum = 522;BA.debugLine="user.Text = IMEI";
_user.setText(BA.ObjectToCharSequence(_imei));
};
- //BA.debugLineNum = 515;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro";
+ //BA.debugLineNum = 524;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()})));
- //BA.debugLineNum = 516;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 525;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 517;BA.debugLine="existe = c.GetString(\"EXISTE1\")";
+ //BA.debugLineNum = 526;BA.debugLine="existe = c.GetString(\"EXISTE1\")";
_existe = _c.GetString("EXISTE1");
- //BA.debugLineNum = 518;BA.debugLine="If Subs.traeAlmacen <> \"NA\" Then";
+ //BA.debugLineNum = 527;BA.debugLine="If Subs.traeAlmacen <> \"NA\" Then";
if ((_subs._traealmacen /*String*/ (ba)).equals("NA") == false) {
- //BA.debugLineNum = 519;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 528;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 520;BA.debugLine="cmd.Name = \"selectVersionAppGuna\"";
+ //BA.debugLineNum = 529;BA.debugLine="cmd.Name = \"selectVersionAppGuna\"";
_cmd.Name /*String*/ = "selectVersionAppGuna";
- //BA.debugLineNum = 521;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmace";
+ //BA.debugLineNum = 530;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmace";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._traealmacen /*String*/ (ba))};
- //BA.debugLineNum = 522;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeVersion\")";
+ //BA.debugLineNum = 531;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeVersion\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("traeVersion"));
};
- //BA.debugLineNum = 524;BA.debugLine="If existe = 0 Then";
+ //BA.debugLineNum = 533;BA.debugLine="If existe = 0 Then";
if ((_existe).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 525;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 534;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 526;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 535;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 527;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\" 'Antes s";
+ //BA.debugLineNum = 536;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\" 'Antes s";
_cmd.Name /*String*/ = "select_usuario_guna_GV2_10";
- //BA.debugLineNum = 528;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim,";
+ //BA.debugLineNum = 537;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim,";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText().trim()),(Object)(_pass.getText().trim())};
- //BA.debugLineNum = 529;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")";
+ //BA.debugLineNum = 538;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario_10"));
- //BA.debugLineNum = 552;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 561;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 553;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 562;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 554;BA.debugLine="cmd.Name = \"select_version_GV2\"";
+ //BA.debugLineNum = 563;BA.debugLine="cmd.Name = \"select_version_GV2\"";
_cmd.Name /*String*/ = "select_version_GV2";
- //BA.debugLineNum = 555;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")";
+ //BA.debugLineNum = 564;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("version"));
}else {
- //BA.debugLineNum = 557;BA.debugLine="usuario = user.Text";
+ //BA.debugLineNum = 566;BA.debugLine="usuario = user.Text";
_usuario = _user.getText();
- //BA.debugLineNum = 558;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
+ //BA.debugLineNum = 567;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
};
- //BA.debugLineNum = 560;BA.debugLine="End Sub";
+ //BA.debugLineNum = 569;BA.debugLine="End Sub";
return "";
}
public String _entrar_longclick() throws Exception{
- //BA.debugLineNum = 562;BA.debugLine="Sub Entrar_LongClick";
- //BA.debugLineNum = 564;BA.debugLine="End Sub";
+ //BA.debugLineNum = 571;BA.debugLine="Sub Entrar_LongClick";
+ //BA.debugLineNum = 573;BA.debugLine="End Sub";
return "";
}
public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{
- //BA.debugLineNum = 801;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
- //BA.debugLineNum = 802;BA.debugLine="If user.text = \"GPS\" Then";
+ //BA.debugLineNum = 810;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
+ //BA.debugLineNum = 811;BA.debugLine="If user.text = \"GPS\" Then";
if ((_user.getText()).equals("GPS")) {
- //BA.debugLineNum = 803;BA.debugLine="user.Text=Location1.Latitude";
+ //BA.debugLineNum = 812;BA.debugLine="user.Text=Location1.Latitude";
_user.setText(BA.ObjectToCharSequence(_location1.getLatitude()));
- //BA.debugLineNum = 804;BA.debugLine="pass.text=Location1.Longitude";
+ //BA.debugLineNum = 813;BA.debugLine="pass.text=Location1.Longitude";
_pass.setText(BA.ObjectToCharSequence(_location1.getLongitude()));
};
- //BA.debugLineNum = 806;BA.debugLine="End Sub";
+ //BA.debugLineNum = 815;BA.debugLine="End Sub";
return "";
}
public String _i_engrane_click() throws Exception{
- //BA.debugLineNum = 894;BA.debugLine="Sub i_engrane_Click";
- //BA.debugLineNum = 895;BA.debugLine="p_appUpdate.Left = (Root.Width/2) - (p_appUpdate.";
+ //BA.debugLineNum = 903;BA.debugLine="Sub i_engrane_Click";
+ //BA.debugLineNum = 904;BA.debugLine="p_appUpdate.Left = (Root.Width/2) - (p_appUpdate.";
_p_appupdate.setLeft((int) ((_root.getWidth()/(double)2)-(_p_appupdate.getWidth()/(double)2)));
- //BA.debugLineNum = 896;BA.debugLine="lv_server.Clear";
+ //BA.debugLineNum = 905;BA.debugLine="lv_server.Clear";
_lv_server.Clear();
- //BA.debugLineNum = 897;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1782\")";
+ //BA.debugLineNum = 906;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1782\")";
_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.net:1782"));
- //BA.debugLineNum = 898;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi";
+ //BA.debugLineNum = 907;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi";
if ((_user.getText()).equals("KMTS1")) {
_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1782"));};
- //BA.debugLineNum = 899;BA.debugLine="l_server.Text = Starter.server";
+ //BA.debugLineNum = 908;BA.debugLine="l_server.Text = Starter.server";
_l_server.setText(BA.ObjectToCharSequence(_starter._server /*String*/ ));
- //BA.debugLineNum = 900;BA.debugLine="et_server.Text = Starter.server";
+ //BA.debugLineNum = 909;BA.debugLine="et_server.Text = Starter.server";
_et_server.setText(BA.ObjectToCharSequence(_starter._server /*String*/ ));
- //BA.debugLineNum = 901;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)";
+ //BA.debugLineNum = 910;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)";
_subs._panelvisible /*String*/ (ba,_p_appupdate,(int) (0),(int) (0));
- //BA.debugLineNum = 902;BA.debugLine="p_appUpdate.Height = Root.Height";
+ //BA.debugLineNum = 911;BA.debugLine="p_appUpdate.Height = Root.Height";
_p_appupdate.setHeight(_root.getHeight());
- //BA.debugLineNum = 903;BA.debugLine="p_appUpdate.Width = Root.Width";
+ //BA.debugLineNum = 912;BA.debugLine="p_appUpdate.Width = Root.Width";
_p_appupdate.setWidth(_root.getWidth());
- //BA.debugLineNum = 904;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES";
+ //BA.debugLineNum = 913;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT HABILITADA FROM IMPRESORA")));
- //BA.debugLineNum = 905;BA.debugLine="If c.RowCount = 0 Then";
+ //BA.debugLineNum = 914;BA.debugLine="If c.RowCount = 0 Then";
if (_c.getRowCount()==0) {
- //BA.debugLineNum = 906;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO IMPRESORA VALUES";
+ //BA.debugLineNum = 915;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO IMPRESORA VALUES";
_skmt.ExecNonQuery2("INSERT INTO IMPRESORA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
};
- //BA.debugLineNum = 908;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")";
+ //BA.debugLineNum = 917;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT HABILITADO FROM GPS")));
- //BA.debugLineNum = 909;BA.debugLine="If c.RowCount = 0 Then";
+ //BA.debugLineNum = 918;BA.debugLine="If c.RowCount = 0 Then";
if (_c.getRowCount()==0) {
- //BA.debugLineNum = 910;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\",";
+ //BA.debugLineNum = 919;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO GPS VALUES (?)\",";
_skmt.ExecNonQuery2("INSERT INTO GPS VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
};
- //BA.debugLineNum = 912;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then";
+ //BA.debugLineNum = 921;BA.debugLine="If user.Text.Trim = \"KMTS1\" Then";
if ((_user.getText().trim()).equals("KMTS1")) {
- //BA.debugLineNum = 913;BA.debugLine="p_importarBDWA.Visible = True";
+ //BA.debugLineNum = 922;BA.debugLine="p_importarBDWA.Visible = True";
_p_importarbdwa.setVisible(__c.True);
}else {
- //BA.debugLineNum = 915;BA.debugLine="p_importarBDWA.Visible = False";
+ //BA.debugLineNum = 924;BA.debugLine="p_importarBDWA.Visible = False";
_p_importarbdwa.setVisible(__c.False);
};
- //BA.debugLineNum = 917;BA.debugLine="End Sub";
+ //BA.debugLineNum = 926;BA.debugLine="End Sub";
return "";
}
public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
@@ -1865,25 +1877,25 @@ String _cat_ep_res1_pred = "";
String _cat_ep_res2_pred = "";
String _cat_ep_res3_pred = "";
String _cat_ep_orden_pregunta = "";
- //BA.debugLineNum = 570;BA.debugLine="Sub JobDone(Job As HttpJob)";
- //BA.debugLineNum = 571;BA.debugLine="Log(\"JOBDONE MAINPAGE\")";
-__c.LogImpl("71835009","JOBDONE MAINPAGE",0);
- //BA.debugLineNum = 572;BA.debugLine="Log(Job.Success)";
-__c.LogImpl("71835010",BA.ObjectToString(_job._success /*boolean*/ ),0);
- //BA.debugLineNum = 573;BA.debugLine="If Job.Success = False Then";
+ //BA.debugLineNum = 579;BA.debugLine="Sub JobDone(Job As HttpJob)";
+ //BA.debugLineNum = 580;BA.debugLine="Log(\"JOBDONE MAINPAGE\")";
+__c.LogImpl("41835009","JOBDONE MAINPAGE",0);
+ //BA.debugLineNum = 581;BA.debugLine="Log(Job.Success)";
+__c.LogImpl("41835010",BA.ObjectToString(_job._success /*boolean*/ ),0);
+ //BA.debugLineNum = 582;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
- //BA.debugLineNum = 574;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars";
-__c.LogImpl("71835012","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);
+ //BA.debugLineNum = 583;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars";
+__c.LogImpl("41835012","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);
}else {
- //BA.debugLineNum = 577;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("71835015","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
- //BA.debugLineNum = 578;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 586;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
+__c.LogImpl("41835015","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+ //BA.debugLineNum = 587;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 579;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
+ //BA.debugLineNum = 588;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 580;BA.debugLine="If result.Tag = \"version\" Then 'query tag";
+ //BA.debugLineNum = 589;BA.debugLine="If result.Tag = \"version\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("version"))) {
- //BA.debugLineNum = 581;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 590;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group10 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen10 = group10.getSize()
@@ -1891,18 +1903,18 @@ final int groupLen10 = group10.getSize()
;
for (; index10 < groupLen10;index10++){
_records = (Object[])(group10.Get(index10));
- //BA.debugLineNum = 582;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
+ //BA.debugLineNum = 591;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")";
_skmt.ExecNonQuery("delete from VERSION");
- //BA.debugLineNum = 583;BA.debugLine="Dim CAT_VE_VERSION As String = records(result";
+ //BA.debugLineNum = 592;BA.debugLine="Dim CAT_VE_VERSION As String = records(result";
_cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]);
- //BA.debugLineNum = 584;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER";
+ //BA.debugLineNum = 593;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER";
_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)}));
}
};
};
- //BA.debugLineNum = 588;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag";
+ //BA.debugLineNum = 597;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("select_fechat"))) {
- //BA.debugLineNum = 589;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 598;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group17 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen17 = group17.getSize()
@@ -1910,7 +1922,7 @@ final int groupLen17 = group17.getSize()
;
for (; index17 < groupLen17;index17++){
_records = (Object[])(group17.Get(index17));
- //BA.debugLineNum = 590;BA.debugLine="For Each k As String In result.Columns.Keys";
+ //BA.debugLineNum = 599;BA.debugLine="For Each k As String In result.Columns.Keys";
{
final anywheresoftware.b4a.BA.IterableList group18 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
final int groupLen18 = group18.getSize()
@@ -1918,21 +1930,21 @@ final int groupLen18 = group18.getSize()
;
for (; index18 < groupLen18;index18++){
_k = BA.ObjectToString(group18.Get(index18));
- //BA.debugLineNum = 591;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r";
-__c.LogImpl("71835029","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
+ //BA.debugLineNum = 600;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r";
+__c.LogImpl("41835029","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
};
};
};
- //BA.debugLineNum = 597;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 606;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 598;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
+ //BA.debugLineNum = 607;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 599;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag";
+ //BA.debugLineNum = 608;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) {
- //BA.debugLineNum = 600;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 609;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group27 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen27 = group27.getSize()
@@ -1940,19 +1952,19 @@ final int groupLen27 = group27.getSize()
;
for (; index27 < groupLen27;index27++){
_records = (Object[])(group27.Get(index27));
- //BA.debugLineNum = 601;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
+ //BA.debugLineNum = 610;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
_id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("ID_ALMACEN"))))]);
}
};
};
};
- //BA.debugLineNum = 606;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 615;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 607;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req";
+ //BA.debugLineNum = 616;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req";
_result1 = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 608;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta";
+ //BA.debugLineNum = 617;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta";
if ((_result1.Tag /*Object*/ ).equals((Object)("CHECAENCUESTA"))) {
- //BA.debugLineNum = 609;BA.debugLine="For Each records() As Object In result1.Rows";
+ //BA.debugLineNum = 618;BA.debugLine="For Each records() As Object In result1.Rows";
{
final anywheresoftware.b4a.BA.IterableList group35 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen35 = group35.getSize()
@@ -1960,41 +1972,41 @@ final int groupLen35 = group35.getSize()
;
for (; index35 < groupLen35;index35++){
_records = (Object[])(group35.Get(index35));
- //BA.debugLineNum = 610;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul";
+ //BA.debugLineNum = 619;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul";
_cuantosencuesta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOS"))))]);
- //BA.debugLineNum = 611;BA.debugLine="Log(CUANTOSENCUESTA)";
-__c.LogImpl("71835049",_cuantosencuesta,0);
+ //BA.debugLineNum = 620;BA.debugLine="Log(CUANTOSENCUESTA)";
+__c.LogImpl("41835049",_cuantosencuesta,0);
}
};
- //BA.debugLineNum = 613;BA.debugLine="Dim sDate,sTime As String";
+ //BA.debugLineNum = 622;BA.debugLine="Dim sDate,sTime As String";
_sdate = "";
_stime = "";
- //BA.debugLineNum = 614;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 623;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 615;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 624;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 616;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 625;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 617;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then";
+ //BA.debugLineNum = 626;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then";
if ((_cuantosencuesta).equals("0")) {
- //BA.debugLineNum = 618;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 627;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 619;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\"";
+ //BA.debugLineNum = 628;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\"";
_cmd.Name /*String*/ = "insert_drop_GV2_4";
- //BA.debugLineNum = 620;BA.debugLine="cmd.Parameters = Array As Object(usuario,Subs";
+ //BA.debugLineNum = 629;BA.debugLine="cmd.Parameters = Array As Object(usuario,Subs";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_sdate),(Object)(""),(Object)(_stime),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("ENCUESTA"),(Object)(_almacen),(Object)(__c.Application.getVersionName()),(Object)(_starter._encuesta /*String*/ )};
- //BA.debugLineNum = 621;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
+ //BA.debugLineNum = 630;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_drop"));
};
};
};
- //BA.debugLineNum = 626;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 635;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 627;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
+ //BA.debugLineNum = 636;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 628;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag";
+ //BA.debugLineNum = 637;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) {
- //BA.debugLineNum = 629;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 638;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group54 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen54 = group54.getSize()
@@ -2002,23 +2014,23 @@ final int groupLen54 = group54.getSize()
;
for (; index54 < groupLen54;index54++){
_records = (Object[])(group54.Get(index54));
- //BA.debugLineNum = 630;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu";
+ //BA.debugLineNum = 639;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu";
_fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]);
- //BA.debugLineNum = 631;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
+ //BA.debugLineNum = 640;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")}));
- //BA.debugLineNum = 632;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES";
+ //BA.debugLineNum = 641;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES";
_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)}));
}
};
};
};
- //BA.debugLineNum = 637;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 646;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 638;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
+ //BA.debugLineNum = 647;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 639;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag";
+ //BA.debugLineNum = 648;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) {
- //BA.debugLineNum = 640;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 649;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group64 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen64 = group64.getSize()
@@ -2026,29 +2038,29 @@ final int groupLen64 = group64.getSize()
;
for (; index64 < groupLen64;index64++){
_records = (Object[])(group64.Get(index64));
- //BA.debugLineNum = 641;BA.debugLine="Dim name As String = records(result.Columns.G";
+ //BA.debugLineNum = 650;BA.debugLine="Dim name As String = records(result.Columns.G";
_name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]);
- //BA.debugLineNum = 642;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
+ //BA.debugLineNum = 651;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
_id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]);
- //BA.debugLineNum = 643;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
+ //BA.debugLineNum = 652;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
_imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]);
- //BA.debugLineNum = 644;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE";
-__c.LogImpl("71835082",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0);
+ //BA.debugLineNum = 653;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE";
+__c.LogImpl("41835082",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0);
}
};
- //BA.debugLineNum = 646;BA.debugLine="paso1 = 1";
+ //BA.debugLineNum = 655;BA.debugLine="paso1 = 1";
_paso1 = BA.NumberToString(1);
- //BA.debugLineNum = 647;BA.debugLine="ToastMessageShow(name, False)";
+ //BA.debugLineNum = 656;BA.debugLine="ToastMessageShow(name, False)";
__c.ToastMessageShow(BA.ObjectToCharSequence(_name),__c.False);
};
};
- //BA.debugLineNum = 651;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 660;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 652;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
+ //BA.debugLineNum = 661;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 653;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag";
+ //BA.debugLineNum = 662;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("usuario_10"))) {
- //BA.debugLineNum = 654;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 663;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group77 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen77 = group77.getSize()
@@ -2056,42 +2068,42 @@ final int groupLen77 = group77.getSize()
;
for (; index77 < groupLen77;index77++){
_records = (Object[])(group77.Get(index77));
- //BA.debugLineNum = 655;BA.debugLine="Dim name As String = records(result.Columns.G";
+ //BA.debugLineNum = 664;BA.debugLine="Dim name As String = records(result.Columns.G";
_name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]);
- //BA.debugLineNum = 656;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
+ //BA.debugLineNum = 665;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col";
_id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]);
- //BA.debugLineNum = 657;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
+ //BA.debugLineNum = 666;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu";
_imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]);
- //BA.debugLineNum = 658;BA.debugLine="Private version As String = records(result.C";
+ //BA.debugLineNum = 667;BA.debugLine="Private version As String = records(result.C";
_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSION"))))]);
- //BA.debugLineNum = 659;BA.debugLine="Private versionador As String = records(resu";
+ //BA.debugLineNum = 668;BA.debugLine="Private versionador As String = records(resu";
_versionador = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSIONADOR"))))]);
- //BA.debugLineNum = 660;BA.debugLine="Private actualizarAplicacion As String = rec";
+ //BA.debugLineNum = 669;BA.debugLine="Private actualizarAplicacion As String = rec";
_actualizaraplicacion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_ACTUALIZACION"))))]);
}
};
- //BA.debugLineNum = 662;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
+ //BA.debugLineNum = 671;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")}));
- //BA.debugLineNum = 663;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(";
+ //BA.debugLineNum = 672;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(";
_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)}));
- //BA.debugLineNum = 664;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
+ //BA.debugLineNum = 673;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")}));
- //BA.debugLineNum = 665;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(";
+ //BA.debugLineNum = 674;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(";
_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)}));
- //BA.debugLineNum = 668;BA.debugLine="Log(\"|\"&name&\"|\")";
-__c.LogImpl("71835106","|"+_name+"|",0);
- //BA.debugLineNum = 669;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version";
-__c.LogImpl("71835107",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0);
- //BA.debugLineNum = 670;BA.debugLine="paso1 = 1";
+ //BA.debugLineNum = 677;BA.debugLine="Log(\"|\"&name&\"|\")";
+__c.LogImpl("41835106","|"+_name+"|",0);
+ //BA.debugLineNum = 678;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version";
+__c.LogImpl("41835107",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0);
+ //BA.debugLineNum = 679;BA.debugLine="paso1 = 1";
_paso1 = BA.NumberToString(1);
- //BA.debugLineNum = 671;BA.debugLine="IMEI_BASE = \"\"";
+ //BA.debugLineNum = 680;BA.debugLine="IMEI_BASE = \"\"";
_imei_base = "";
- //BA.debugLineNum = 672;BA.debugLine="IMEI = \"\"";
+ //BA.debugLineNum = 681;BA.debugLine="IMEI = \"\"";
_imei = "";
};
- //BA.debugLineNum = 675;BA.debugLine="If result.Tag = \"traeVersion\" Then 'query tag";
+ //BA.debugLineNum = 684;BA.debugLine="If result.Tag = \"traeVersion\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("traeVersion"))) {
- //BA.debugLineNum = 676;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 685;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group96 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen96 = group96.getSize()
@@ -2099,31 +2111,31 @@ final int groupLen96 = group96.getSize()
;
for (; index96 < groupLen96;index96++){
_records = (Object[])(group96.Get(index96));
- //BA.debugLineNum = 677;BA.debugLine="Private version As String = records(result.C";
+ //BA.debugLineNum = 686;BA.debugLine="Private version As String = records(result.C";
_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSION"))))]);
- //BA.debugLineNum = 678;BA.debugLine="Private actualizarAplicacion As String = rec";
+ //BA.debugLineNum = 687;BA.debugLine="Private actualizarAplicacion As String = rec";
_actualizaraplicacion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_ACTUALIZACION"))))]);
}
};
- //BA.debugLineNum = 680;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
+ //BA.debugLineNum = 689;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")}));
- //BA.debugLineNum = 681;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(";
+ //BA.debugLineNum = 690;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(";
_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)}));
- //BA.debugLineNum = 682;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
+ //BA.debugLineNum = 691;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES";
_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")}));
- //BA.debugLineNum = 683;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(";
+ //BA.debugLineNum = 692;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(";
_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)}));
- //BA.debugLineNum = 684;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version";
-__c.LogImpl("71835122",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0);
+ //BA.debugLineNum = 693;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version";
+__c.LogImpl("41835122",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0);
};
};
- //BA.debugLineNum = 688;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 697;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 689;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
+ //BA.debugLineNum = 698;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 690;BA.debugLine="If result.Tag = \"geopass\" Then 'query tag";
+ //BA.debugLineNum = 699;BA.debugLine="If result.Tag = \"geopass\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("geopass"))) {
- //BA.debugLineNum = 691;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 700;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group110 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen110 = group110.getSize()
@@ -2131,69 +2143,69 @@ final int groupLen110 = group110.getSize()
;
for (; index110 < groupLen110;index110++){
_records = (Object[])(group110.Get(index110));
- //BA.debugLineNum = 692;BA.debugLine="Dim cuenta As String = records(result.Columns";
+ //BA.debugLineNum = 701;BA.debugLine="Dim cuenta As String = records(result.Columns";
_cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]);
}
};
- //BA.debugLineNum = 694;BA.debugLine="If cuenta = \"1\" Then";
+ //BA.debugLineNum = 703;BA.debugLine="If cuenta = \"1\" Then";
if ((_cuenta).equals("1")) {
- //BA.debugLineNum = 695;BA.debugLine="p_validacion.Visible = False";
+ //BA.debugLineNum = 704;BA.debugLine="p_validacion.Visible = False";
_p_validacion.setVisible(__c.False);
- //BA.debugLineNum = 696;BA.debugLine="B4XSwitch2.Value = True";
+ //BA.debugLineNum = 705;BA.debugLine="B4XSwitch2.Value = True";
_b4xswitch2._setvalue /*boolean*/ (__c.True);
- //BA.debugLineNum = 697;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO";
+ //BA.debugLineNum = 706;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO";
_skmt.ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
- //BA.debugLineNum = 698;BA.debugLine="et_codigo.Text = \"\"";
+ //BA.debugLineNum = 707;BA.debugLine="et_codigo.Text = \"\"";
_et_codigo.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 699;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select";
+ //BA.debugLineNum = 708;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"select";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)")));
- //BA.debugLineNum = 700;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 709;BA.debugLine="c2.Position = 0";
_c2.setPosition((int) (0));
- //BA.debugLineNum = 701;BA.debugLine="Private rutades As String = c2.GetString(\"CAT";
+ //BA.debugLineNum = 710;BA.debugLine="Private rutades As String = c2.GetString(\"CAT";
_rutades = _c2.GetString("CAT_CL_RUTA");
- //BA.debugLineNum = 702;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 711;BA.debugLine="c2.Close";
_c2.Close();
- //BA.debugLineNum = 703;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT";
+ //BA.debugLineNum = 712;BA.debugLine="Private c2 As Cursor = skmt.ExecQuery(\"SELECT";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT ID_ALMACEN FROM CAT_ALMACEN")));
- //BA.debugLineNum = 704;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 713;BA.debugLine="c2.Position = 0";
_c2.setPosition((int) (0));
- //BA.debugLineNum = 705;BA.debugLine="Private almacendes As String = c2.GetString(\"";
+ //BA.debugLineNum = 714;BA.debugLine="Private almacendes As String = c2.GetString(\"";
_almacendes = _c2.GetString("ID_ALMACEN");
- //BA.debugLineNum = 706;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 715;BA.debugLine="c2.Close";
_c2.Close();
- //BA.debugLineNum = 707;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 716;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 708;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 717;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 709;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\"";
+ //BA.debugLineNum = 718;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\"";
_cmd.Name /*String*/ = "delete_geoPass_GUNA";
- //BA.debugLineNum = 711;BA.debugLine="cmd.Parameters = Array As Object( almacendes,";
+ //BA.debugLineNum = 720;BA.debugLine="cmd.Parameters = Array As Object( almacendes,";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacendes),(Object)(_rutades)};
- //BA.debugLineNum = 712;BA.debugLine="reqManager.ExecuteCommand(cmd , \"traeGeoPass\"";
+ //BA.debugLineNum = 721;BA.debugLine="reqManager.ExecuteCommand(cmd , \"traeGeoPass\"";
_reqmanager._executecommand /*String*/ (_cmd,(Object)("traeGeoPass"));
}else if((_cuenta).equals("0")) {
- //BA.debugLineNum = 714;BA.debugLine="MsgboxAsync(\"Codigo incorrecto\",\"Atención\")";
+ //BA.debugLineNum = 723;BA.debugLine="MsgboxAsync(\"Codigo incorrecto\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Codigo incorrecto"),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 715;BA.debugLine="p_validacion.Visible = False";
+ //BA.debugLineNum = 724;BA.debugLine="p_validacion.Visible = False";
_p_validacion.setVisible(__c.False);
- //BA.debugLineNum = 716;BA.debugLine="B4XSwitch2.Value = False";
+ //BA.debugLineNum = 725;BA.debugLine="B4XSwitch2.Value = False";
_b4xswitch2._setvalue /*boolean*/ (__c.False);
- //BA.debugLineNum = 717;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO";
+ //BA.debugLineNum = 726;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE GPS SET HABILITADO";
_skmt.ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
- //BA.debugLineNum = 718;BA.debugLine="et_codigo.Text = \"\"";
+ //BA.debugLineNum = 727;BA.debugLine="et_codigo.Text = \"\"";
_et_codigo.setText(BA.ObjectToCharSequence(""));
};
};
};
- //BA.debugLineNum = 723;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 732;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 724;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
+ //BA.debugLineNum = 733;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J";
_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 725;BA.debugLine="If result.Tag = \"carga_encuesta\" Then 'query ta";
+ //BA.debugLineNum = 734;BA.debugLine="If result.Tag = \"carga_encuesta\" Then 'query ta";
if ((_result.Tag /*Object*/ ).equals((Object)("carga_encuesta"))) {
- //BA.debugLineNum = 726;BA.debugLine="For Each records() As Object In result.Rows";
+ //BA.debugLineNum = 735;BA.debugLine="For Each records() As Object In result.Rows";
{
final anywheresoftware.b4a.BA.IterableList group143 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen143 = group143.getSize()
@@ -2201,164 +2213,164 @@ final int groupLen143 = group143.getSize()
;
for (; index143 < groupLen143;index143++){
_records = (Object[])(group143.Get(index143));
- //BA.debugLineNum = 727;BA.debugLine="Dim CAT_EP_ID As String = records(result.COLU";
+ //BA.debugLineNum = 736;BA.debugLine="Dim CAT_EP_ID As String = records(result.COLU";
_cat_ep_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_ID"))))]);
- //BA.debugLineNum = 728;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records";
+ //BA.debugLineNum = 737;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records";
_cat_ep_idtipopregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_IDTIPOPREGUNTA"))))]);
- //BA.debugLineNum = 729;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(re";
+ //BA.debugLineNum = 738;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(re";
_cat_ce_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CE_DESCRIPCION"))))]);
- //BA.debugLineNum = 730;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(resul";
+ //BA.debugLineNum = 739;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(resul";
_cat_ep_pregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_PREGUNTA"))))]);
- //BA.debugLineNum = 731;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(resu";
+ //BA.debugLineNum = 740;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(resu";
_cat_ep_res1_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES1_PRED"))))]);
- //BA.debugLineNum = 732;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(resu";
+ //BA.debugLineNum = 741;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(resu";
_cat_ep_res2_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES2_PRED"))))]);
- //BA.debugLineNum = 733;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(resu";
+ //BA.debugLineNum = 742;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(resu";
_cat_ep_res3_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES3_PRED"))))]);
- //BA.debugLineNum = 734;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records";
+ //BA.debugLineNum = 743;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records";
_cat_ep_orden_pregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_ORDEN_PREGUNTA"))))]);
- //BA.debugLineNum = 735;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ENCUESTA_";
+ //BA.debugLineNum = 744;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ENCUESTA_";
_skmt.ExecNonQuery2("INSERT INTO CAT_ENCUESTA_PREGUNTA (CAT_EP_ID ,CAT_EP_IDTIPOPREGUNTA ,CAT_CE_DESCRIPCION ,CAT_EP_PREGUNTA ,CAT_EP_RES1_PRED ,CAT_EP_RES2_PRED ,CAT_EP_RES3_PRED ,CAT_EP_ORDEN_PREGUNTA ) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ep_id),(Object)(_cat_ep_idtipopregunta),(Object)(_cat_ce_descripcion),(Object)(_cat_ep_pregunta),(Object)(_cat_ep_res1_pred),(Object)(_cat_ep_res2_pred),(Object)(_cat_ep_res3_pred),(Object)(_cat_ep_orden_pregunta)}));
}
};
};
};
- //BA.debugLineNum = 739;BA.debugLine="Job.Release";
+ //BA.debugLineNum = 748;BA.debugLine="Job.Release";
_job._release /*String*/ ();
};
- //BA.debugLineNum = 742;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${";
-__c.LogImpl("71835180",("Paso1 = "+__c.SmartStringFormatter("",(Object)(_paso1))+" - Name: "+__c.SmartStringFormatter("",(Object)(_name))+" - IMEI: "+__c.SmartStringFormatter("",(Object)(_imei))+" - IMEI_BASE: "+__c.SmartStringFormatter("",(Object)(_imei_base))+""),0);
- //BA.debugLineNum = 743;BA.debugLine="If paso1 = 1 Then";
+ //BA.debugLineNum = 751;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${";
+__c.LogImpl("41835180",("Paso1 = "+__c.SmartStringFormatter("",(Object)(_paso1))+" - Name: "+__c.SmartStringFormatter("",(Object)(_name))+" - IMEI: "+__c.SmartStringFormatter("",(Object)(_imei))+" - IMEI_BASE: "+__c.SmartStringFormatter("",(Object)(_imei_base))+""),0);
+ //BA.debugLineNum = 752;BA.debugLine="If paso1 = 1 Then";
if ((_paso1).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 744;BA.debugLine="If IMEI = \"\" Then";
+ //BA.debugLineNum = 753;BA.debugLine="If IMEI = \"\" Then";
if ((_imei).equals("")) {
- //BA.debugLineNum = 745;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\"";
+ //BA.debugLineNum = 754;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\"";
if ((_user.getText()).equals("KMTS1")) {
_name = "OKActivo";};
- //BA.debugLineNum = 746;BA.debugLine="If name = \"OKActivo\" Then";
+ //BA.debugLineNum = 755;BA.debugLine="If name = \"OKActivo\" Then";
if ((_name).equals("OKActivo")) {
- //BA.debugLineNum = 747;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
+ //BA.debugLineNum = 756;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
_skmt.ExecNonQuery("delete from usuarioa");
- //BA.debugLineNum = 748;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE";
+ //BA.debugLineNum = 757;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE";
_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())}));
- //BA.debugLineNum = 749;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
+ //BA.debugLineNum = 758;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
_skmt.ExecNonQuery("delete from cat_almacen");
- //BA.debugLineNum = 750;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID";
+ //BA.debugLineNum = 759;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID";
_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)}));
- //BA.debugLineNum = 751;BA.debugLine="usuario = user.Text";
+ //BA.debugLineNum = 760;BA.debugLine="usuario = user.Text";
_usuario = _user.getText();
- //BA.debugLineNum = 752;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
+ //BA.debugLineNum = 761;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
}else if((_name).equals("OKExpirado")) {
- //BA.debugLineNum = 754;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad";
+ //BA.debugLineNum = 763;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad";
__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba);
}else if((_name).equals("OKCancelado")) {
- //BA.debugLineNum = 756;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra";
+ //BA.debugLineNum = 765;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra";
__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba);
}else {
- //BA.debugLineNum = 758;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig";
+ //BA.debugLineNum = 767;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig";
__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba);
};
- //BA.debugLineNum = 760;BA.debugLine="paso1 = 0";
+ //BA.debugLineNum = 769;BA.debugLine="paso1 = 0";
_paso1 = BA.NumberToString(0);
}else {
- //BA.debugLineNum = 762;BA.debugLine="If name = \"OKActivo\" & IMEI And IMEI = IMEI_BA";
+ //BA.debugLineNum = 771;BA.debugLine="If name = \"OKActivo\" & IMEI And IMEI = IMEI_BA";
if ((_name).equals("OKActivo"+_imei) && (_imei).equals(_imei_base)) {
- //BA.debugLineNum = 763;BA.debugLine="If name = \"OKActivo\" & IMEI Then";
+ //BA.debugLineNum = 772;BA.debugLine="If name = \"OKActivo\" & IMEI Then";
if ((_name).equals("OKActivo"+_imei)) {
- //BA.debugLineNum = 764;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
+ //BA.debugLineNum = 773;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")";
_skmt.ExecNonQuery("delete from usuarioa");
- //BA.debugLineNum = 765;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU";
+ //BA.debugLineNum = 774;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU";
_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())}));
- //BA.debugLineNum = 766;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
+ //BA.debugLineNum = 775;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")";
_skmt.ExecNonQuery("delete from cat_almacen");
- //BA.debugLineNum = 767;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I";
+ //BA.debugLineNum = 776;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I";
_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)}));
- //BA.debugLineNum = 768;BA.debugLine="usuario = user.Text";
+ //BA.debugLineNum = 777;BA.debugLine="usuario = user.Text";
_usuario = _user.getText();
- //BA.debugLineNum = 769;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
+ //BA.debugLineNum = 778;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
}else if((_name).equals("OKExpirado"+_imei)) {
- //BA.debugLineNum = 771;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra";
+ //BA.debugLineNum = 780;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra";
__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba);
}else if((_name).equals("OKCancelado"+_imei)) {
- //BA.debugLineNum = 773;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr";
+ //BA.debugLineNum = 782;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr";
__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba);
}else {
- //BA.debugLineNum = 775;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i";
+ //BA.debugLineNum = 784;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i";
__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba);
};
- //BA.debugLineNum = 777;BA.debugLine="paso1 = 0";
+ //BA.debugLineNum = 786;BA.debugLine="paso1 = 0";
_paso1 = BA.NumberToString(0);
}else if((_name).equals("OKActivo")) {
- //BA.debugLineNum = 779;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore";
+ //BA.debugLineNum = 788;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore";
__c.Msgbox(BA.ObjectToCharSequence("Telefono no VALIDO!"),BA.ObjectToCharSequence(""),ba);
}else {
- //BA.debugLineNum = 781;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig";
+ //BA.debugLineNum = 790;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig";
__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba);
};
};
};
- //BA.debugLineNum = 785;BA.debugLine="End Sub";
+ //BA.debugLineNum = 794;BA.debugLine="End Sub";
return "";
}
public String _lv_server_itemclick(int _position,Object _value) throws Exception{
- //BA.debugLineNum = 932;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,";
- //BA.debugLineNum = 933;BA.debugLine="Starter.server = Value";
+ //BA.debugLineNum = 941;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,";
+ //BA.debugLineNum = 942;BA.debugLine="Starter.server = Value";
_starter._server /*String*/ = BA.ObjectToString(_value);
- //BA.debugLineNum = 934;BA.debugLine="l_server.Text = Value";
+ //BA.debugLineNum = 943;BA.debugLine="l_server.Text = Value";
_l_server.setText(BA.ObjectToCharSequence(_value));
- //BA.debugLineNum = 935;BA.debugLine="et_server.Text = Value";
+ //BA.debugLineNum = 944;BA.debugLine="et_server.Text = Value";
_et_server.setText(BA.ObjectToCharSequence(_value));
- //BA.debugLineNum = 936;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe";
+ //BA.debugLineNum = 945;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe";
_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer")}));
- //BA.debugLineNum = 937;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT";
+ //BA.debugLineNum = 946;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT";
_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("DBReqServer"),_value}));
- //BA.debugLineNum = 938;BA.debugLine="Starter.reqManager.Initialize(Me, Value)";
+ //BA.debugLineNum = 947;BA.debugLine="Starter.reqManager.Initialize(Me, Value)";
_starter._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,this,BA.ObjectToString(_value));
- //BA.debugLineNum = 939;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)";
+ //BA.debugLineNum = 948;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False);
- //BA.debugLineNum = 940;BA.debugLine="End Sub";
+ //BA.debugLineNum = 949;BA.debugLine="End Sub";
return "";
}
public String _muestraprogreso(String _mensaje) throws Exception{
- //BA.debugLineNum = 885;BA.debugLine="Sub muestraProgreso(mensaje As String)";
- //BA.debugLineNum = 886;BA.debugLine="ProgressDialogShow(mensaje)";
+ //BA.debugLineNum = 894;BA.debugLine="Sub muestraProgreso(mensaje As String)";
+ //BA.debugLineNum = 895;BA.debugLine="ProgressDialogShow(mensaje)";
__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje));
- //BA.debugLineNum = 887;BA.debugLine="End Sub";
+ //BA.debugLineNum = 896;BA.debugLine="End Sub";
return "";
}
public String _ocultaprogreso() throws Exception{
- //BA.debugLineNum = 890;BA.debugLine="Sub ocultaProgreso";
- //BA.debugLineNum = 891;BA.debugLine="ProgressDialogHide";
+ //BA.debugLineNum = 899;BA.debugLine="Sub ocultaProgreso";
+ //BA.debugLineNum = 900;BA.debugLine="ProgressDialogHide";
__c.ProgressDialogHide();
- //BA.debugLineNum = 892;BA.debugLine="End Sub";
+ //BA.debugLineNum = 901;BA.debugLine="End Sub";
return "";
}
public String _p_validacion_click() throws Exception{
- //BA.debugLineNum = 995;BA.debugLine="Private Sub p_validacion_Click";
- //BA.debugLineNum = 996;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1004;BA.debugLine="Private Sub p_validacion_Click";
+ //BA.debugLineNum = 1005;BA.debugLine="End Sub";
return "";
}
public String _pdf_click() throws Exception{
- //BA.debugLineNum = 821;BA.debugLine="Sub PDF_Click";
- //BA.debugLineNum = 823;BA.debugLine="End Sub";
+ //BA.debugLineNum = 830;BA.debugLine="Sub PDF_Click";
+ //BA.debugLineNum = 832;BA.debugLine="End Sub";
return "";
}
public String _popupmenu_dismiss() throws Exception{
- //BA.debugLineNum = 808;BA.debugLine="Sub PopupMenu_Dismiss";
- //BA.debugLineNum = 809;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)";
+ //BA.debugLineNum = 817;BA.debugLine="Sub PopupMenu_Dismiss";
+ //BA.debugLineNum = 818;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("PopupMenu dismissed"),__c.False);
- //BA.debugLineNum = 810;BA.debugLine="End Sub";
+ //BA.debugLineNum = 819;BA.debugLine="End Sub";
return "";
}
public boolean _popupmenu_menuitemclick(int _itemid) throws Exception{
- //BA.debugLineNum = 812;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo";
- //BA.debugLineNum = 813;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\",";
+ //BA.debugLineNum = 821;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo";
+ //BA.debugLineNum = 822;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\",";
__c.ToastMessageShow(BA.ObjectToCharSequence("Item "+BA.NumberToString(_itemid)+" clicked."),__c.False);
- //BA.debugLineNum = 814;BA.debugLine="Return False";
+ //BA.debugLineNum = 823;BA.debugLine="Return False";
if (true) return __c.False;
- //BA.debugLineNum = 815;BA.debugLine="End Sub";
+ //BA.debugLineNum = 824;BA.debugLine="End Sub";
return false;
}
public void _revisaactualizacion() throws Exception{
@@ -2387,11 +2399,11 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 1060;BA.debugLine="LogColor(\"Buscarmos archivo Ver\", Colors.red)";
-parent.__c.LogImpl("73211270","Buscarmos archivo Ver",parent.__c.Colors.Red);
- //BA.debugLineNum = 1061;BA.debugLine="Private link As String = \"https://keymon.net/movi";
+ //BA.debugLineNum = 1069;BA.debugLine="LogColor(\"Buscarmos archivo Ver\", Colors.red)";
+parent.__c.LogImpl("43211270","Buscarmos archivo Ver",parent.__c.Colors.Red);
+ //BA.debugLineNum = 1070;BA.debugLine="Private link As String = \"https://keymon.net/movi";
_link = "https://keymon.net/movil/guna/gunaPreventa.ver";
- //BA.debugLineNum = 1062;BA.debugLine="Wait For (traeArchivoVer(Me, link)) JobDone (j As";
+ //BA.debugLineNum = 1071;BA.debugLine="Wait For (traeArchivoVer(Me, link)) JobDone (j As";
parent.__c.WaitFor("jobdone", ba, this, (Object)(parent._traearchivover(parent,_link)));
this.state = 28;
return;
@@ -2400,7 +2412,7 @@ case 28:
this.state = 1;
_j = (gunav2.keymon.com.mx.httpjob) result[0];
;
- //BA.debugLineNum = 1063;BA.debugLine="If j.Success Then";
+ //BA.debugLineNum = 1072;BA.debugLine="If j.Success Then";
if (true) break;
case 1:
@@ -2415,9 +2427,9 @@ this.state = 22;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 1064;BA.debugLine="LogColor(\"Archivo .VER encontrado.\", Colors.red)";
-parent.__c.LogImpl("73211274","Archivo .VER encontrado.",parent.__c.Colors.Red);
- //BA.debugLineNum = 1065;BA.debugLine="Try";
+ //BA.debugLineNum = 1073;BA.debugLine="LogColor(\"Archivo .VER encontrado.\", Colors.red)";
+parent.__c.LogImpl("43211274","Archivo .VER encontrado.",parent.__c.Colors.Red);
+ //BA.debugLineNum = 1074;BA.debugLine="Try";
if (true) break;
case 4:
@@ -2431,25 +2443,25 @@ case 6:
//C
this.state = 7;
this.catchState = 15;
- //BA.debugLineNum = 1066;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS";
+ //BA.debugLineNum = 1075;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS";
_app = parent.__c.Regex.Split(BA.ObjectToString(parent.__c.Chr((int) (9))),_j._getstring /*String*/ ());
- //BA.debugLineNum = 1068;BA.debugLine="Starter.newApp.appLink = app(3) 'Liga a nuevo";
+ //BA.debugLineNum = 1077;BA.debugLine="Starter.newApp.appLink = app(3) 'Liga a nuevo";
parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .appLink /*String*/ = _app[(int) (3)];
- //BA.debugLineNum = 1069;BA.debugLine="Starter.newApp.newMsg = app(1) 'Texto de que h";
+ //BA.debugLineNum = 1078;BA.debugLine="Starter.newApp.newMsg = app(1) 'Texto de que h";
parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .newMsg /*String*/ = _app[(int) (1)];
- //BA.debugLineNum = 1070;BA.debugLine="Starter.newApp.okMsg = app(2) 'Texto de app";
+ //BA.debugLineNum = 1079;BA.debugLine="Starter.newApp.okMsg = app(2) 'Texto de app";
parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .okMsg /*String*/ = _app[(int) (2)];
- //BA.debugLineNum = 1071;BA.debugLine="Starter.newApp.version = app(0) 'Version actu";
+ //BA.debugLineNum = 1080;BA.debugLine="Starter.newApp.version = app(0) 'Version actu";
parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .version /*String*/ = _app[(int) (0)];
- //BA.debugLineNum = 1072;BA.debugLine="Log($\"Application.VersionName=${Application.Ver";
-parent.__c.LogImpl("73211282",("Application.VersionName="+parent.__c.SmartStringFormatter("",(Object)(parent.__c.Application.getVersionName()))+", newApp="+parent.__c.SmartStringFormatter("",(Object)(parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ ))+""),0);
- //BA.debugLineNum = 1074;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
+ //BA.debugLineNum = 1081;BA.debugLine="Log($\"Application.VersionName=${Application.Ver";
+parent.__c.LogImpl("43211282",("Application.VersionName="+parent.__c.SmartStringFormatter("",(Object)(parent.__c.Application.getVersionName()))+", newApp="+parent.__c.SmartStringFormatter("",(Object)(parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ ))+""),0);
+ //BA.debugLineNum = 1083;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
parent.__c.DateTime.setDateFormat("yyyyMMdd");
- //BA.debugLineNum = 1075;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES w";
+ //BA.debugLineNum = 1084;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES w";
parent._skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("REVISION_APK")}));
- //BA.debugLineNum = 1076;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(C";
+ //BA.debugLineNum = 1085;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(C";
parent._skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("REVISION_APK"),(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()))}));
- //BA.debugLineNum = 1078;BA.debugLine="If Starter.newApp.version = Application.Version";
+ //BA.debugLineNum = 1087;BA.debugLine="If Starter.newApp.version = Application.Version";
if (true) break;
case 7:
@@ -2462,15 +2474,15 @@ this.state = 9;
case 9:
//C
this.state = 10;
- //BA.debugLineNum = 1079;BA.debugLine="Starter.newApp.update = False";
+ //BA.debugLineNum = 1088;BA.debugLine="Starter.newApp.update = False";
parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .update /*boolean*/ = parent.__c.False;
- //BA.debugLineNum = 1080;BA.debugLine="LogColor(\"No hay nuevo APK\", Colors.red)";
-parent.__c.LogImpl("73211290","No hay nuevo APK",parent.__c.Colors.Red);
- //BA.debugLineNum = 1081;BA.debugLine="B4XPages.MainPage.Entrar.Enabled = True";
+ //BA.debugLineNum = 1089;BA.debugLine="LogColor(\"No hay nuevo APK\", Colors.red)";
+parent.__c.LogImpl("43211290","No hay nuevo APK",parent.__c.Colors.Red);
+ //BA.debugLineNum = 1090;BA.debugLine="B4XPages.MainPage.Entrar.Enabled = True";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._entrar /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setEnabled(parent.__c.True);
if (true) break;
;
- //BA.debugLineNum = 1083;BA.debugLine="If Starter.newApp.version <> Application.Versio";
+ //BA.debugLineNum = 1092;BA.debugLine="If Starter.newApp.version <> Application.Versio";
case 10:
//if
@@ -2482,13 +2494,13 @@ this.state = 12;
case 12:
//C
this.state = 13;
- //BA.debugLineNum = 1084;BA.debugLine="Starter.newApp.update = True";
+ //BA.debugLineNum = 1093;BA.debugLine="Starter.newApp.update = True";
parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .update /*boolean*/ = parent.__c.True;
- //BA.debugLineNum = 1085;BA.debugLine="LogColor(\"Hay nuevo APK\", Colors.red)";
-parent.__c.LogImpl("73211295","Hay nuevo APK",parent.__c.Colors.Red);
- //BA.debugLineNum = 1086;BA.debugLine="b_actualizacion.Visible = True";
+ //BA.debugLineNum = 1094;BA.debugLine="LogColor(\"Hay nuevo APK\", Colors.red)";
+parent.__c.LogImpl("43211295","Hay nuevo APK",parent.__c.Colors.Red);
+ //BA.debugLineNum = 1095;BA.debugLine="b_actualizacion.Visible = True";
parent._b_actualizacion.setVisible(parent.__c.True);
- //BA.debugLineNum = 1087;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")";
+ //BA.debugLineNum = 1096;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")";
parent.__c.CallSubDelayed(ba,(Object)(parent._appupdater.getObject()),"download_newApk");
if (true) break;
@@ -2502,9 +2514,9 @@ case 15:
//C
this.state = 16;
this.catchState = 0;
- //BA.debugLineNum = 1090;BA.debugLine="LogColor(\"appUpdater(), Job Failed, error \" &";
-parent.__c.LogImpl("73211300","appUpdater(), Job Failed, error "+parent.__c.LastException(ba).getMessage(),parent.__c.Colors.Red);
- //BA.debugLineNum = 1091;BA.debugLine="If Msgbox2(\"Hubo un error: \" & LastException.Me";
+ //BA.debugLineNum = 1099;BA.debugLine="LogColor(\"appUpdater(), Job Failed, error \" &";
+parent.__c.LogImpl("43211300","appUpdater(), Job Failed, error "+parent.__c.LastException(ba).getMessage(),parent.__c.Colors.Red);
+ //BA.debugLineNum = 1100;BA.debugLine="If Msgbox2(\"Hubo un error: \" & LastException.Me";
if (true) break;
case 16:
@@ -2517,7 +2529,7 @@ this.state = 18;
case 18:
//C
this.state = 19;
- //BA.debugLineNum = 1092;BA.debugLine="ExitApplication";
+ //BA.debugLineNum = 1101;BA.debugLine="ExitApplication";
parent.__c.ExitApplication();
if (true) break;
@@ -2538,7 +2550,7 @@ this.catchState = 0;
case 22:
//C
this.state = 23;
- //BA.debugLineNum = 1097;BA.debugLine="If Msgbox2(\"Es necesaria una conexión a internet";
+ //BA.debugLineNum = 1106;BA.debugLine="If Msgbox2(\"Es necesaria una conexión a internet";
if (true) break;
case 23:
@@ -2551,7 +2563,7 @@ this.state = 25;
case 25:
//C
this.state = 26;
- //BA.debugLineNum = 1098;BA.debugLine="ExitApplication";
+ //BA.debugLineNum = 1107;BA.debugLine="ExitApplication";
parent.__c.ExitApplication();
if (true) break;
@@ -2565,9 +2577,9 @@ case 27:
//C
this.state = -1;
;
- //BA.debugLineNum = 1101;BA.debugLine="j.Release";
+ //BA.debugLineNum = 1110;BA.debugLine="j.Release";
_j._release /*String*/ ();
- //BA.debugLineNum = 1102;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1111;BA.debugLine="End Sub";
if (true) break;
}}
catch (Exception e0) {
@@ -2583,52 +2595,52 @@ ba.setLastException(e0);}
}
public gunav2.keymon.com.mx.httpjob _traearchivover(Object _callback,String _link) throws Exception{
gunav2.keymon.com.mx.httpjob _j = null;
- //BA.debugLineNum = 1110;BA.debugLine="Sub traeArchivoVer (Callback As Object, link As St";
- //BA.debugLineNum = 1111;BA.debugLine="Dim j As HttpJob";
+ //BA.debugLineNum = 1119;BA.debugLine="Sub traeArchivoVer (Callback As Object, link As St";
+ //BA.debugLineNum = 1120;BA.debugLine="Dim j As HttpJob";
_j = new gunav2.keymon.com.mx.httpjob();
- //BA.debugLineNum = 1112;BA.debugLine="j.Initialize(\"\", Callback)";
+ //BA.debugLineNum = 1121;BA.debugLine="j.Initialize(\"\", Callback)";
_j._initialize /*String*/ (ba,"",_callback);
- //BA.debugLineNum = 1113;BA.debugLine="j.GetRequest.Timeout = 5000";
+ //BA.debugLineNum = 1122;BA.debugLine="j.GetRequest.Timeout = 5000";
_j._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ().setTimeout((int) (5000));
- //BA.debugLineNum = 1114;BA.debugLine="j.Download(link)";
+ //BA.debugLineNum = 1123;BA.debugLine="j.Download(link)";
_j._download /*String*/ (_link);
- //BA.debugLineNum = 1115;BA.debugLine="Return j";
+ //BA.debugLineNum = 1124;BA.debugLine="Return j";
if (true) return _j;
- //BA.debugLineNum = 1116;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1125;BA.debugLine="End Sub";
return null;
}
public String _user_enterpressed() throws Exception{
- //BA.debugLineNum = 566;BA.debugLine="Private Sub user_EnterPressed";
- //BA.debugLineNum = 567;BA.debugLine="If user.text = \"KMTS1\" Then Entrar.Enabled = True";
+ //BA.debugLineNum = 575;BA.debugLine="Private Sub user_EnterPressed";
+ //BA.debugLineNum = 576;BA.debugLine="If user.text = \"KMTS1\" Then Entrar.Enabled = True";
if ((_user.getText()).equals("KMTS1")) {
_entrar.setEnabled(__c.True);};
- //BA.debugLineNum = 568;BA.debugLine="End Sub";
+ //BA.debugLineNum = 577;BA.debugLine="End Sub";
return "";
}
public boolean _versionrevisadahoy() throws Exception{
boolean _revisada = false;
- //BA.debugLineNum = 1119;BA.debugLine="Sub versionRevisadaHoy As Boolean";
- //BA.debugLineNum = 1120;BA.debugLine="Private revisada As Boolean = False";
+ //BA.debugLineNum = 1128;BA.debugLine="Sub versionRevisadaHoy As Boolean";
+ //BA.debugLineNum = 1129;BA.debugLine="Private revisada As Boolean = False";
_revisada = __c.False;
- //BA.debugLineNum = 1121;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT";
+ //BA.debugLineNum = 1130;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"REVISION_APK"})));
- //BA.debugLineNum = 1122;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1131;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1123;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1132;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1124;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
+ //BA.debugLineNum = 1133;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\"";
__c.DateTime.setDateFormat("yyyyMMdd");
- //BA.debugLineNum = 1125;BA.debugLine="If DateTime.Date(DateTime.Now) = c.GetString(\"CA";
+ //BA.debugLineNum = 1134;BA.debugLine="If DateTime.Date(DateTime.Now) = c.GetString(\"CA";
if ((__c.DateTime.Date(__c.DateTime.getNow())).equals(_c.GetString("CAT_VA_VALOR"))) {
- //BA.debugLineNum = 1126;BA.debugLine="revisada = True";
+ //BA.debugLineNum = 1135;BA.debugLine="revisada = True";
_revisada = __c.True;
- //BA.debugLineNum = 1127;BA.debugLine="LogColor(\"La versión ya se revisó el día de hoy";
-__c.LogImpl("73342344","La versión ya se revisó el día de hoy.",__c.Colors.Red);
+ //BA.debugLineNum = 1136;BA.debugLine="LogColor(\"La versión ya se revisó el día de hoy";
+__c.LogImpl("43342344","La versión ya se revisó el día de hoy.",__c.Colors.Red);
};
};
- //BA.debugLineNum = 1133;BA.debugLine="Return False";
+ //BA.debugLineNum = 1142;BA.debugLine="Return False";
if (true) return __c.False;
- //BA.debugLineNum = 1135;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1144;BA.debugLine="End Sub";
return false;
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xorderedmap.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xorderedmap.java
index 7972c0e..ff43972 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xorderedmap.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xorderedmap.java
@@ -30,9 +30,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpages.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpages.java
index a23331b..00e044f 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpages.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpages.java
@@ -18,9 +18,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesdelegator.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesdelegator.java
index 0dc4a09..03d48b0 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesdelegator.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesdelegator.java
@@ -28,9 +28,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesmanager.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesmanager.java
index e25e582..1aa107d 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesmanager.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xpagesmanager.java
@@ -41,9 +41,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -197,7 +197,7 @@ _idtolower = _id.toLowerCase();
//BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then";
if (_idtob4xpage._containskey /*boolean*/ ((Object)(_idtolower))) {
//BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo";
-__c.LogImpl("967108867",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
+__c.LogImpl("968419587",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0);
//BA.debugLineNum = 145;BA.debugLine="Return";
if (true) return "";
};
@@ -312,7 +312,7 @@ _screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))
//BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then";
if (_screenorientation==-1) {
//BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus";
-__c.LogImpl("966977813","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
+__c.LogImpl("968288533","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red);
};
};
}
@@ -369,12 +369,12 @@ if (true) return "";};
//BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then";
if (_xui.getIsB4i() && (_gettoppage()).equals(_pi) == false) {
//BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")";
-__c.LogImpl("967371012","Only top page can be closed",0);
+__c.LogImpl("968681732","Only top page can be closed",0);
//BA.debugLineNum = 214;BA.debugLine="Return";
if (true) return "";
}else if(_xui.getIsB4i() && _mstackofpageids._getsize /*int*/ ()==1) {
//BA.debugLineNum = 216;BA.debugLine="Log(\"First page cannot be closed\")";
-__c.LogImpl("967371015","First page cannot be closed",0);
+__c.LogImpl("968681735","First page cannot be closed",0);
//BA.debugLineNum = 217;BA.debugLine="Return";
if (true) return "";
};
@@ -589,9 +589,9 @@ _pi = (gunav2.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get /*Ob
//BA.debugLineNum = 400;BA.debugLine="If pi = Null Then";
if (_pi== null) {
//BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)";
-__c.LogImpl("968026371","Error: page id not found: "+_id,0);
+__c.LogImpl("969337091","Error: page id not found: "+_id,0);
//BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore";
-__c.LogImpl("968026372","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
+__c.LogImpl("969337092","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0);
};
//BA.debugLineNum = 404;BA.debugLine="Return pi";
if (true) return _pi;
@@ -726,7 +726,7 @@ _addpageandcreate("MainPage",(Object)(_mainpage));
//BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then";
if (_logevents==__c.False) {
//BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t";
-__c.LogImpl("966912283","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
+__c.LogImpl("968223003","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0);
};
//BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then";
if (_nonmainpagewasadded) {
@@ -747,7 +747,7 @@ if (_logevents) {
//BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac";
_msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(_stackstring))+"");
//BA.debugLineNum = 643;BA.debugLine="Log(msg)";
-__c.LogImpl("969140483",_msg,0);
+__c.LogImpl("970451203",_msg,0);
};
//BA.debugLineNum = 645;BA.debugLine="End Sub";
return "";
@@ -799,7 +799,7 @@ __c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0
break; }
default: {
//BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")";
-__c.LogImpl("968616206","Too many parameters",0);
+__c.LogImpl("969926926","Too many parameters",0);
break; }
}
;
@@ -840,7 +840,7 @@ if (true) return __c.CallSubNew3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_pa
break; }
default: {
//BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")";
-__c.LogImpl("968681742","Too many parameters",0);
+__c.LogImpl("969992462","Too many parameters",0);
break; }
}
;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xplusminus.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xplusminus.java
index 01f5645..a9daeb6 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xplusminus.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xplusminus.java
@@ -54,9 +54,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xradiobutton.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xradiobutton.java
index 21e9fcc..e45acc9 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xradiobutton.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xradiobutton.java
@@ -48,9 +48,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xsearchtemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xsearchtemplate.java
index 893961a..76c3072 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xsearchtemplate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xsearchtemplate.java
@@ -46,9 +46,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -389,7 +389,7 @@ _count = (int) (_count+1);
}
};
//BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &";
-__c.LogImpl("988014879","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0);
+__c.LogImpl("989325599","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0);
//BA.debugLineNum = 228;BA.debugLine="AllItems = Items";
_allitems = _items;
//BA.debugLineNum = 229;BA.debugLine="Return Array(prefixList, substringList, AllItems)";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xseekbar.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xseekbar.java
index 6a1c973..46d3691 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xseekbar.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xseekbar.java
@@ -49,9 +49,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xset.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xset.java
index 7cdcf2e..45ea4b6 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xset.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xset.java
@@ -29,9 +29,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java
index 6615a14..1e756ed 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xsignaturetemplate.java
@@ -40,9 +40,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xswitch.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xswitch.java
index cf52e61..5a1a321 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xswitch.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xswitch.java
@@ -46,9 +46,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/b4xtimedtemplate.java b/B4A/Objects/src/gunav2/keymon/com/mx/b4xtimedtemplate.java
index 9f17260..c03dbed 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/b4xtimedtemplate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/b4xtimedtemplate.java
@@ -34,9 +34,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/batteryutilities.java b/B4A/Objects/src/gunav2/keymon/com/mx/batteryutilities.java
index 6278895..6b5dc5e 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/batteryutilities.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/batteryutilities.java
@@ -36,9 +36,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_bitacora.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_bitacora.java
index 61658f4..98e1a17 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_bitacora.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_bitacora.java
@@ -43,9 +43,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -66,7 +66,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 202;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
-__c.LogImpl("733357830",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
+__c.LogImpl("432505862",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
};
}
catch (Exception e9) {
@@ -74,14 +74,14 @@ __c.LogImpl("733357830",("Columna \""+__c.SmartStringFormatter("",(Object)(_colu
try { //BA.debugLineNum = 207;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 208;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
-__c.LogImpl("733357836",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
+__c.LogImpl("432505868",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
ba.setLastException(e13); //BA.debugLineNum = 210;BA.debugLine="Log(LastException)";
-__c.LogImpl("733357838",BA.ObjectToString(__c.LastException(ba)),0);
+__c.LogImpl("432505870",BA.ObjectToString(__c.LastException(ba)),0);
};
//BA.debugLineNum = 212;BA.debugLine="Log(2)";
-__c.LogImpl("733357840",BA.NumberToString(2),0);
+__c.LogImpl("432505872",BA.NumberToString(2),0);
};
//BA.debugLineNum = 214;BA.debugLine="End Sub";
return "";
@@ -96,7 +96,7 @@ _inivenno = __c.False;
if (_dentrodegeocerca) {
_precision = (int) (1);};
//BA.debugLineNum = 135;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}";
-__c.LogImpl("733095687",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
+__c.LogImpl("432243719",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
//BA.debugLineNum = 136;BA.debugLine="motivoNoVenta = \"\"";
_motivonoventa = "";
//BA.debugLineNum = 137;BA.debugLine="motivoNoVisita = \"\"";
@@ -110,7 +110,7 @@ _mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.
//BA.debugLineNum = 141;BA.debugLine="enVenta = False";
_enventa = __c.False;
//BA.debugLineNum = 142;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Colors";
-__c.LogImpl("733095694",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
+__c.LogImpl("432243726",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
//BA.debugLineNum = 143;BA.debugLine="iniciamosVenta";
_iniciamosventa();
//BA.debugLineNum = 144;BA.debugLine="B4XPages.ShowPageAndRemovePreviousPages(\"Princip";
@@ -131,7 +131,7 @@ _mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.
//BA.debugLineNum = 153;BA.debugLine="enVenta = True";
_enventa = __c.True;
//BA.debugLineNum = 154;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color";
-__c.LogImpl("733095706",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
+__c.LogImpl("432243738",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
}else if(_contadoriniciarventa==1 && _inivenno==__c.False && (_motivonoventa).equals("NO VENTA")) {
//BA.debugLineNum = 157;BA.debugLine="IniVenNO = True";
_inivenno = __c.True;
@@ -140,7 +140,7 @@ _mandabitacora(_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.
//BA.debugLineNum = 159;BA.debugLine="enVenta = True";
_enventa = __c.True;
//BA.debugLineNum = 160;BA.debugLine="LogColor($\">>>>>> EN VENTA: ${enVenta}\"$, Color";
-__c.LogImpl("733095712",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
+__c.LogImpl("432243744",(">>>>>> EN VENTA: "+__c.SmartStringFormatter("",(Object)(_enventa))+""),__c.Colors.Red);
}else if(_contadoriniciarventa>1) {
//BA.debugLineNum = 162;BA.debugLine="p_transparenteInicioFin2.Visible = False";
_p_transparenteiniciofin2.setVisible(__c.False);
@@ -149,7 +149,7 @@ _p_transparenteiniciofin2.setVisible(__c.False);
//BA.debugLineNum = 165;BA.debugLine="p_transparenteInicioFin2.Visible = False";
_p_transparenteiniciofin2.setVisible(__c.False);
//BA.debugLineNum = 166;BA.debugLine="LogColor($\">>>>>>>>>>>> EN VENTA : ${enVenta}";
-__c.LogImpl("733095718",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
+__c.LogImpl("432243750",(">>>>>>>>>>>> EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
//BA.debugLineNum = 167;BA.debugLine="End Sub";
return "";
}
@@ -170,11 +170,11 @@ return "";
public String _cargamospanel() throws Exception{
//BA.debugLineNum = 170;BA.debugLine="private Sub cargamosPanel";
//BA.debugLineNum = 171;BA.debugLine="Log(p_transparenteInicioFin2.IsInitialized)";
-__c.LogImpl("733161217",BA.ObjectToString(_p_transparenteiniciofin2.IsInitialized()),0);
+__c.LogImpl("432309249",BA.ObjectToString(_p_transparenteiniciofin2.IsInitialized()),0);
//BA.debugLineNum = 173;BA.debugLine="If Not(p_transparenteInicioFin2.IsInitialized) Th";
if (__c.Not(_p_transparenteiniciofin2.IsInitialized())) {
//BA.debugLineNum = 174;BA.debugLine="LogColor(\">>>>>>> CARGAMOS PANEL BITACORA\", Co";
-__c.LogImpl("733161220",">>>>>>> CARGAMOS PANEL BITACORA",__c.Colors.Red);
+__c.LogImpl("432309252",">>>>>>> CARGAMOS PANEL BITACORA",__c.Colors.Red);
//BA.debugLineNum = 175;BA.debugLine="Root2.LoadLayout(\"inicioFinVenta\")";
_root2.LoadLayout("inicioFinVenta",ba);
//BA.debugLineNum = 176;BA.debugLine="p_transparenteInicioFin2.Width = Root2.Width";
@@ -238,9 +238,9 @@ return "";
public String _iniciofin() throws Exception{
//BA.debugLineNum = 112;BA.debugLine="Sub inicioFin";
//BA.debugLineNum = 113;BA.debugLine="LogColor($\">>>>>>>>>>>> XX EN VENTA : ${enVenta";
-__c.LogImpl("733030145",(">>>>>>>>>>>> XX EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
+__c.LogImpl("432178177",(">>>>>>>>>>>> XX EN VENTA : "+__c.SmartStringFormatter("",(Object)(_enventa))+" <<<<<<<<<<<<"),__c.Colors.Blue);
//BA.debugLineNum = 114;BA.debugLine="Log(b_Inicio_Fin_venta2.Text)";
-__c.LogImpl("733030146",_b_inicio_fin_venta2.getText(),0);
+__c.LogImpl("432178178",_b_inicio_fin_venta2.getText(),0);
//BA.debugLineNum = 115;BA.debugLine="If enVenta = False Then";
if (_enventa==__c.False) {
//BA.debugLineNum = 116;BA.debugLine="p_transparenteInicioFin2.BringToFront";
@@ -283,18 +283,18 @@ public String _jobdone(gunav2.keymon.com.mx.httpjob _job) throws Exception{
gunav2.keymon.com.mx.dbrequestmanager._dbresult _result = null;
//BA.debugLineNum = 221;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 222;BA.debugLine="Log(\"JOBDONE BITACORA\")";
-__c.LogImpl("733488897","JOBDONE BITACORA",0);
+__c.LogImpl("432636929","JOBDONE BITACORA",0);
//BA.debugLineNum = 223;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 224;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo";
_result = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
//BA.debugLineNum = 225;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success}";
-__c.LogImpl("733488900",("Tag: "+__c.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+__c.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0);
+__c.LogImpl("432636932",("Tag: "+__c.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+__c.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0);
};
//BA.debugLineNum = 228;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
//BA.debugLineNum = 230;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re";
-__c.LogImpl("733488905","Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
+__c.LogImpl("432636937","Error: "+_job._errormessage /*String*/ ,__c.Colors.Red);
}else {
};
//BA.debugLineNum = 234;BA.debugLine="End Sub";
@@ -307,7 +307,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _e = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
//BA.debugLineNum = 37;BA.debugLine="Sub mandaBitacora(fechab As String, usuariob As St";
//BA.debugLineNum = 38;BA.debugLine="Log(motivoNoVisitab)";
-__c.LogImpl("732833537",_motivonovisitab,0);
+__c.LogImpl("431981569",_motivonovisitab,0);
//BA.debugLineNum = 40;BA.debugLine="Private cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
//BA.debugLineNum = 41;BA.debugLine="cmd.Initialize";
@@ -350,7 +350,7 @@ if (_e.getRowCount()>0) {
//BA.debugLineNum = 59;BA.debugLine="e.Position = 0";
_e.setPosition((int) (0));
//BA.debugLineNum = 60;BA.debugLine="Log(\"ACTUALIZA BITACORA\")";
-__c.LogImpl("732833559","ACTUALIZA BITACORA",0);
+__c.LogImpl("431981591","ACTUALIZA BITACORA",0);
//BA.debugLineNum = 61;BA.debugLine="If eventob = \"Termina Venta\" Then";
if ((_eventob).equals("Termina Venta")) {
//BA.debugLineNum = 62;BA.debugLine="db.ExecNonQuery($\"update BITACORAGPS set finb";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_cliente.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_cliente.java
index b7dd949..03e813d 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_cliente.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_cliente.java
@@ -474,13 +474,39 @@ public anywheresoftware.b4a.objects.EditTextWrapper _et_telefono = null;
public double _totalpromos = 0;
public double _totalpromostotal = 0;
public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chb_com = null;
+public anywheresoftware.b4a.objects.PanelWrapper _p_imagengrande = null;
+public anywheresoftware.b4a.objects.ImageViewWrapper _i_fotogrande = null;
+public anywheresoftware.b4a.objects.ScrollViewWrapper _scv_bat = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelencu = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _b_guadarenc = null;
+public anywheresoftware.b4a.objects.PanelWrapper _p_encu = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p1 = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p2 = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p3 = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p4 = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p5 = null;
+public String _e_1 = "";
+public String _e_2 = "";
+public String _e_3 = "";
+public String _e_4 = "";
+public String _e_5 = "";
+public String _e_6 = "";
+public String _e_7 = "";
+public String _e_8 = "";
+public String _e_9 = "";
+public String _e_10 = "";
+public gunav2.keymon.com.mx.b4xcombobox _cb_p6 = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p7 = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p8 = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p9 = null;
+public gunav2.keymon.com.mx.b4xcombobox _cb_p10 = null;
public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -489,509 +515,516 @@ public gunav2.keymon.com.mx.httputils2service _httputils2service = null;
public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null;
public String _b_acepatiende_click() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null;
- //BA.debugLineNum = 7963;BA.debugLine="Private Sub b_acepatiende_Click";
- //BA.debugLineNum = 7964;BA.debugLine="If et_atiende.Text <> \"\" Then";
+ //BA.debugLineNum = 8294;BA.debugLine="Private Sub b_acepatiende_Click";
+ //BA.debugLineNum = 8295;BA.debugLine="If et_atiende.Text <> \"\" Then";
if ((_et_atiende.getText()).equals("") == false) {
- //BA.debugLineNum = 7966;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 8297;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skmt";
_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from ATIENDE where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 7968;BA.debugLine="If coord.RowCount = 0 Then";
+ //BA.debugLineNum = 8299;BA.debugLine="If coord.RowCount = 0 Then";
if (_coord.getRowCount()==0) {
- //BA.debugLineNum = 7969;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ATIENDE(ATIENDE";
+ //BA.debugLineNum = 8300;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ATIENDE(ATIENDE";
_skmt.ExecNonQuery2("INSERT INTO ATIENDE(ATIENDE,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_atiende.getText(),_subs._traecliente /*String*/ (ba)}));
- //BA.debugLineNum = 7970;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km";
+ //BA.debugLineNum = 8301;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(_et_atiende.getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)"));
- //BA.debugLineNum = 7971;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
+ //BA.debugLineNum = 8302;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 7972;BA.debugLine="l_atiende.Text = et_atiende.Text";
+ //BA.debugLineNum = 8303;BA.debugLine="l_atiende.Text = et_atiende.Text";
_l_atiende.setText(BA.ObjectToCharSequence(_et_atiende.getText()));
- //BA.debugLineNum = 7973;BA.debugLine="ime.HideKeyboard";
+ //BA.debugLineNum = 8304;BA.debugLine="ime.HideKeyboard";
_ime.HideKeyboard(ba);
- //BA.debugLineNum = 7974;BA.debugLine="p_atiende.Visible = False";
+ //BA.debugLineNum = 8305;BA.debugLine="p_atiende.Visible = False";
_p_atiende.setVisible(__c.False);
- //BA.debugLineNum = 7975;BA.debugLine="et_atiende.Text = \"\"";
+ //BA.debugLineNum = 8306;BA.debugLine="et_atiende.Text = \"\"";
_et_atiende.setText(BA.ObjectToCharSequence(""));
}else {
- //BA.debugLineNum = 7977;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE ATIENDE SET ATIENDE";
+ //BA.debugLineNum = 8308;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE ATIENDE SET ATIENDE";
_skmt.ExecNonQuery2("UPDATE ATIENDE SET ATIENDE = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_atiende.getText()}));
- //BA.debugLineNum = 7978;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km";
+ //BA.debugLineNum = 8309;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE km";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = '"+__c.SmartStringFormatter("",(Object)(_et_atiende.getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)"));
- //BA.debugLineNum = 7979;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
+ //BA.debugLineNum = 8310;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 7980;BA.debugLine="l_atiende.Text = et_atiende.Text";
+ //BA.debugLineNum = 8311;BA.debugLine="l_atiende.Text = et_atiende.Text";
_l_atiende.setText(BA.ObjectToCharSequence(_et_atiende.getText()));
- //BA.debugLineNum = 7981;BA.debugLine="ime.HideKeyboard";
+ //BA.debugLineNum = 8312;BA.debugLine="ime.HideKeyboard";
_ime.HideKeyboard(ba);
- //BA.debugLineNum = 7982;BA.debugLine="p_atiende.Visible = False";
+ //BA.debugLineNum = 8313;BA.debugLine="p_atiende.Visible = False";
_p_atiende.setVisible(__c.False);
- //BA.debugLineNum = 7983;BA.debugLine="et_atiende.Text = \"\"";
+ //BA.debugLineNum = 8314;BA.debugLine="et_atiende.Text = \"\"";
_et_atiende.setText(BA.ObjectToCharSequence(""));
};
}else {
- //BA.debugLineNum = 7988;BA.debugLine="MsgboxAsync(\"Por favor captura un nombre valido.";
+ //BA.debugLineNum = 8319;BA.debugLine="MsgboxAsync(\"Por favor captura un nombre valido.";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un nombre valido."),BA.ObjectToCharSequence("Atención"),ba);
};
- //BA.debugLineNum = 7990;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8321;BA.debugLine="End Sub";
return "";
}
public String _b_acepta_gallina_click() throws Exception{
- //BA.debugLineNum = 5470;BA.debugLine="Private Sub B_ACEPTA_GALLINA_Click";
- //BA.debugLineNum = 5473;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 5801;BA.debugLine="Private Sub B_ACEPTA_GALLINA_Click";
+ //BA.debugLineNum = 5804;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 5474;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 5805;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 5475;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 5806;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 5476;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")";
+ //BA.debugLineNum = 5807;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("Select CUENTA from cuentaa")));
- //BA.debugLineNum = 5477;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 5808;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 5478;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
+ //BA.debugLineNum = 5809;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
_clie_id = _c.GetString("CUENTA");
- //BA.debugLineNum = 5479;BA.debugLine="c.Close";
+ //BA.debugLineNum = 5810;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 5480;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 5811;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 5481;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 5812;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 5482;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 5813;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
- //BA.debugLineNum = 5483;BA.debugLine="c.Close";
+ //BA.debugLineNum = 5814;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 5484;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA";
+ //BA.debugLineNum = 5815;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
- //BA.debugLineNum = 5485;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 5816;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 5486;BA.debugLine="C.Position=0";
+ //BA.debugLineNum = 5817;BA.debugLine="C.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 5487;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
+ //BA.debugLineNum = 5818;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
_almacen = _c.GetString("ID_ALMACEN");
};
- //BA.debugLineNum = 5489;BA.debugLine="c.Close";
+ //BA.debugLineNum = 5820;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 5490;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS";
+ //BA.debugLineNum = 5821;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS";
_skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(0),(Object)(0),(Object)(1),(Object)("1 KNORR SUIZA EXH C/50/22 GR +1 KNORR SUIZA GALLINA $279.00"),(Object)("PRO1771"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)}));
- //BA.debugLineNum = 5491;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS";
+ //BA.debugLineNum = 5822;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS";
_skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(139.5),(Object)(139.5),(Object)(1),(Object)("KNORR SUIZA EXH C/50/22 GR"),(Object)("UNI047"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)}));
- //BA.debugLineNum = 5492;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS";
+ //BA.debugLineNum = 5823;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (PE_CEDIS";
_skmt.ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRO1771"),(Object)(139.5),(Object)(139.5),(Object)(1),(Object)("KNORR SUIZA GALLINA"),(Object)("UNI860"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)}));
- //BA.debugLineNum = 5494;BA.debugLine="c=skmt.ExecQuery(\"select sum(pe_costo_tot) as TOT";
+ //BA.debugLineNum = 5825;BA.debugLine="c=skmt.ExecQuery(\"select sum(pe_costo_tot) as TOT";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 5495;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 5826;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 5496;BA.debugLine="skmt.ExecNonQuery(\"delete from pedido_cliente whe";
+ //BA.debugLineNum = 5827;BA.debugLine="skmt.ExecNonQuery(\"delete from pedido_cliente whe";
_skmt.ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");
- //BA.debugLineNum = 5497;BA.debugLine="skmt.ExecNonQuery2(\"insert into pedido_cliente(PC";
+ //BA.debugLineNum = 5828;BA.debugLine="skmt.ExecNonQuery2(\"insert into pedido_cliente(PC";
_skmt.ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_la_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))}));
- //BA.debugLineNum = 5498;BA.debugLine="skmt.ExecNonQuery(\"UPDATE kmt_info3 set gestion =";
+ //BA.debugLineNum = 5829;BA.debugLine="skmt.ExecNonQuery(\"UPDATE kmt_info3 set gestion =";
_skmt.ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)");
- //BA.debugLineNum = 5502;BA.debugLine="B_GALLINA.Visible = False";
+ //BA.debugLineNum = 5833;BA.debugLine="B_GALLINA.Visible = False";
_b_gallina.setVisible(__c.False);
- //BA.debugLineNum = 5503;BA.debugLine="b_like.Visible = True";
+ //BA.debugLineNum = 5834;BA.debugLine="b_like.Visible = True";
_b_like.setVisible(__c.True);
- //BA.debugLineNum = 5504;BA.debugLine="Tar.Visible = True";
+ //BA.debugLineNum = 5835;BA.debugLine="Tar.Visible = True";
_tar.setVisible(__c.True);
- //BA.debugLineNum = 5505;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 5836;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 5506;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 5837;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 5508;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 5839;BA.debugLine="b_like.Visible = False";
_b_like.setVisible(__c.False);
- //BA.debugLineNum = 5509;BA.debugLine="Guardar.Visible = True";
+ //BA.debugLineNum = 5840;BA.debugLine="Guardar.Visible = True";
_guardar.setVisible(__c.True);
- //BA.debugLineNum = 5510;BA.debugLine="P_gallina.Visible = False";
+ //BA.debugLineNum = 5841;BA.debugLine="P_gallina.Visible = False";
_p_gallina.setVisible(__c.False);
- //BA.debugLineNum = 5511;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5842;BA.debugLine="End Sub";
return "";
}
public String _b_aceptelefono_click() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null;
- //BA.debugLineNum = 8010;BA.debugLine="Private Sub b_aceptelefono_Click";
- //BA.debugLineNum = 8011;BA.debugLine="If et_telefono.Text <> \"\" Then";
+ //BA.debugLineNum = 8341;BA.debugLine="Private Sub b_aceptelefono_Click";
+ //BA.debugLineNum = 8342;BA.debugLine="If et_telefono.Text <> \"\" Then";
if ((_et_telefono.getText()).equals("") == false) {
- //BA.debugLineNum = 8012;BA.debugLine="If et_telefono.Text.Length = 10 Then";
+ //BA.debugLineNum = 8343;BA.debugLine="If et_telefono.Text.Length = 10 Then";
if (_et_telefono.getText().length()==10) {
- //BA.debugLineNum = 8014;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skm";
+ //BA.debugLineNum = 8345;BA.debugLine="Private coord As Cursor = B4XPages.MainPage.skm";
_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * from TELEFONO where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 8016;BA.debugLine="If coord.RowCount = 0 Then";
+ //BA.debugLineNum = 8347;BA.debugLine="If coord.RowCount = 0 Then";
if (_coord.getRowCount()==0) {
- //BA.debugLineNum = 8017;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO TELEFONO(TELEF";
+ //BA.debugLineNum = 8348;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO TELEFONO(TELEF";
_skmt.ExecNonQuery2("INSERT INTO TELEFONO(TELEFONO,CLIENTE) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_telefono.getText(),_subs._traecliente /*String*/ (ba)}));
- //BA.debugLineNum = 8018;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k";
+ //BA.debugLineNum = 8349;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"+__c.SmartStringFormatter("",(Object)(_et_telefono.getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)"));
- //BA.debugLineNum = 8019;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
+ //BA.debugLineNum = 8350;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 8020;BA.debugLine="Label19.Text = et_telefono.Text";
+ //BA.debugLineNum = 8351;BA.debugLine="Label19.Text = et_telefono.Text";
_label19.setText(BA.ObjectToCharSequence(_et_telefono.getText()));
- //BA.debugLineNum = 8021;BA.debugLine="ime.HideKeyboard";
+ //BA.debugLineNum = 8352;BA.debugLine="ime.HideKeyboard";
_ime.HideKeyboard(ba);
- //BA.debugLineNum = 8022;BA.debugLine="p_telefono.Visible = False";
+ //BA.debugLineNum = 8353;BA.debugLine="p_telefono.Visible = False";
_p_telefono.setVisible(__c.False);
- //BA.debugLineNum = 8023;BA.debugLine="et_telefono.Text = \"\"";
+ //BA.debugLineNum = 8354;BA.debugLine="et_telefono.Text = \"\"";
_et_telefono.setText(BA.ObjectToCharSequence(""));
}else {
- //BA.debugLineNum = 8025;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE TELEFONO SET TELEFO";
+ //BA.debugLineNum = 8356;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE TELEFONO SET TELEFO";
_skmt.ExecNonQuery2("UPDATE TELEFONO SET TELEFONO = ? where CLIENTE IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_telefono.getText()}));
- //BA.debugLineNum = 8026;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k";
+ //BA.debugLineNum = 8357;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE k";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE kmt_info3 set CAT_CL_TELEFONO = '"+__c.SmartStringFormatter("",(Object)(_et_telefono.getText()))+"' where CAT_CL_CODIGO In (select cuenta from cuentaa)"));
- //BA.debugLineNum = 8027;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
+ //BA.debugLineNum = 8358;BA.debugLine="MsgboxAsync(\"Datos actualizados.\",\"Atención\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Datos actualizados."),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 8028;BA.debugLine="Label19.Text = et_telefono.Text";
+ //BA.debugLineNum = 8359;BA.debugLine="Label19.Text = et_telefono.Text";
_label19.setText(BA.ObjectToCharSequence(_et_telefono.getText()));
- //BA.debugLineNum = 8030;BA.debugLine="ime.HideKeyboard";
+ //BA.debugLineNum = 8361;BA.debugLine="ime.HideKeyboard";
_ime.HideKeyboard(ba);
- //BA.debugLineNum = 8031;BA.debugLine="p_telefono.Visible = False";
+ //BA.debugLineNum = 8362;BA.debugLine="p_telefono.Visible = False";
_p_telefono.setVisible(__c.False);
- //BA.debugLineNum = 8032;BA.debugLine="et_telefono.Text = \"\"";
+ //BA.debugLineNum = 8363;BA.debugLine="et_telefono.Text = \"\"";
_et_telefono.setText(BA.ObjectToCharSequence(""));
};
}else {
- //BA.debugLineNum = 8036;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de tel";
+ //BA.debugLineNum = 8367;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de tel";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un numero de teléfono valido."),BA.ObjectToCharSequence("Atención"),ba);
};
}else {
- //BA.debugLineNum = 8039;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de telé";
+ //BA.debugLineNum = 8370;BA.debugLine="MsgboxAsync(\"Por favor captura un numero de telé";
__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura un numero de teléfono valido."),BA.ObjectToCharSequence("Atención"),ba);
};
- //BA.debugLineNum = 8041;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8372;BA.debugLine="End Sub";
return "";
}
public String _b_agregarcom_click() throws Exception{
anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
int _i = 0;
String _itemtext = "";
- //BA.debugLineNum = 7658;BA.debugLine="Private Sub b_agregarcom_Click";
- //BA.debugLineNum = 7660;BA.debugLine="If et_comentario.Text <> \"\" Then";
+ //BA.debugLineNum = 7989;BA.debugLine="Private Sub b_agregarcom_Click";
+ //BA.debugLineNum = 7991;BA.debugLine="If et_comentario.Text <> \"\" Then";
if ((_et_comentario.getText()).equals("") == false) {
- //BA.debugLineNum = 7661;BA.debugLine="If chb_com.Checked Then";
+ //BA.debugLineNum = 7992;BA.debugLine="If chb_com.Checked Then";
if (_chb_com.getChecked()) {
- //BA.debugLineNum = 7662;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in";
+ //BA.debugLineNum = 7993;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"+__c.SmartStringFormatter("",(Object)(_et_comentario.getText()))+"','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"',1)"));
}else if(_chb_com.getChecked()==__c.False) {
- //BA.debugLineNum = 7664;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in";
+ //BA.debugLineNum = 7995;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert in";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into COMENTARIOS (COMENTARTIO, CLIENTE,comentario_tmp) values ('"+__c.SmartStringFormatter("",(Object)(_et_comentario.getText()))+"','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"',0)"));
};
- //BA.debugLineNum = 7667;BA.debugLine="Dim label1 As Label";
+ //BA.debugLineNum = 7998;BA.debugLine="Dim label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 7668;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label";
+ //BA.debugLineNum = 7999;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label";
_label1 = _lv_comentarios.getSingleLineLayout().Label;
- //BA.debugLineNum = 7669;BA.debugLine="label1.TextSize = 16";
+ //BA.debugLineNum = 8000;BA.debugLine="label1.TextSize = 16";
_label1.setTextSize((float) (16));
- //BA.debugLineNum = 7670;BA.debugLine="label1.TextColor = Colors.White";
+ //BA.debugLineNum = 8001;BA.debugLine="label1.TextColor = Colors.White";
_label1.setTextColor(__c.Colors.White);
- //BA.debugLineNum = 7675;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DE";
+ //BA.debugLineNum = 8006;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DE";
_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD));
- //BA.debugLineNum = 7680;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"se";
+ //BA.debugLineNum = 8011;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"se";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COMENTARTIO FROM COMENTARIOS WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 7681;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor";
+ //BA.debugLineNum = 8012;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor";
_lv_comentarios.getSingleLineLayout().Label.setTextColor(__c.Colors.Black);
- //BA.debugLineNum = 7682;BA.debugLine="lv_comentarios.Clear";
+ //BA.debugLineNum = 8013;BA.debugLine="lv_comentarios.Clear";
_lv_comentarios.Clear();
- //BA.debugLineNum = 7683;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 8014;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 7684;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 8015;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step16 = 1;
final int limit16 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit16 ;_i = _i + step16 ) {
- //BA.debugLineNum = 7685;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 8016;BA.debugLine="c.Position = i";
_c.setPosition(_i);
- //BA.debugLineNum = 7686;BA.debugLine="Dim itemText As String";
+ //BA.debugLineNum = 8017;BA.debugLine="Dim itemText As String";
_itemtext = "";
- //BA.debugLineNum = 7688;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$";
+ //BA.debugLineNum = 8019;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$";
_itemtext = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("COMENTARTIO")))+"");
- //BA.debugLineNum = 7689;BA.debugLine="lv_comentarios.AddSingleLine(itemText)";
+ //BA.debugLineNum = 8020;BA.debugLine="lv_comentarios.AddSingleLine(itemText)";
_lv_comentarios.AddSingleLine(BA.ObjectToCharSequence(_itemtext));
}
};
}else {
- //BA.debugLineNum = 7693;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos disp";
+ //BA.debugLineNum = 8024;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos disp";
_lv_comentarios.AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles."));
};
- //BA.debugLineNum = 7695;BA.debugLine="c.Close";
+ //BA.debugLineNum = 8026;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 7696;BA.debugLine="et_comentario.Text = \"\"";
+ //BA.debugLineNum = 8027;BA.debugLine="et_comentario.Text = \"\"";
_et_comentario.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 7699;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8030;BA.debugLine="End Sub";
return "";
}
public String _b_cancela_gallina_click() throws Exception{
- //BA.debugLineNum = 5513;BA.debugLine="Private Sub B_CANCELA_GALLINA_Click";
- //BA.debugLineNum = 5514;BA.debugLine="P_gallina.Visible = False";
+ //BA.debugLineNum = 5844;BA.debugLine="Private Sub B_CANCELA_GALLINA_Click";
+ //BA.debugLineNum = 5845;BA.debugLine="P_gallina.Visible = False";
_p_gallina.setVisible(__c.False);
- //BA.debugLineNum = 5516;BA.debugLine="B_GALLINA.Visible = False";
+ //BA.debugLineNum = 5847;BA.debugLine="B_GALLINA.Visible = False";
_b_gallina.setVisible(__c.False);
- //BA.debugLineNum = 5517;BA.debugLine="b_like.Visible = True";
+ //BA.debugLineNum = 5848;BA.debugLine="b_like.Visible = True";
_b_like.setVisible(__c.True);
- //BA.debugLineNum = 5518;BA.debugLine="Tar.Visible = True";
+ //BA.debugLineNum = 5849;BA.debugLine="Tar.Visible = True";
_tar.setVisible(__c.True);
- //BA.debugLineNum = 5519;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 5850;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 5520;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 5851;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 5522;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 5853;BA.debugLine="b_like.Visible = False";
_b_like.setVisible(__c.False);
- //BA.debugLineNum = 5523;BA.debugLine="Guardar.Visible = True";
+ //BA.debugLineNum = 5854;BA.debugLine="Guardar.Visible = True";
_guardar.setVisible(__c.True);
- //BA.debugLineNum = 5526;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5857;BA.debugLine="End Sub";
return "";
}
public String _b_cancelarcodigoautorizacion_click() throws Exception{
- //BA.debugLineNum = 6795;BA.debugLine="Private Sub b_cancelarCodigoAutorizacion_Click";
- //BA.debugLineNum = 6796;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
+ //BA.debugLineNum = 7126;BA.debugLine="Private Sub b_cancelarCodigoAutorizacion_Click";
+ //BA.debugLineNum = 7127;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
_p_transparenteticketimpreso.setVisible(__c.False);
- //BA.debugLineNum = 6797;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7128;BA.debugLine="End Sub";
return "";
}
public String _b_cancelarenviopdf_click() throws Exception{
- //BA.debugLineNum = 7525;BA.debugLine="Private Sub b_cancelarEnvioPDF_Click";
- //BA.debugLineNum = 7526;BA.debugLine="p_transparentePDF.Visible = False";
+ //BA.debugLineNum = 7856;BA.debugLine="Private Sub b_cancelarEnvioPDF_Click";
+ //BA.debugLineNum = 7857;BA.debugLine="p_transparentePDF.Visible = False";
_p_transparentepdf.setVisible(__c.False);
- //BA.debugLineNum = 7527;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7858;BA.debugLine="End Sub";
return "";
}
public String _b_cancelatiende_click() throws Exception{
- //BA.debugLineNum = 7992;BA.debugLine="Private Sub b_cancelatiende_Click";
- //BA.debugLineNum = 7993;BA.debugLine="p_atiende.Visible = False";
+ //BA.debugLineNum = 8323;BA.debugLine="Private Sub b_cancelatiende_Click";
+ //BA.debugLineNum = 8324;BA.debugLine="p_atiende.Visible = False";
_p_atiende.setVisible(__c.False);
- //BA.debugLineNum = 7994;BA.debugLine="et_atiende.Text = \"\"";
+ //BA.debugLineNum = 8325;BA.debugLine="et_atiende.Text = \"\"";
_et_atiende.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 7995;BA.debugLine="ime.HideKeyboard";
+ //BA.debugLineNum = 8326;BA.debugLine="ime.HideKeyboard";
_ime.HideKeyboard(ba);
- //BA.debugLineNum = 7996;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8327;BA.debugLine="End Sub";
+return "";
+}
+public String _b_cancelencu_click() throws Exception{
+ //BA.debugLineNum = 8466;BA.debugLine="Private Sub b_cancelencu_Click";
+ //BA.debugLineNum = 8467;BA.debugLine="scv_bat.Visible = False";
+_scv_bat.setVisible(__c.False);
+ //BA.debugLineNum = 8468;BA.debugLine="End Sub";
return "";
}
public String _b_canceltelefono_click() throws Exception{
- //BA.debugLineNum = 8043;BA.debugLine="Private Sub b_canceltelefono_Click";
- //BA.debugLineNum = 8044;BA.debugLine="p_telefono.Visible = False";
+ //BA.debugLineNum = 8374;BA.debugLine="Private Sub b_canceltelefono_Click";
+ //BA.debugLineNum = 8375;BA.debugLine="p_telefono.Visible = False";
_p_telefono.setVisible(__c.False);
- //BA.debugLineNum = 8045;BA.debugLine="et_telefono.Text = \"\"";
+ //BA.debugLineNum = 8376;BA.debugLine="et_telefono.Text = \"\"";
_et_telefono.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 8046;BA.debugLine="ime.HideKeyboard";
+ //BA.debugLineNum = 8377;BA.debugLine="ime.HideKeyboard";
_ime.HideKeyboard(ba);
- //BA.debugLineNum = 8047;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8378;BA.debugLine="End Sub";
return "";
}
public String _b_cerarcom_click() throws Exception{
- //BA.debugLineNum = 7653;BA.debugLine="Private Sub b_cerarcom_Click";
- //BA.debugLineNum = 7654;BA.debugLine="p_comentario.Visible = False";
+ //BA.debugLineNum = 7984;BA.debugLine="Private Sub b_cerarcom_Click";
+ //BA.debugLineNum = 7985;BA.debugLine="p_comentario.Visible = False";
_p_comentario.setVisible(__c.False);
- //BA.debugLineNum = 7655;BA.debugLine="et_comentario.Text = \"\"";
+ //BA.debugLineNum = 7986;BA.debugLine="et_comentario.Text = \"\"";
_et_comentario.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 7656;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7987;BA.debugLine="End Sub";
return "";
}
public String _b_chk_e_click() throws Exception{
- //BA.debugLineNum = 6542;BA.debugLine="Private Sub b_chk_e_Click";
- //BA.debugLineNum = 6544;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6873;BA.debugLine="Private Sub b_chk_e_Click";
+ //BA.debugLineNum = 6875;BA.debugLine="End Sub";
return "";
}
public String _b_codigoautorizacion_click() throws Exception{
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
- //BA.debugLineNum = 6777;BA.debugLine="Private Sub b_codigoAutorizacion_Click";
- //BA.debugLineNum = 6778;BA.debugLine="If et_codigoAutorizacion.Text <> \"KMTS1\" Then";
+ //BA.debugLineNum = 7108;BA.debugLine="Private Sub b_codigoAutorizacion_Click";
+ //BA.debugLineNum = 7109;BA.debugLine="If et_codigoAutorizacion.Text <> \"KMTS1\" Then";
if ((_et_codigoautorizacion.getText()).equals("KMTS1") == false) {
- //BA.debugLineNum = 6779;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 7110;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 6780;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 7111;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 6781;BA.debugLine="cmd.Name = \"select_codigoAutorizacion\"";
+ //BA.debugLineNum = 7112;BA.debugLine="cmd.Name = \"select_codigoAutorizacion\"";
_cmd.Name /*String*/ = "select_codigoAutorizacion";
- //BA.debugLineNum = 6782;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAutori";
+ //BA.debugLineNum = 7113;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAutori";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_et_codigoautorizacion.getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))};
- //BA.debugLineNum = 6783;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"codigoAutoriza";
+ //BA.debugLineNum = 7114;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"codigoAutoriza";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("codigoAutorizacion"));
}else {
- //BA.debugLineNum = 6785;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket_im";
+ //BA.debugLineNum = 7116;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket_im";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)");
- //BA.debugLineNum = 6786;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
+ //BA.debugLineNum = 7117;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
_p_transparenteticketimpreso.setVisible(__c.False);
- //BA.debugLineNum = 6787;BA.debugLine="et_codigoAutorizacion.Text = \"\"";
+ //BA.debugLineNum = 7118;BA.debugLine="et_codigoAutorizacion.Text = \"\"";
_et_codigoautorizacion.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 6788;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
+ //BA.debugLineNum = 7119;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)");
- //BA.debugLineNum = 6789;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CREDIT";
+ //BA.debugLineNum = 7120;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CREDIT";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)");
};
- //BA.debugLineNum = 6791;BA.debugLine="teclado.HideKeyboard";
+ //BA.debugLineNum = 7122;BA.debugLine="teclado.HideKeyboard";
_teclado.HideKeyboard(ba);
- //BA.debugLineNum = 6793;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7124;BA.debugLine="End Sub";
return "";
}
public String _b_comentarios_click() throws Exception{
anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
int _i = 0;
String _itemtext = "";
- //BA.debugLineNum = 7617;BA.debugLine="Private Sub b_comentarios_Click";
- //BA.debugLineNum = 7618;BA.debugLine="p_comentario.Visible = True";
+ //BA.debugLineNum = 7948;BA.debugLine="Private Sub b_comentarios_Click";
+ //BA.debugLineNum = 7949;BA.debugLine="p_comentario.Visible = True";
_p_comentario.setVisible(__c.True);
- //BA.debugLineNum = 7619;BA.debugLine="et_comentario.Text = \"\"";
+ //BA.debugLineNum = 7950;BA.debugLine="et_comentario.Text = \"\"";
_et_comentario.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 7620;BA.debugLine="Dim label1 As Label";
+ //BA.debugLineNum = 7951;BA.debugLine="Dim label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 7621;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label";
+ //BA.debugLineNum = 7952;BA.debugLine="label1 = lv_comentarios.SingleLineLayout.Label";
_label1 = _lv_comentarios.getSingleLineLayout().Label;
- //BA.debugLineNum = 7622;BA.debugLine="label1.TextSize = 16";
+ //BA.debugLineNum = 7953;BA.debugLine="label1.TextSize = 16";
_label1.setTextSize((float) (16));
- //BA.debugLineNum = 7623;BA.debugLine="label1.TextColor = Colors.White";
+ //BA.debugLineNum = 7954;BA.debugLine="label1.TextColor = Colors.White";
_label1.setTextColor(__c.Colors.White);
- //BA.debugLineNum = 7628;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF";
+ //BA.debugLineNum = 7959;BA.debugLine="label1.Typeface = Typeface.CreateNew(Typeface.DEF";
_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD));
- //BA.debugLineNum = 7633;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel";
+ //BA.debugLineNum = 7964;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COMENTARTIO FROM COMENTARIOS WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 7634;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor =";
+ //BA.debugLineNum = 7965;BA.debugLine="lv_comentarios.SingleLineLayout.Label.TextColor =";
_lv_comentarios.getSingleLineLayout().Label.setTextColor(__c.Colors.Black);
- //BA.debugLineNum = 7635;BA.debugLine="lv_comentarios.Clear";
+ //BA.debugLineNum = 7966;BA.debugLine="lv_comentarios.Clear";
_lv_comentarios.Clear();
- //BA.debugLineNum = 7636;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 7967;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 7637;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 7968;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step12 = 1;
final int limit12 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit12 ;_i = _i + step12 ) {
- //BA.debugLineNum = 7638;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 7969;BA.debugLine="c.Position = i";
_c.setPosition(_i);
- //BA.debugLineNum = 7639;BA.debugLine="Dim itemText As String";
+ //BA.debugLineNum = 7970;BA.debugLine="Dim itemText As String";
_itemtext = "";
- //BA.debugLineNum = 7641;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$";
+ //BA.debugLineNum = 7972;BA.debugLine="itemText = $\"${c.GetString(\"COMENTARTIO\")}\"$";
_itemtext = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("COMENTARTIO")))+"");
- //BA.debugLineNum = 7642;BA.debugLine="lv_comentarios.AddSingleLine(itemText)";
+ //BA.debugLineNum = 7973;BA.debugLine="lv_comentarios.AddSingleLine(itemText)";
_lv_comentarios.AddSingleLine(BA.ObjectToCharSequence(_itemtext));
}
};
}else {
- //BA.debugLineNum = 7646;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos dispo";
+ //BA.debugLineNum = 7977;BA.debugLine="lv_comentarios.AddSingleLine(\"No hay datos dispo";
_lv_comentarios.AddSingleLine(BA.ObjectToCharSequence("No hay datos disponibles."));
};
- //BA.debugLineNum = 7651;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7982;BA.debugLine="End Sub";
return "";
}
public String _b_e_next_click() throws Exception{
- //BA.debugLineNum = 4682;BA.debugLine="Sub B_E_NEXT_Click";
- //BA.debugLineNum = 4683;BA.debugLine="If E_RES_E.Text <> \"\" Then";
+ //BA.debugLineNum = 5013;BA.debugLine="Sub B_E_NEXT_Click";
+ //BA.debugLineNum = 5014;BA.debugLine="If E_RES_E.Text <> \"\" Then";
if ((_e_res_e.getText()).equals("") == false) {
- //BA.debugLineNum = 4684;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int";
+ //BA.debugLineNum = 5015;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_la_cuenta.getText()),(Object)(_e_res_e.getText()),(Object)(_sdate+_stime),(Object)("DONDE")}));
- //BA.debugLineNum = 4685;BA.debugLine="Panel2.Visible = False";
+ //BA.debugLineNum = 5016;BA.debugLine="Panel2.Visible = False";
_panel2.setVisible(__c.False);
- //BA.debugLineNum = 4686;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
+ //BA.debugLineNum = 5017;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
_b4xpages._showpage /*String*/ (ba,"Productos");
}else {
- //BA.debugLineNum = 4688;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore";
+ //BA.debugLineNum = 5019;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore";
__c.Msgbox(BA.ObjectToCharSequence("SIN RESPUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
};
- //BA.debugLineNum = 4690;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5021;BA.debugLine="End Sub";
return "";
}
public String _b_encuesta_1_click() throws Exception{
anywheresoftware.b4a.objects.ButtonWrapper _btn = null;
- //BA.debugLineNum = 6466;BA.debugLine="Private Sub b_encuesta_1_Click";
- //BA.debugLineNum = 6467;BA.debugLine="Log(\"BOTON 1 CLICK\")";
-__c.LogImpl("724576001","BOTON 1 CLICK",0);
- //BA.debugLineNum = 6468;BA.debugLine="Dim btn As Button = Sender";
+ //BA.debugLineNum = 6797;BA.debugLine="Private Sub b_encuesta_1_Click";
+ //BA.debugLineNum = 6798;BA.debugLine="Log(\"BOTON 1 CLICK\")";
+__c.LogImpl("424707073","BOTON 1 CLICK",0);
+ //BA.debugLineNum = 6799;BA.debugLine="Dim btn As Button = Sender";
_btn = new anywheresoftware.b4a.objects.ButtonWrapper();
_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)));
- //BA.debugLineNum = 6469;BA.debugLine="Log(\"BOTON 1 CLICKED \"& \" clicked - \" & btn.Text";
-__c.LogImpl("724576003","BOTON 1 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
- //BA.debugLineNum = 6470;BA.debugLine="encuestaRes = btn.Text";
+ //BA.debugLineNum = 6800;BA.debugLine="Log(\"BOTON 1 CLICKED \"& \" clicked - \" & btn.Text";
+__c.LogImpl("424707075","BOTON 1 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
+ //BA.debugLineNum = 6801;BA.debugLine="encuestaRes = btn.Text";
_encuestares = _btn.getText();
- //BA.debugLineNum = 6471;BA.debugLine="indicePregunta = btn.Tag";
+ //BA.debugLineNum = 6802;BA.debugLine="indicePregunta = btn.Tag";
_indicepregunta = (int)(BA.ObjectToNumber(_btn.getTag()));
- //BA.debugLineNum = 6472;BA.debugLine="ocultaPanelEncuesta";
+ //BA.debugLineNum = 6803;BA.debugLine="ocultaPanelEncuesta";
_ocultapanelencuesta();
- //BA.debugLineNum = 6473;BA.debugLine="botonPresionado = 1";
+ //BA.debugLineNum = 6804;BA.debugLine="botonPresionado = 1";
_botonpresionado = (int) (1);
- //BA.debugLineNum = 6474;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6805;BA.debugLine="End Sub";
return "";
}
public String _b_encuesta_2_click() throws Exception{
anywheresoftware.b4a.objects.ButtonWrapper _btn = null;
- //BA.debugLineNum = 6476;BA.debugLine="Private Sub b_encuesta_2_Click";
- //BA.debugLineNum = 6477;BA.debugLine="Log(\"BOTON 2 CLICK\")";
-__c.LogImpl("724641537","BOTON 2 CLICK",0);
- //BA.debugLineNum = 6478;BA.debugLine="Dim btn As Button = Sender";
+ //BA.debugLineNum = 6807;BA.debugLine="Private Sub b_encuesta_2_Click";
+ //BA.debugLineNum = 6808;BA.debugLine="Log(\"BOTON 2 CLICK\")";
+__c.LogImpl("424772609","BOTON 2 CLICK",0);
+ //BA.debugLineNum = 6809;BA.debugLine="Dim btn As Button = Sender";
_btn = new anywheresoftware.b4a.objects.ButtonWrapper();
_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)));
- //BA.debugLineNum = 6479;BA.debugLine="Log(\"BOTON 2 CLICKED \"& \" clicked - \" & btn.Text";
-__c.LogImpl("724641539","BOTON 2 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
- //BA.debugLineNum = 6480;BA.debugLine="encuestaRes = btn.Text";
+ //BA.debugLineNum = 6810;BA.debugLine="Log(\"BOTON 2 CLICKED \"& \" clicked - \" & btn.Text";
+__c.LogImpl("424772611","BOTON 2 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
+ //BA.debugLineNum = 6811;BA.debugLine="encuestaRes = btn.Text";
_encuestares = _btn.getText();
- //BA.debugLineNum = 6481;BA.debugLine="indicePregunta = btn.Tag";
+ //BA.debugLineNum = 6812;BA.debugLine="indicePregunta = btn.Tag";
_indicepregunta = (int)(BA.ObjectToNumber(_btn.getTag()));
- //BA.debugLineNum = 6482;BA.debugLine="ocultaPanelEncuesta";
+ //BA.debugLineNum = 6813;BA.debugLine="ocultaPanelEncuesta";
_ocultapanelencuesta();
- //BA.debugLineNum = 6483;BA.debugLine="botonPresionado = 1";
+ //BA.debugLineNum = 6814;BA.debugLine="botonPresionado = 1";
_botonpresionado = (int) (1);
- //BA.debugLineNum = 6484;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6815;BA.debugLine="End Sub";
return "";
}
public String _b_encuesta_3_click() throws Exception{
anywheresoftware.b4a.objects.ButtonWrapper _btn = null;
- //BA.debugLineNum = 6486;BA.debugLine="Private Sub b_encuesta_3_Click";
- //BA.debugLineNum = 6487;BA.debugLine="Log(\"BOTON 3 CLICK\")";
-__c.LogImpl("724707073","BOTON 3 CLICK",0);
- //BA.debugLineNum = 6488;BA.debugLine="Dim btn As Button = Sender";
+ //BA.debugLineNum = 6817;BA.debugLine="Private Sub b_encuesta_3_Click";
+ //BA.debugLineNum = 6818;BA.debugLine="Log(\"BOTON 3 CLICK\")";
+__c.LogImpl("424838145","BOTON 3 CLICK",0);
+ //BA.debugLineNum = 6819;BA.debugLine="Dim btn As Button = Sender";
_btn = new anywheresoftware.b4a.objects.ButtonWrapper();
_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)));
- //BA.debugLineNum = 6489;BA.debugLine="Log(\"BOTON 3 CLICKED \"& \" clicked - \" & btn.Text";
-__c.LogImpl("724707075","BOTON 3 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
- //BA.debugLineNum = 6490;BA.debugLine="encuestaRes = btn.Text";
+ //BA.debugLineNum = 6820;BA.debugLine="Log(\"BOTON 3 CLICKED \"& \" clicked - \" & btn.Text";
+__c.LogImpl("424838147","BOTON 3 CLICKED "+" clicked - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
+ //BA.debugLineNum = 6821;BA.debugLine="encuestaRes = btn.Text";
_encuestares = _btn.getText();
- //BA.debugLineNum = 6491;BA.debugLine="indicePregunta = btn.Tag";
+ //BA.debugLineNum = 6822;BA.debugLine="indicePregunta = btn.Tag";
_indicepregunta = (int)(BA.ObjectToNumber(_btn.getTag()));
- //BA.debugLineNum = 6492;BA.debugLine="ocultaPanelEncuesta";
+ //BA.debugLineNum = 6823;BA.debugLine="ocultaPanelEncuesta";
_ocultapanelencuesta();
- //BA.debugLineNum = 6493;BA.debugLine="botonPresionado = 1";
+ //BA.debugLineNum = 6824;BA.debugLine="botonPresionado = 1";
_botonpresionado = (int) (1);
- //BA.debugLineNum = 6494;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6825;BA.debugLine="End Sub";
return "";
}
public String _b_encuesta_continuar_click() throws Exception{
anywheresoftware.b4a.objects.ButtonWrapper _btn = null;
- //BA.debugLineNum = 6496;BA.debugLine="Private Sub b_encuesta_continuar_Click";
- //BA.debugLineNum = 6497;BA.debugLine="Dim btn As Button = Sender";
+ //BA.debugLineNum = 6827;BA.debugLine="Private Sub b_encuesta_continuar_Click";
+ //BA.debugLineNum = 6828;BA.debugLine="Dim btn As Button = Sender";
_btn = new anywheresoftware.b4a.objects.ButtonWrapper();
_btn = (anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)));
- //BA.debugLineNum = 6498;BA.debugLine="Log(\"BOTON CONTINUAR CLICK - \" & btn.Text & \" - \"";
-__c.LogImpl("724772610","BOTON CONTINUAR CLICK - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
- //BA.debugLineNum = 6499;BA.debugLine="encuestaRes = et_encuesta.Text";
+ //BA.debugLineNum = 6829;BA.debugLine="Log(\"BOTON CONTINUAR CLICK - \" & btn.Text & \" - \"";
+__c.LogImpl("424903682","BOTON CONTINUAR CLICK - "+_btn.getText()+" - "+BA.ObjectToString(_btn.getTag()),0);
+ //BA.debugLineNum = 6830;BA.debugLine="encuestaRes = et_encuesta.Text";
_encuestares = _et_encuesta.getText();
- //BA.debugLineNum = 6500;BA.debugLine="indicePregunta = btn.Tag";
+ //BA.debugLineNum = 6831;BA.debugLine="indicePregunta = btn.Tag";
_indicepregunta = (int)(BA.ObjectToNumber(_btn.getTag()));
- //BA.debugLineNum = 6501;BA.debugLine="et_encuesta.Text = \"\"";
+ //BA.debugLineNum = 6832;BA.debugLine="et_encuesta.Text = \"\"";
_et_encuesta.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 6502;BA.debugLine="et_encuesta.Visible = False";
+ //BA.debugLineNum = 6833;BA.debugLine="et_encuesta.Visible = False";
_et_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 6503;BA.debugLine="b_encuesta_continuar.Visible = False";
+ //BA.debugLineNum = 6834;BA.debugLine="b_encuesta_continuar.Visible = False";
_b_encuesta_continuar.setVisible(__c.False);
- //BA.debugLineNum = 6504;BA.debugLine="ocultaPanelEncuesta";
+ //BA.debugLineNum = 6835;BA.debugLine="ocultaPanelEncuesta";
_ocultapanelencuesta();
- //BA.debugLineNum = 6505;BA.debugLine="botonPresionado = 1";
+ //BA.debugLineNum = 6836;BA.debugLine="botonPresionado = 1";
_botonpresionado = (int) (1);
- //BA.debugLineNum = 6506;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6837;BA.debugLine="End Sub";
return "";
}
public String _b_enviarticket_click() throws Exception{
- //BA.debugLineNum = 7348;BA.debugLine="Private Sub b_enviarTicket_Click";
- //BA.debugLineNum = 7349;BA.debugLine="et_numeroPDF.Text = telefono.trim";
+ //BA.debugLineNum = 7679;BA.debugLine="Private Sub b_enviarTicket_Click";
+ //BA.debugLineNum = 7680;BA.debugLine="et_numeroPDF.Text = telefono.trim";
_et_numeropdf.setText(BA.ObjectToCharSequence(_telefono.trim()));
- //BA.debugLineNum = 7350;BA.debugLine="p_transparentePDF.Visible = True";
+ //BA.debugLineNum = 7681;BA.debugLine="p_transparentePDF.Visible = True";
_p_transparentepdf.setVisible(__c.True);
- //BA.debugLineNum = 7358;BA.debugLine="Log(\"Progress 2\")";
-__c.LogImpl("726083338","Progress 2",0);
- //BA.debugLineNum = 7359;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7689;BA.debugLine="Log(\"Progress 2\")";
+__c.LogImpl("426214410","Progress 2",0);
+ //BA.debugLineNum = 7690;BA.debugLine="End Sub";
return "";
}
public String _b_enviarticket_longclick() throws Exception{
- //BA.debugLineNum = 7361;BA.debugLine="Private Sub b_enviarTicket_LongClick";
- //BA.debugLineNum = 7367;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7692;BA.debugLine="Private Sub b_enviarTicket_LongClick";
+ //BA.debugLineNum = 7698;BA.debugLine="End Sub";
return "";
}
public void _b_enviopdf_click() throws Exception{
@@ -1016,7 +1049,7 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 7491;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";
+ //BA.debugLineNum = 7822;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";
if (true) break;
case 1:
@@ -1031,7 +1064,7 @@ this.state = 11;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 7492;BA.debugLine="If Subs.traemontoprod Then";
+ //BA.debugLineNum = 7823;BA.debugLine="If Subs.traemontoprod Then";
if (true) break;
case 4:
@@ -1046,14 +1079,14 @@ this.state = 8;
case 6:
//C
this.state = 9;
- //BA.debugLineNum = 7493;BA.debugLine="PDFGENERAR2";
+ //BA.debugLineNum = 7824;BA.debugLine="PDFGENERAR2";
parent._pdfgenerar2();
if (true) break;
case 8:
//C
this.state = 9;
- //BA.debugLineNum = 7495;BA.debugLine="PDFGENERAR";
+ //BA.debugLineNum = 7826;BA.debugLine="PDFGENERAR";
parent._pdfgenerar();
if (true) break;
@@ -1066,7 +1099,7 @@ this.state = 12;
case 11:
//C
this.state = 12;
- //BA.debugLineNum = 7498;BA.debugLine="PDFGENERAR";
+ //BA.debugLineNum = 7829;BA.debugLine="PDFGENERAR";
parent._pdfgenerar();
if (true) break;
@@ -1074,7 +1107,7 @@ case 12:
//C
this.state = -1;
;
- //BA.debugLineNum = 7501;BA.debugLine="Sleep(3000)";
+ //BA.debugLineNum = 7832;BA.debugLine="Sleep(3000)";
parent.__c.Sleep(ba,this,(int) (3000));
this.state = 13;
return;
@@ -1082,41 +1115,41 @@ case 13:
//C
this.state = -1;
;
- //BA.debugLineNum = 7502;BA.debugLine="EnviarPDFWhatsAppNumero(et_numeroPDF.Text)";
+ //BA.debugLineNum = 7833;BA.debugLine="EnviarPDFWhatsAppNumero(et_numeroPDF.Text)";
parent._enviarpdfwhatsappnumero(parent._et_numeropdf.getText());
- //BA.debugLineNum = 7504;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 7835;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)");
- //BA.debugLineNum = 7505;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
+ //BA.debugLineNum = 7836;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into TICKET_IMPRESO (idCliente) values ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"')"));
- //BA.debugLineNum = 7507;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\"";
+ //BA.debugLineNum = 7838;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\"";
parent.__c.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss");
- //BA.debugLineNum = 7508;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 7839;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 7509;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 7840;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 7510;BA.debugLine="cmd.Name = \"insertEnvioTicketPDF\"";
+ //BA.debugLineNum = 7841;BA.debugLine="cmd.Name = \"insertEnvioTicketPDF\"";
_cmd.Name /*String*/ = "insertEnvioTicketPDF";
- //BA.debugLineNum = 7511;BA.debugLine="Log(DateTime.Date(DateTime.Now))";
-parent.__c.LogImpl("726411029",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0);
- //BA.debugLineNum = 7512;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeCliente";
+ //BA.debugLineNum = 7842;BA.debugLine="Log(DateTime.Date(DateTime.Now))";
+parent.__c.LogImpl("426542101",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0);
+ //BA.debugLineNum = 7843;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeCliente";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._traecliente /*String*/ (ba)),(Object)(parent._subs._traeusuariodebd /*String*/ (ba)),(Object)(parent._et_numeropdf.getText()),(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()))};
- //BA.debugLineNum = 7513;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertEnvioTicke";
+ //BA.debugLineNum = 7844;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertEnvioTicke";
parent._reqmanager._executecommand /*String*/ (_cmd,(Object)("insertEnvioTicketPDF"));
- //BA.debugLineNum = 7515;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 7846;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 7516;BA.debugLine="cmd.Name = \"insertaTelefonoTicketPDF\"";
+ //BA.debugLineNum = 7847;BA.debugLine="cmd.Name = \"insertaTelefonoTicketPDF\"";
_cmd.Name /*String*/ = "insertaTelefonoTicketPDF";
- //BA.debugLineNum = 7517;BA.debugLine="Log(DateTime.Date(DateTime.Now))";
-parent.__c.LogImpl("726411035",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0);
- //BA.debugLineNum = 7518;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmacen";
+ //BA.debugLineNum = 7848;BA.debugLine="Log(DateTime.Date(DateTime.Now))";
+parent.__c.LogImpl("426542107",parent.__c.DateTime.Date(parent.__c.DateTime.getNow()),0);
+ //BA.debugLineNum = 7849;BA.debugLine="cmd.Parameters = Array As Object(Subs.traeAlmacen";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._subs._traealmacen /*String*/ (ba)),(Object)(parent._subs._traeruta /*String*/ (ba)),(Object)(parent._subs._traecliente /*String*/ (ba)),(Object)(parent._et_numeropdf.getText())};
- //BA.debugLineNum = 7519;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertTelefonoTi";
+ //BA.debugLineNum = 7850;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insertTelefonoTi";
parent._reqmanager._executecommand /*String*/ (_cmd,(Object)("insertTelefonoTicketPDF"));
- //BA.debugLineNum = 7521;BA.debugLine="Guardar_Click";
+ //BA.debugLineNum = 7852;BA.debugLine="Guardar_Click";
parent._guardar_click();
- //BA.debugLineNum = 7522;BA.debugLine="p_transparentePDF.Visible = False";
+ //BA.debugLineNum = 7853;BA.debugLine="p_transparentePDF.Visible = False";
parent._p_transparentepdf.setVisible(parent.__c.False);
- //BA.debugLineNum = 7523;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7854;BA.debugLine="End Sub";
if (true) break;
}
@@ -1124,729 +1157,831 @@ if (true) break;
}
}
public String _b_foto_click() throws Exception{
- //BA.debugLineNum = 7810;BA.debugLine="Private Sub b_foto_Click";
- //BA.debugLineNum = 7832;BA.debugLine="camEx.TakePicture";
+ //BA.debugLineNum = 8141;BA.debugLine="Private Sub b_foto_Click";
+ //BA.debugLineNum = 8163;BA.debugLine="camEx.TakePicture";
_camex._takepicture /*String*/ ();
- //BA.debugLineNum = 7833;BA.debugLine="p_camara.Visible = False";
+ //BA.debugLineNum = 8164;BA.debugLine="p_camara.Visible = False";
_p_camara.setVisible(__c.False);
- //BA.debugLineNum = 7837;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8168;BA.debugLine="End Sub";
return "";
}
public String _b_gallina_click() throws Exception{
- //BA.debugLineNum = 5528;BA.debugLine="Private Sub B_GALLINA_Click";
- //BA.debugLineNum = 5529;BA.debugLine="P_gallina.Visible = True";
+ //BA.debugLineNum = 5859;BA.debugLine="Private Sub B_GALLINA_Click";
+ //BA.debugLineNum = 5860;BA.debugLine="P_gallina.Visible = True";
_p_gallina.setVisible(__c.True);
- //BA.debugLineNum = 5531;BA.debugLine="B_GALLINA.Visible = False";
+ //BA.debugLineNum = 5862;BA.debugLine="B_GALLINA.Visible = False";
_b_gallina.setVisible(__c.False);
- //BA.debugLineNum = 5532;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 5863;BA.debugLine="b_like.Visible = False";
_b_like.setVisible(__c.False);
- //BA.debugLineNum = 5533;BA.debugLine="BT_QR.Visible = False";
+ //BA.debugLineNum = 5864;BA.debugLine="BT_QR.Visible = False";
_bt_qr.setVisible(__c.False);
- //BA.debugLineNum = 5535;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 5866;BA.debugLine="b_like.Visible = False";
_b_like.setVisible(__c.False);
- //BA.debugLineNum = 5536;BA.debugLine="Tar.Visible = False";
+ //BA.debugLineNum = 5867;BA.debugLine="Tar.Visible = False";
_tar.setVisible(__c.False);
- //BA.debugLineNum = 5537;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 5868;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 5538;BA.debugLine="gest.Visible = False ': ToastMessageShow(\"ccc\", F";
+ //BA.debugLineNum = 5869;BA.debugLine="gest.Visible = False ': ToastMessageShow(\"ccc\", F";
_gest.setVisible(__c.False);
- //BA.debugLineNum = 5539;BA.debugLine="b_venta.Visible = False";
+ //BA.debugLineNum = 5870;BA.debugLine="b_venta.Visible = False";
_b_venta.setVisible(__c.False);
- //BA.debugLineNum = 5540;BA.debugLine="Guardar.Visible = False";
+ //BA.debugLineNum = 5871;BA.debugLine="Guardar.Visible = False";
_guardar.setVisible(__c.False);
- //BA.debugLineNum = 5541;BA.debugLine="HIST.Visible = False";
+ //BA.debugLineNum = 5872;BA.debugLine="HIST.Visible = False";
_hist.setVisible(__c.False);
- //BA.debugLineNum = 5542;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5873;BA.debugLine="End Sub";
return "";
}
public String _b_geopass_click() throws Exception{
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
- //BA.debugLineNum = 1920;BA.debugLine="Private Sub b_geopass_Click";
- //BA.debugLineNum = 1921;BA.debugLine="If et_geopass.Text.trim = \"KMTS1\" Then";
+ //BA.debugLineNum = 1942;BA.debugLine="Private Sub b_geopass_Click";
+ //BA.debugLineNum = 1943;BA.debugLine="If et_geopass.Text.trim = \"KMTS1\" Then";
if ((_et_geopass.getText().trim()).equals("KMTS1")) {
- //BA.debugLineNum = 1922;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps";
+ //BA.debugLineNum = 1944;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps";
_m_lat = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ;
- //BA.debugLineNum = 1923;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps";
+ //BA.debugLineNum = 1945;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps";
_m_lon = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ;
- //BA.debugLineNum = 1924;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)";
+ //BA.debugLineNum = 1946;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)";
_gps_locationchanged(_starter._ubicacionactual /*anywheresoftware.b4a.gps.LocationWrapper*/ );
- //BA.debugLineNum = 1925;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT_CL_";
+ //BA.debugLineNum = 1947;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT_CL_";
_skmt.ExecNonQuery(("update kmt_info3 set CAT_CL_LAT = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ))+"', CAT_CL_LONG = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))+"' where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"'"));
- //BA.debugLineNum = 1926;BA.debugLine="et_geopass.Text = \"\"";
+ //BA.debugLineNum = 1948;BA.debugLine="et_geopass.Text = \"\"";
_et_geopass.setText(BA.ObjectToCharSequence(""));
}else {
- //BA.debugLineNum = 1928;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1950;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1929;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1951;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1930;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\"";
+ //BA.debugLineNum = 1952;BA.debugLine="cmd.Name = \"select_geoPass_GUNA\"";
_cmd.Name /*String*/ = "select_geoPass_GUNA";
- //BA.debugLineNum = 1931;BA.debugLine="cmd.Parameters = Array As Object(et_geopass.Text";
+ //BA.debugLineNum = 1953;BA.debugLine="cmd.Parameters = Array As Object(et_geopass.Text";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_et_geopass.getText().trim()),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))};
- //BA.debugLineNum = 1932;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPass\")";
+ //BA.debugLineNum = 1954;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPass\")";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("traeGeoPass"));
- //BA.debugLineNum = 1933;BA.debugLine="Log($\"${Starter.server}, ${et_geopass.Text}, ${S";
-__c.LogImpl("714811149",(""+__c.SmartStringFormatter("",(Object)(_starter._server /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(_et_geopass.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+""),0);
- //BA.debugLineNum = 1934;BA.debugLine="et_geopass.Text = \"\"";
+ //BA.debugLineNum = 1955;BA.debugLine="Log($\"${Starter.server}, ${et_geopass.Text}, ${S";
+__c.LogImpl("414876685",(""+__c.SmartStringFormatter("",(Object)(_starter._server /*String*/ ))+", "+__c.SmartStringFormatter("",(Object)(_et_geopass.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+""),0);
+ //BA.debugLineNum = 1956;BA.debugLine="et_geopass.Text = \"\"";
_et_geopass.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 1936;BA.debugLine="p_pideGeoPass.Visible = False";
+ //BA.debugLineNum = 1958;BA.debugLine="p_pideGeoPass.Visible = False";
_p_pidegeopass.setVisible(__c.False);
- //BA.debugLineNum = 1943;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1965;BA.debugLine="End Sub";
return "";
}
public String _b_gps_click() throws Exception{
- //BA.debugLineNum = 4726;BA.debugLine="Sub B_GPS_Click";
- //BA.debugLineNum = 4727;BA.debugLine="Dim result As Int";
+ //BA.debugLineNum = 5057;BA.debugLine="Sub B_GPS_Click";
+ //BA.debugLineNum = 5058;BA.debugLine="Dim result As Int";
_result = 0;
- //BA.debugLineNum = 4728;BA.debugLine="result = Msgbox2(\"Esta seguro de cambiar las coor";
+ //BA.debugLineNum = 5059;BA.debugLine="result = Msgbox2(\"Esta seguro de cambiar las coor";
_result = __c.Msgbox2(BA.ObjectToCharSequence("Esta seguro de cambiar las coordenadas de este cliente"),BA.ObjectToCharSequence("Aviso GPS"),"SI","","NO",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alerta.jpg").getObject()),ba);
- //BA.debugLineNum = 4729;BA.debugLine="If result = DialogResponse.Positive Then";
+ //BA.debugLineNum = 5060;BA.debugLine="If result = DialogResponse.Positive Then";
if (_result==__c.DialogResponse.POSITIVE) {
- //BA.debugLineNum = 4730;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt";
+ //BA.debugLineNum = 5061;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET CAT_CL_LAT = ?, CAT_CL_LONG = ? where CAT_CL_CODIGO In (Select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
- //BA.debugLineNum = 4731;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 5062;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
};
- //BA.debugLineNum = 4733;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5064;BA.debugLine="End Sub";
+return "";
+}
+public String _b_guadarenc_click() throws Exception{
+anywheresoftware.b4a.sql.SQL.CursorWrapper _coloressaldo = null;
+int _i = 0;
+gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
+ //BA.debugLineNum = 8412;BA.debugLine="Private Sub b_guadarenc_Click";
+ //BA.debugLineNum = 8413;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
+__c.DateTime.setDateFormat("dd/MM/yyyy");
+ //BA.debugLineNum = 8414;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+_sdate = __c.DateTime.Date(__c.DateTime.getNow());
+ //BA.debugLineNum = 8415;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+_stime = __c.DateTime.Time(__c.DateTime.getNow());
+ //BA.debugLineNum = 8416;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt";
+_coloressaldo = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_coloressaldo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR5,0) AS CAT_CL_CLASIFICADOR5 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
+ //BA.debugLineNum = 8417;BA.debugLine="If coloressaldo.RowCount > 0 Then";
+if (_coloressaldo.getRowCount()>0) {
+ //BA.debugLineNum = 8418;BA.debugLine="coloressaldo.Position = 0";
+_coloressaldo.setPosition((int) (0));
+ //BA.debugLineNum = 8419;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR5\"";
+if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR5")).equals("1")) {
+ //BA.debugLineNum = 8420;BA.debugLine="If e_1 <> \"Selecciona una opcion\" And e_2 <> \"S";
+if ((_e_1).equals("Selecciona una opcion") == false && (_e_2).equals("Selecciona una opcion") == false && (_e_3).equals("Selecciona una opcion") == false && (_e_4).equals("Selecciona una opcion") == false && (_e_5).equals("Selecciona una opcion") == false) {
+ //BA.debugLineNum = 8421;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert i";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into ENCUESTAS_BAT (CLIENTE, RUTA, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10,FECHA) values ('"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_e_1))+"', '"+__c.SmartStringFormatter("",(Object)(_e_2))+"', '"+__c.SmartStringFormatter("",(Object)(_e_3))+"', '"+__c.SmartStringFormatter("",(Object)(_e_4))+"', '"+__c.SmartStringFormatter("",(Object)(_e_5))+"', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A' , '"+__c.SmartStringFormatter("",(Object)(_sdate))+"')"));
+ //BA.debugLineNum = 8422;BA.debugLine="scv_bat.Visible = False";
+_scv_bat.setVisible(__c.False);
+ //BA.debugLineNum = 8425;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * F";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ENCUESTAS_BAT WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 8426;BA.debugLine="If c.RowCount>0 Then";
+if (_c.getRowCount()>0) {
+ //BA.debugLineNum = 8427;BA.debugLine="For i=0 To c.RowCount -1";
+{
+final int step13 = 1;
+final int limit13 = (int) (_c.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit13 ;_i = _i + step13 ) {
+ //BA.debugLineNum = 8428;BA.debugLine="c.Position=i";
+_c.setPosition(_i);
+ //BA.debugLineNum = 8429;BA.debugLine="Dim cmd As DBCommand";
+_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
+ //BA.debugLineNum = 8430;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 8431;BA.debugLine="cmd.Name = \"insert_encuestas_bat_guna\"";
+_cmd.Name /*String*/ = "insert_encuestas_bat_guna";
+ //BA.debugLineNum = 8432;BA.debugLine="cmd.Parameters = Array As Object(c.GetString";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("RUTA")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("FECHA")),(Object)(_c.GetString("P1")),(Object)(_c.GetString("P2")),(Object)(_c.GetString("P3")),(Object)(_c.GetString("P4")),(Object)(_c.GetString("P5")),(Object)(_c.GetString("P6")),(Object)(_c.GetString("P7")),(Object)(_c.GetString("P8")),(Object)(_c.GetString("P9")),(Object)(_c.GetString("P10"))};
+ //BA.debugLineNum = 8433;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INSENCUESTAS"));
+ }
+};
+ };
+ //BA.debugLineNum = 8436;BA.debugLine="c.Close";
+_c.Close();
+ //BA.debugLineNum = 8437;BA.debugLine="vent";
+_vent();
+ }else {
+ //BA.debugLineNum = 8439;BA.debugLine="MsgboxAsync(\"Favor de responder todas las preg";
+__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de responder todas las preguntas"),BA.ObjectToCharSequence("Atención"),ba);
+ };
+ }else if((_coloressaldo.GetString("CAT_CL_CLASIFICADOR5")).equals("5")) {
+ //BA.debugLineNum = 8442;BA.debugLine="If e_1 <> \"Selecciona una opcion\" And e_2 <> \"S";
+if ((_e_1).equals("Selecciona una opcion") == false && (_e_2).equals("Selecciona una opcion") == false && (_e_3).equals("Selecciona una opcion") == false && (_e_4).equals("Selecciona una opcion") == false && (_e_5).equals("Selecciona una opcion") == false && (_e_6).equals("Selecciona una opcion") == false && (_e_7).equals("Selecciona una opcion") == false && (_e_8).equals("Selecciona una opcion") == false && (_e_9).equals("Selecciona una opcion") == false && (_e_10).equals("Selecciona una opcion") == false) {
+ //BA.debugLineNum = 8443;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert i";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into ENCUESTAS_BAT (CLIENTE, RUTA, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10,FECHA) values ('"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_e_1))+"', '"+__c.SmartStringFormatter("",(Object)(_e_2))+"', '"+__c.SmartStringFormatter("",(Object)(_e_3))+"', '"+__c.SmartStringFormatter("",(Object)(_e_4))+"', '"+__c.SmartStringFormatter("",(Object)(_e_5))+"', '"+__c.SmartStringFormatter("",(Object)(_e_6))+"', '"+__c.SmartStringFormatter("",(Object)(_e_7))+"', '"+__c.SmartStringFormatter("",(Object)(_e_8))+"', '"+__c.SmartStringFormatter("",(Object)(_e_9))+"', '"+__c.SmartStringFormatter("",(Object)(_e_10))+"' , '"+__c.SmartStringFormatter("",(Object)(_sdate))+"')"));
+ //BA.debugLineNum = 8444;BA.debugLine="scv_bat.Visible = False";
+_scv_bat.setVisible(__c.False);
+ //BA.debugLineNum = 8447;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * F";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ENCUESTAS_BAT WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 8448;BA.debugLine="If c.RowCount>0 Then";
+if (_c.getRowCount()>0) {
+ //BA.debugLineNum = 8449;BA.debugLine="For i=0 To c.RowCount -1";
+{
+final int step33 = 1;
+final int limit33 = (int) (_c.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit33 ;_i = _i + step33 ) {
+ //BA.debugLineNum = 8450;BA.debugLine="c.Position=i";
+_c.setPosition(_i);
+ //BA.debugLineNum = 8451;BA.debugLine="Dim cmd As DBCommand";
+_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
+ //BA.debugLineNum = 8452;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 8453;BA.debugLine="cmd.Name = \"insert_encuestas_bat_guna\"";
+_cmd.Name /*String*/ = "insert_encuestas_bat_guna";
+ //BA.debugLineNum = 8454;BA.debugLine="cmd.Parameters = Array As Object(c.GetString";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("RUTA")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("FECHA")),(Object)(_c.GetString("P1")),(Object)(_c.GetString("P2")),(Object)(_c.GetString("P3")),(Object)(_c.GetString("P4")),(Object)(_c.GetString("P5")),(Object)(_c.GetString("P6")),(Object)(_c.GetString("P7")),(Object)(_c.GetString("P8")),(Object)(_c.GetString("P9")),(Object)(_c.GetString("P10"))};
+ //BA.debugLineNum = 8455;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INSENCUESTAS"));
+ }
+};
+ };
+ //BA.debugLineNum = 8458;BA.debugLine="vent";
+_vent();
+ }else {
+ //BA.debugLineNum = 8460;BA.debugLine="MsgboxAsync(\"Favor de responder todas las preg";
+__c.MsgboxAsync(BA.ObjectToCharSequence("Favor de responder todas las preguntas"),BA.ObjectToCharSequence("Atención"),ba);
+ };
+ };
+ };
+ //BA.debugLineNum = 8464;BA.debugLine="End Sub";
return "";
}
public String _b_guarda_c_click() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null;
- //BA.debugLineNum = 4617;BA.debugLine="Sub B_GUARDA_C_Click";
- //BA.debugLineNum = 4618;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 4948;BA.debugLine="Sub B_GUARDA_C_Click";
+ //BA.debugLineNum = 4949;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 4619;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 4950;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 4620;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 4951;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 4621;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA";
+ //BA.debugLineNum = 4952;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa")));
- //BA.debugLineNum = 4622;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 4953;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 4623;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
+ //BA.debugLineNum = 4954;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
_clie_id = _c.GetString("CUENTA");
- //BA.debugLineNum = 4624;BA.debugLine="c.Close";
+ //BA.debugLineNum = 4955;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 4625;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI";
+ //BA.debugLineNum = 4956;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 4626;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 4957;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 4627;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 4958;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
- //BA.debugLineNum = 4628;BA.debugLine="c.Close";
+ //BA.debugLineNum = 4959;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 4629;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
+ //BA.debugLineNum = 4960;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("4"),(Object)(.01),(Object)(.01),(Object)(2),(Object)("KNORR RINDE MAS 70 GR"),(Object)("GUNA2"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)}));
- //BA.debugLineNum = 4630;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
+ //BA.debugLineNum = 4961;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_la_cuenta.getText()),(Object)(_i_compra.getText()),(Object)(_la_ruta),(Object)(_almacen)}));
- //BA.debugLineNum = 4631;BA.debugLine="Panel1.Visible = False";
+ //BA.debugLineNum = 4962;BA.debugLine="Panel1.Visible = False";
_panel1.setVisible(__c.False);
- //BA.debugLineNum = 4632;BA.debugLine="b_like.Visible = True";
+ //BA.debugLineNum = 4963;BA.debugLine="b_like.Visible = True";
_b_like.setVisible(__c.True);
- //BA.debugLineNum = 4633;BA.debugLine="Tar.Visible = True";
+ //BA.debugLineNum = 4964;BA.debugLine="Tar.Visible = True";
_tar.setVisible(__c.True);
- //BA.debugLineNum = 4634;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 4965;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 4635;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 4966;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 4636;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 4967;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Exe";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 4637;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 4968;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 4638;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 4969;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 4639;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 4970;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 4640;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 4971;BA.debugLine="b_preventa2.Visible = True";
_b_preventa2.setVisible(__c.True);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 4642;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 4973;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
- //BA.debugLineNum = 4645;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 4976;BA.debugLine="b_like.Visible = False";
_b_like.setVisible(__c.False);
- //BA.debugLineNum = 4646;BA.debugLine="Guardar.Visible = True";
+ //BA.debugLineNum = 4977;BA.debugLine="Guardar.Visible = True";
_guardar.setVisible(__c.True);
- //BA.debugLineNum = 4647;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4978;BA.debugLine="End Sub";
return "";
}
public String _b_guarda_ce_ped_click() throws Exception{
- //BA.debugLineNum = 5657;BA.debugLine="Private Sub B_GUARDA_CE_PED_Click";
- //BA.debugLineNum = 5659;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 5988;BA.debugLine="Private Sub B_GUARDA_CE_PED_Click";
+ //BA.debugLineNum = 5990;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 5660;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 5991;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 5661;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 5992;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 5662;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")";
+ //BA.debugLineNum = 5993;BA.debugLine="c=skmt.ExecQuery(\"Select CUENTA from cuentaa\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("Select CUENTA from cuentaa")));
- //BA.debugLineNum = 5663;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 5994;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 5664;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
+ //BA.debugLineNum = 5995;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
_clie_id = _c.GetString("CUENTA");
- //BA.debugLineNum = 5665;BA.debugLine="c.Close";
+ //BA.debugLineNum = 5996;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 5666;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 5997;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 5667;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 5998;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 5668;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 5999;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
- //BA.debugLineNum = 5669;BA.debugLine="c.Close";
+ //BA.debugLineNum = 6000;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 5670;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA";
+ //BA.debugLineNum = 6001;BA.debugLine="c=skmt.ExecQuery(\"select ID_ALMACEN from CAT_ALMA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
- //BA.debugLineNum = 5671;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 6002;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 5672;BA.debugLine="C.Position=0";
+ //BA.debugLineNum = 6003;BA.debugLine="C.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 5673;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
+ //BA.debugLineNum = 6004;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
_almacen = _c.GetString("ID_ALMACEN");
};
- //BA.debugLineNum = 5675;BA.debugLine="c.Close";
+ //BA.debugLineNum = 6006;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 5692;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED";
+ //BA.debugLineNum = 6023;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED";
_skmt.ExecNonQuery2("INSERT INTO HIST_ENCUESTA_PED_DIST_1(ALMACEN , TIENDA , KP_01 , KP_02 , KP_03 , KP_04 , KP_05 , KP_06 , KP_07 , KP_08 , KP_09 , KP_10 , KP_11 , KP_12 , KP_13 , KP_14 , KP_15 , KP_16 , KP_17 , KP_18 , KP_19 , KP_20 , KG_01 , KG_02 , KG_03 , KG_04 , KG_05 , KG_06 , PK_01 , PK_02 , PK_03 , PK_04 , PK_05 , PK_06 , PK_07 , PK_08) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_clie_id),(Object)(_kp_01.getChecked()),(Object)(_kp_02.getChecked()),(Object)(_kp_03.getChecked()),(Object)(_kp_04.getChecked()),(Object)(_kp_05.getChecked()),(Object)(_kp_06.getChecked()),(Object)(_kp_07.getChecked()),(Object)(_kp_08.getChecked()),(Object)(_kp_09.getChecked()),(Object)(_kp_10.getChecked()),(Object)(_kp_11.getChecked()),(Object)(_kp_12.getChecked()),(Object)(_kp_13.getChecked()),(Object)(_kp_14.getChecked()),(Object)(_kp_15.getChecked()),(Object)(_kp_16.getChecked()),(Object)(_kp_17.getChecked()),(Object)(_kp_18.getChecked()),(Object)(_kp_19.getChecked()),(Object)(_kp_20.getChecked()),(Object)(_kg_01.getChecked()),(Object)(_kg_02.getChecked()),(Object)(_kg_03.getChecked()),(Object)(_kg_04.getChecked()),(Object)(_kg_05.getChecked()),(Object)(_kg_06.getChecked()),(Object)(_pk_01.getChecked()),(Object)(_pk_02.getChecked()),(Object)(_pk_03.getChecked()),(Object)(_pk_04.getChecked()),(Object)(_pk_05.getChecked()),(Object)(_pk_06.getChecked()),(Object)(_pk_07.getChecked()),(Object)(_pk_08.getChecked())}));
- //BA.debugLineNum = 5694;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED";
+ //BA.debugLineNum = 6025;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_PED";
_skmt.ExecNonQuery2("INSERT INTO HIST_ENCUESTA_PED_DIST_2(ALMACEN , TIENDA , HPG_01 , HPG_02 , HPG_03 , HPG_04 , HPG_05 , HPG_06 , HPG_07 , HPG_08 , HPG_09 , HPG_10 , HC_01 , HC_02 , HC_03 , HC_04 , B_01 , B_02) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_clie_id),(Object)(_hpg_01.getChecked()),(Object)(_hpg_02.getChecked()),(Object)(_hpg_03.getChecked()),(Object)(_hpg_04.getChecked()),(Object)(_hpg_05.getChecked()),(Object)(_hpg_06.getChecked()),(Object)(_hpg_07.getChecked()),(Object)(_hpg_08.getChecked()),(Object)(_hpg_09.getChecked()),(Object)(_hpg_10.getChecked()),(Object)(_hc_01.getChecked()),(Object)(_hc_02.getChecked()),(Object)(_hc_03.getChecked()),(Object)(_hc_04.getChecked()),(Object)(_b_01.getChecked()),(Object)(_b_02.getChecked())}));
- //BA.debugLineNum = 5707;BA.debugLine="I_COMPRA.TEXT = \"\"";
+ //BA.debugLineNum = 6038;BA.debugLine="I_COMPRA.TEXT = \"\"";
_i_compra.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5708;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 6039;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 5709;BA.debugLine="Panel1.Visible = False";
+ //BA.debugLineNum = 6040;BA.debugLine="Panel1.Visible = False";
_panel1.setVisible(__c.False);
- //BA.debugLineNum = 5711;BA.debugLine="b_like.Visible = True";
+ //BA.debugLineNum = 6042;BA.debugLine="b_like.Visible = True";
_b_like.setVisible(__c.True);
- //BA.debugLineNum = 5712;BA.debugLine="Tar.Visible = True";
+ //BA.debugLineNum = 6043;BA.debugLine="Tar.Visible = True";
_tar.setVisible(__c.True);
- //BA.debugLineNum = 5713;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 6044;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 5714;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 6045;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 5716;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 6047;BA.debugLine="b_like.Visible = False";
_b_like.setVisible(__c.False);
- //BA.debugLineNum = 5717;BA.debugLine="Guardar.Visible = True";
+ //BA.debugLineNum = 6048;BA.debugLine="Guardar.Visible = True";
_guardar.setVisible(__c.True);
- //BA.debugLineNum = 5719;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 6050;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
- //BA.debugLineNum = 5721;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6052;BA.debugLine="End Sub";
return "";
}
public String _b_guardaencuesta_click() throws Exception{
String _si_guardar = "";
- //BA.debugLineNum = 2831;BA.debugLine="Sub B_guardaencuesta_Click";
- //BA.debugLineNum = 2832;BA.debugLine="Dim SI_GUARDAR As String";
+ //BA.debugLineNum = 3131;BA.debugLine="Sub B_guardaencuesta_Click";
+ //BA.debugLineNum = 3132;BA.debugLine="Dim SI_GUARDAR As String";
_si_guardar = "";
- //BA.debugLineNum = 2833;BA.debugLine="SI_GUARDAR = 1";
+ //BA.debugLineNum = 3133;BA.debugLine="SI_GUARDAR = 1";
_si_guardar = BA.NumberToString(1);
- //BA.debugLineNum = 2835;BA.debugLine="If RB1_E1.Checked = False And RB2_E1.Checked = Fa";
+ //BA.debugLineNum = 3135;BA.debugLine="If RB1_E1.Checked = False And RB2_E1.Checked = Fa";
if (_rb1_e1.getChecked()==__c.False && _rb2_e1.getChecked()==__c.False && _rb3_e1.getChecked()==__c.False) {
- //BA.debugLineNum = 2836;BA.debugLine="SI_GUARDAR = 0";
+ //BA.debugLineNum = 3136;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
};
- //BA.debugLineNum = 2839;BA.debugLine="If Panel7.Visible = True Then";
+ //BA.debugLineNum = 3139;BA.debugLine="If Panel7.Visible = True Then";
if (_panel7.getVisible()==__c.True) {
- //BA.debugLineNum = 2840;BA.debugLine="If RadioButton15.Checked = False And RadioButton";
+ //BA.debugLineNum = 3140;BA.debugLine="If RadioButton15.Checked = False And RadioButton";
if (_radiobutton15.getChecked()==__c.False && _radiobutton16.getChecked()==__c.False && _radiobutton17.getChecked()==__c.False) {
- //BA.debugLineNum = 2841;BA.debugLine="SI_GUARDAR = 0";
+ //BA.debugLineNum = 3141;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
};
};
- //BA.debugLineNum = 2845;BA.debugLine="If RadioButton1.Checked = False And RadioButton2";
+ //BA.debugLineNum = 3145;BA.debugLine="If RadioButton1.Checked = False And RadioButton2";
if (_radiobutton1.getChecked()==__c.False && _radiobutton2.getChecked()==__c.False && _radiobutton3.getChecked()==__c.False && _radiobutton4.getChecked()==__c.False) {
- //BA.debugLineNum = 2846;BA.debugLine="SI_GUARDAR = 0";
+ //BA.debugLineNum = 3146;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
};
- //BA.debugLineNum = 2849;BA.debugLine="If RadioButton5.Checked = False And RadioButton6";
+ //BA.debugLineNum = 3149;BA.debugLine="If RadioButton5.Checked = False And RadioButton6";
if (_radiobutton5.getChecked()==__c.False && _radiobutton6.getChecked()==__c.False && _radiobutton7.getChecked()==__c.False && _radiobutton8.getChecked()==__c.False && _radiobutton9.getChecked()==__c.False) {
- //BA.debugLineNum = 2850;BA.debugLine="SI_GUARDAR = 0";
+ //BA.debugLineNum = 3150;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
};
- //BA.debugLineNum = 2853;BA.debugLine="If RadioButton10.Checked = False And RadioButton";
+ //BA.debugLineNum = 3153;BA.debugLine="If RadioButton10.Checked = False And RadioButton";
if (_radiobutton10.getChecked()==__c.False && _radiobutton11.getChecked()==__c.False && _radiobutton12.getChecked()==__c.False && _radiobutton13.getChecked()==__c.False && _radiobutton14.getChecked()==__c.False) {
- //BA.debugLineNum = 2854;BA.debugLine="SI_GUARDAR = 0";
+ //BA.debugLineNum = 3154;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
};
- //BA.debugLineNum = 2857;BA.debugLine="If p6.Text = \"\" Then";
+ //BA.debugLineNum = 3157;BA.debugLine="If p6.Text = \"\" Then";
if ((_p6.getText()).equals("")) {
- //BA.debugLineNum = 2858;BA.debugLine="SI_GUARDAR = 0";
+ //BA.debugLineNum = 3158;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
};
- //BA.debugLineNum = 2860;BA.debugLine="If p7.Text = \"\" Then";
+ //BA.debugLineNum = 3160;BA.debugLine="If p7.Text = \"\" Then";
if ((_p7.getText()).equals("")) {
- //BA.debugLineNum = 2861;BA.debugLine="SI_GUARDAR = 0";
+ //BA.debugLineNum = 3161;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
};
- //BA.debugLineNum = 2863;BA.debugLine="If p8.Text = \"\" Then";
+ //BA.debugLineNum = 3163;BA.debugLine="If p8.Text = \"\" Then";
if ((_p8.getText()).equals("")) {
- //BA.debugLineNum = 2864;BA.debugLine="SI_GUARDAR = 0";
+ //BA.debugLineNum = 3164;BA.debugLine="SI_GUARDAR = 0";
_si_guardar = BA.NumberToString(0);
};
- //BA.debugLineNum = 2867;BA.debugLine="If CheckBox1.Checked = False And CheckBox2.Checke";
+ //BA.debugLineNum = 3167;BA.debugLine="If CheckBox1.Checked = False And CheckBox2.Checke";
if (_checkbox1.getChecked()==__c.False && _checkbox2.getChecked()==__c.False && _checkbox3.getChecked()==__c.False && _checkbox4.getChecked()==__c.False && _checkbox5.getChecked()==__c.False && _checkbox6.getChecked()==__c.False && _checkbox7.getChecked()==__c.False && _checkbox8.getChecked()==__c.False) {
- //BA.debugLineNum = 2868;BA.debugLine="encuentasmapa.Put(\"P9\", \"\")";
+ //BA.debugLineNum = 3168;BA.debugLine="encuentasmapa.Put(\"P9\", \"\")";
_encuentasmapa.Put((Object)("P9"),(Object)(""));
- //BA.debugLineNum = 2869;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("716384038",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 3169;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("416515110",BA.ObjectToString(_encuentasmapa),0);
};
- //BA.debugLineNum = 2872;BA.debugLine="If SI_GUARDAR = 1 Then";
+ //BA.debugLineNum = 3172;BA.debugLine="If SI_GUARDAR = 1 Then";
if ((_si_guardar).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2873;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO1";
+ //BA.debugLineNum = 3173;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO1";
_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO1 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),_encuentasmapa.Get((Object)("P3")),_encuentasmapa.Get((Object)("P1")),_encuentasmapa.Get((Object)("P2")),_encuentasmapa.Get((Object)("P4")),_encuentasmapa.Get((Object)("P5")),(Object)(_p6.getText()),(Object)(_p7.getText()),(Object)(_p8.getText()),_encuentasmapa.Get((Object)("P9"))}));
- //BA.debugLineNum = 2879;BA.debugLine="RB1_E1.Checked = False";
+ //BA.debugLineNum = 3179;BA.debugLine="RB1_E1.Checked = False";
_rb1_e1.setChecked(__c.False);
- //BA.debugLineNum = 2880;BA.debugLine="RB2_E1.Checked = False";
+ //BA.debugLineNum = 3180;BA.debugLine="RB2_E1.Checked = False";
_rb2_e1.setChecked(__c.False);
- //BA.debugLineNum = 2881;BA.debugLine="RB3_E1.Checked = False";
+ //BA.debugLineNum = 3181;BA.debugLine="RB3_E1.Checked = False";
_rb3_e1.setChecked(__c.False);
- //BA.debugLineNum = 2882;BA.debugLine="RadioButton15.Checked = False";
+ //BA.debugLineNum = 3182;BA.debugLine="RadioButton15.Checked = False";
_radiobutton15.setChecked(__c.False);
- //BA.debugLineNum = 2883;BA.debugLine="RadioButton16.Checked = False";
+ //BA.debugLineNum = 3183;BA.debugLine="RadioButton16.Checked = False";
_radiobutton16.setChecked(__c.False);
- //BA.debugLineNum = 2884;BA.debugLine="RadioButton17.Checked = False";
+ //BA.debugLineNum = 3184;BA.debugLine="RadioButton17.Checked = False";
_radiobutton17.setChecked(__c.False);
- //BA.debugLineNum = 2885;BA.debugLine="RadioButton1.Checked = False";
+ //BA.debugLineNum = 3185;BA.debugLine="RadioButton1.Checked = False";
_radiobutton1.setChecked(__c.False);
- //BA.debugLineNum = 2886;BA.debugLine="RadioButton2.Checked = False";
+ //BA.debugLineNum = 3186;BA.debugLine="RadioButton2.Checked = False";
_radiobutton2.setChecked(__c.False);
- //BA.debugLineNum = 2887;BA.debugLine="RadioButton3.Checked = False";
+ //BA.debugLineNum = 3187;BA.debugLine="RadioButton3.Checked = False";
_radiobutton3.setChecked(__c.False);
- //BA.debugLineNum = 2888;BA.debugLine="RadioButton4.Checked = False";
+ //BA.debugLineNum = 3188;BA.debugLine="RadioButton4.Checked = False";
_radiobutton4.setChecked(__c.False);
- //BA.debugLineNum = 2889;BA.debugLine="RadioButton5.Checked = False";
+ //BA.debugLineNum = 3189;BA.debugLine="RadioButton5.Checked = False";
_radiobutton5.setChecked(__c.False);
- //BA.debugLineNum = 2890;BA.debugLine="RadioButton6.Checked = False";
+ //BA.debugLineNum = 3190;BA.debugLine="RadioButton6.Checked = False";
_radiobutton6.setChecked(__c.False);
- //BA.debugLineNum = 2891;BA.debugLine="RadioButton7.Checked = False";
+ //BA.debugLineNum = 3191;BA.debugLine="RadioButton7.Checked = False";
_radiobutton7.setChecked(__c.False);
- //BA.debugLineNum = 2892;BA.debugLine="RadioButton8.Checked = False";
+ //BA.debugLineNum = 3192;BA.debugLine="RadioButton8.Checked = False";
_radiobutton8.setChecked(__c.False);
- //BA.debugLineNum = 2893;BA.debugLine="RadioButton9.Checked = False";
+ //BA.debugLineNum = 3193;BA.debugLine="RadioButton9.Checked = False";
_radiobutton9.setChecked(__c.False);
- //BA.debugLineNum = 2894;BA.debugLine="RadioButton10.Checked = False";
+ //BA.debugLineNum = 3194;BA.debugLine="RadioButton10.Checked = False";
_radiobutton10.setChecked(__c.False);
- //BA.debugLineNum = 2895;BA.debugLine="RadioButton11.Checked = False";
+ //BA.debugLineNum = 3195;BA.debugLine="RadioButton11.Checked = False";
_radiobutton11.setChecked(__c.False);
- //BA.debugLineNum = 2896;BA.debugLine="RadioButton12.Checked = False";
+ //BA.debugLineNum = 3196;BA.debugLine="RadioButton12.Checked = False";
_radiobutton12.setChecked(__c.False);
- //BA.debugLineNum = 2897;BA.debugLine="RadioButton13.Checked = False";
+ //BA.debugLineNum = 3197;BA.debugLine="RadioButton13.Checked = False";
_radiobutton13.setChecked(__c.False);
- //BA.debugLineNum = 2898;BA.debugLine="RadioButton14.Checked = False";
+ //BA.debugLineNum = 3198;BA.debugLine="RadioButton14.Checked = False";
_radiobutton14.setChecked(__c.False);
- //BA.debugLineNum = 2899;BA.debugLine="p6.Text = \"\"";
+ //BA.debugLineNum = 3199;BA.debugLine="p6.Text = \"\"";
_p6.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 2900;BA.debugLine="p7.Text = \"\"";
+ //BA.debugLineNum = 3200;BA.debugLine="p7.Text = \"\"";
_p7.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 2901;BA.debugLine="p8.Text = \"\"";
+ //BA.debugLineNum = 3201;BA.debugLine="p8.Text = \"\"";
_p8.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 2902;BA.debugLine="CheckBox1.Checked = False";
+ //BA.debugLineNum = 3202;BA.debugLine="CheckBox1.Checked = False";
_checkbox1.setChecked(__c.False);
- //BA.debugLineNum = 2903;BA.debugLine="CheckBox2.Checked = False";
+ //BA.debugLineNum = 3203;BA.debugLine="CheckBox2.Checked = False";
_checkbox2.setChecked(__c.False);
- //BA.debugLineNum = 2904;BA.debugLine="CheckBox3.Checked = False";
+ //BA.debugLineNum = 3204;BA.debugLine="CheckBox3.Checked = False";
_checkbox3.setChecked(__c.False);
- //BA.debugLineNum = 2905;BA.debugLine="CheckBox4.Checked = False";
+ //BA.debugLineNum = 3205;BA.debugLine="CheckBox4.Checked = False";
_checkbox4.setChecked(__c.False);
- //BA.debugLineNum = 2906;BA.debugLine="CheckBox5.Checked = False";
+ //BA.debugLineNum = 3206;BA.debugLine="CheckBox5.Checked = False";
_checkbox5.setChecked(__c.False);
- //BA.debugLineNum = 2907;BA.debugLine="CheckBox6.Checked = False";
+ //BA.debugLineNum = 3207;BA.debugLine="CheckBox6.Checked = False";
_checkbox6.setChecked(__c.False);
- //BA.debugLineNum = 2908;BA.debugLine="CheckBox7.Checked = False";
+ //BA.debugLineNum = 3208;BA.debugLine="CheckBox7.Checked = False";
_checkbox7.setChecked(__c.False);
- //BA.debugLineNum = 2909;BA.debugLine="CheckBox8.Checked = False";
+ //BA.debugLineNum = 3209;BA.debugLine="CheckBox8.Checked = False";
_checkbox8.setChecked(__c.False);
- //BA.debugLineNum = 2911;BA.debugLine="If ENCUESTA > 1 Then";
+ //BA.debugLineNum = 3211;BA.debugLine="If ENCUESTA > 1 Then";
if ((double)(Double.parseDouble(_encuesta))>1) {
- //BA.debugLineNum = 2913;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible Then";
+ //BA.debugLineNum = 3213;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible Then";
if (_p_m1.IsInitialized() && _p_m1.getVisible()) {
- //BA.debugLineNum = 2914;BA.debugLine="p_m1.Visible = False";
+ //BA.debugLineNum = 3214;BA.debugLine="p_m1.Visible = False";
_p_m1.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 2918;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 3218;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2919;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 3219;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 2920;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 3220;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 2921;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2\")";
+ //BA.debugLineNum = 3221;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2\")";
_sv_encuesta.getPanel().LoadLayout("ESNCUESTA_m2",ba);
- //BA.debugLineNum = 2922;BA.debugLine="p_m2.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 3222;BA.debugLine="p_m2.Width = Root.Width * 0.94";
_p_m2.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 2923;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 60";
+ //BA.debugLineNum = 3223;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 60";
_sv_encuesta.getPanel().setHeight((int) (_p_m2.getHeight()+60));
- //BA.debugLineNum = 2924;BA.debugLine="Panel7_M2.Visible = False";
+ //BA.debugLineNum = 3224;BA.debugLine="Panel7_M2.Visible = False";
_panel7_m2.setVisible(__c.False);
}else {
- //BA.debugLineNum = 2926;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 3226;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2927;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 3227;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 2928;BA.debugLine="p_cliente.Visible = True";
+ //BA.debugLineNum = 3228;BA.debugLine="p_cliente.Visible = True";
_p_cliente.setVisible(__c.True);
- //BA.debugLineNum = 2931;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 3231;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
};
}else {
- //BA.debugLineNum = 2934;BA.debugLine="Msgbox(\"FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR";
+ //BA.debugLineNum = 3234;BA.debugLine="Msgbox(\"FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR";
__c.Msgbox(BA.ObjectToCharSequence("FALTAN DATOS DE CAPTURA FAVOR DE VALIDAR"),BA.ObjectToCharSequence("AVISO"),ba);
};
- //BA.debugLineNum = 2936;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3236;BA.debugLine="End Sub";
return "";
}
public String _b_guardaencuesta_m2_click() throws Exception{
- //BA.debugLineNum = 4990;BA.debugLine="Private Sub B_guardaencuesta_m2_Click";
- //BA.debugLineNum = 4991;BA.debugLine="P3_M2 = \"\"";
+ //BA.debugLineNum = 5321;BA.debugLine="Private Sub B_guardaencuesta_m2_Click";
+ //BA.debugLineNum = 5322;BA.debugLine="P3_M2 = \"\"";
_p3_m2 = "";
- //BA.debugLineNum = 4992;BA.debugLine="P6_M2 = \"\"";
+ //BA.debugLineNum = 5323;BA.debugLine="P6_M2 = \"\"";
_p6_m2 = "";
- //BA.debugLineNum = 4993;BA.debugLine="P4_M2 = \"\"";
+ //BA.debugLineNum = 5324;BA.debugLine="P4_M2 = \"\"";
_p4_m2 = "";
- //BA.debugLineNum = 4995;BA.debugLine="PASA = \"1\"";
+ //BA.debugLineNum = 5326;BA.debugLine="PASA = \"1\"";
_pasa = "1";
- //BA.debugLineNum = 4996;BA.debugLine="If et_p1_m2.Text = \"\" Then PASA = \"0\"";
+ //BA.debugLineNum = 5327;BA.debugLine="If et_p1_m2.Text = \"\" Then PASA = \"0\"";
if ((_et_p1_m2.getText()).equals("")) {
_pasa = "0";};
- //BA.debugLineNum = 4997;BA.debugLine="If et_p2_m2.Text = \"\" Then PASA = \"0\"";
+ //BA.debugLineNum = 5328;BA.debugLine="If et_p2_m2.Text = \"\" Then PASA = \"0\"";
if ((_et_p2_m2.getText()).equals("")) {
_pasa = "0";};
- //BA.debugLineNum = 4998;BA.debugLine="P4_M2 = \"\"";
+ //BA.debugLineNum = 5329;BA.debugLine="P4_M2 = \"\"";
_p4_m2 = "";
- //BA.debugLineNum = 4999;BA.debugLine="If rd1_p4_m2.Checked Then P4_M2 = \"ALTO\"";
+ //BA.debugLineNum = 5330;BA.debugLine="If rd1_p4_m2.Checked Then P4_M2 = \"ALTO\"";
if (_rd1_p4_m2.getChecked()) {
_p4_m2 = "ALTO";};
- //BA.debugLineNum = 5000;BA.debugLine="If rd2_p4_m2.Checked Then P4_M2 = \"MEDIO\"";
+ //BA.debugLineNum = 5331;BA.debugLine="If rd2_p4_m2.Checked Then P4_M2 = \"MEDIO\"";
if (_rd2_p4_m2.getChecked()) {
_p4_m2 = "MEDIO";};
- //BA.debugLineNum = 5001;BA.debugLine="If rd3_p4_m2.Checked Then P4_M2 = \"BAJO\"";
+ //BA.debugLineNum = 5332;BA.debugLine="If rd3_p4_m2.Checked Then P4_M2 = \"BAJO\"";
if (_rd3_p4_m2.getChecked()) {
_p4_m2 = "BAJO";};
- //BA.debugLineNum = 5003;BA.debugLine="If P4_M2 = \"\" Then PASA = \"0\"";
+ //BA.debugLineNum = 5334;BA.debugLine="If P4_M2 = \"\" Then PASA = \"0\"";
if ((_p4_m2).equals("")) {
_pasa = "0";};
- //BA.debugLineNum = 5005;BA.debugLine="P6_M2 = \"\"";
+ //BA.debugLineNum = 5336;BA.debugLine="P6_M2 = \"\"";
_p6_m2 = "";
- //BA.debugLineNum = 5006;BA.debugLine="If RB1_P6_M2.Checked Then P6_M2 = \"LUNES\"";
+ //BA.debugLineNum = 5337;BA.debugLine="If RB1_P6_M2.Checked Then P6_M2 = \"LUNES\"";
if (_rb1_p6_m2.getChecked()) {
_p6_m2 = "LUNES";};
- //BA.debugLineNum = 5007;BA.debugLine="If RB2_P6_M2.Checked Then P6_M2 = \"MARTES\"";
+ //BA.debugLineNum = 5338;BA.debugLine="If RB2_P6_M2.Checked Then P6_M2 = \"MARTES\"";
if (_rb2_p6_m2.getChecked()) {
_p6_m2 = "MARTES";};
- //BA.debugLineNum = 5008;BA.debugLine="If RB3_P6_M2.Checked Then P6_M2 = \"MIERCOLES\"";
+ //BA.debugLineNum = 5339;BA.debugLine="If RB3_P6_M2.Checked Then P6_M2 = \"MIERCOLES\"";
if (_rb3_p6_m2.getChecked()) {
_p6_m2 = "MIERCOLES";};
- //BA.debugLineNum = 5009;BA.debugLine="If RB4_P6_M2.Checked Then P6_M2 = \"JUEVES\"";
+ //BA.debugLineNum = 5340;BA.debugLine="If RB4_P6_M2.Checked Then P6_M2 = \"JUEVES\"";
if (_rb4_p6_m2.getChecked()) {
_p6_m2 = "JUEVES";};
- //BA.debugLineNum = 5010;BA.debugLine="If RB5_P6_M2.Checked Then P6_M2 = \"VIERNES\"";
+ //BA.debugLineNum = 5341;BA.debugLine="If RB5_P6_M2.Checked Then P6_M2 = \"VIERNES\"";
if (_rb5_p6_m2.getChecked()) {
_p6_m2 = "VIERNES";};
- //BA.debugLineNum = 5011;BA.debugLine="If RB6_P6_M2.Checked Then P6_M2 = \"SABADO\"";
+ //BA.debugLineNum = 5342;BA.debugLine="If RB6_P6_M2.Checked Then P6_M2 = \"SABADO\"";
if (_rb6_p6_m2.getChecked()) {
_p6_m2 = "SABADO";};
- //BA.debugLineNum = 5012;BA.debugLine="If RB7_P6_M2.Checked Then P6_M2 = \"DOMINGO\"";
+ //BA.debugLineNum = 5343;BA.debugLine="If RB7_P6_M2.Checked Then P6_M2 = \"DOMINGO\"";
if (_rb7_p6_m2.getChecked()) {
_p6_m2 = "DOMINGO";};
- //BA.debugLineNum = 5014;BA.debugLine="If P6_M2 = \"\" Then PASA = \"0\"";
+ //BA.debugLineNum = 5345;BA.debugLine="If P6_M2 = \"\" Then PASA = \"0\"";
if ((_p6_m2).equals("")) {
_pasa = "0";};
- //BA.debugLineNum = 5017;BA.debugLine="If CB1_P3_M2.Checked = False And CB2_P3_M2.Chec";
+ //BA.debugLineNum = 5348;BA.debugLine="If CB1_P3_M2.Checked = False And CB2_P3_M2.Chec";
if (_cb1_p3_m2.getChecked()==__c.False && _cb2_p3_m2.getChecked()==__c.False && _cb3_p3_m2.getChecked()==__c.False && _cb4_p3_m2.getChecked()==__c.False && _cb5_p3_m2.getChecked()==__c.False && _cb6_p3_m2.getChecked()==__c.False && _rb1_p3_m2.getChecked()==__c.False && _rb2_p3_m2.getChecked()==__c.False && _rb3_p3_m2.getChecked()==__c.False && (_et_p3_m2.getText()).equals(BA.ObjectToString(__c.False)) && _cb1_p4_m2.getChecked()==__c.False && _cb2_p4_m2.getChecked()==__c.False && _cb3_p4_m2.getChecked()==__c.False && _cb4_p4_m2.getChecked()==__c.False) {
_pasa = "0";};
- //BA.debugLineNum = 5018;BA.debugLine="If et_p5_m2.Text = \"\" Then PASA = \"0\"";
+ //BA.debugLineNum = 5349;BA.debugLine="If et_p5_m2.Text = \"\" Then PASA = \"0\"";
if ((_et_p5_m2.getText()).equals("")) {
_pasa = "0";};
- //BA.debugLineNum = 5019;BA.debugLine="Log(textemp2)";
-__c.LogImpl("720774941",_textemp2,0);
- //BA.debugLineNum = 5020;BA.debugLine="If textemp2 <> \"\" And textemp2.SubString2(0,2) =";
+ //BA.debugLineNum = 5350;BA.debugLine="Log(textemp2)";
+__c.LogImpl("420906013",_textemp2,0);
+ //BA.debugLineNum = 5351;BA.debugLine="If textemp2 <> \"\" And textemp2.SubString2(0,2) =";
if ((_textemp2).equals("") == false && (_textemp2.substring((int) (0),(int) (2))).equals(", ")) {
_textemp2 = _textemp2.substring((int) (2));};
- //BA.debugLineNum = 5021;BA.debugLine="Log(textemp2)";
-__c.LogImpl("720774943",_textemp2,0);
- //BA.debugLineNum = 5022;BA.debugLine="P3_M2 = textemp2";
+ //BA.debugLineNum = 5352;BA.debugLine="Log(textemp2)";
+__c.LogImpl("420906015",_textemp2,0);
+ //BA.debugLineNum = 5353;BA.debugLine="P3_M2 = textemp2";
_p3_m2 = _textemp2;
- //BA.debugLineNum = 5023;BA.debugLine="If RB2_P4_M2.Checked Then";
+ //BA.debugLineNum = 5354;BA.debugLine="If RB2_P4_M2.Checked Then";
if (_rb2_p4_m2.getChecked()) {
- //BA.debugLineNum = 5024;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"NO\"";
+ //BA.debugLineNum = 5355;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"NO\"";
_p3_m2 = _p3_m2+"|"+"NO";
}else if(_rb1_p4_m2.getChecked()) {
- //BA.debugLineNum = 5027;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"SI\"";
+ //BA.debugLineNum = 5358;BA.debugLine="P3_M2 = P3_M2 &\"|\" & \"SI\"";
_p3_m2 = _p3_m2+"|"+"SI";
- //BA.debugLineNum = 5028;BA.debugLine="If ET_P3_M2.Text = \"\" Then";
+ //BA.debugLineNum = 5359;BA.debugLine="If ET_P3_M2.Text = \"\" Then";
if ((_et_p3_m2.getText()).equals("")) {
- //BA.debugLineNum = 5029;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
+ //BA.debugLineNum = 5360;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (_rb1_p3_m2.getChecked()) {
_p3_m2 = _p3_m2+"|"+"Rappi";};
- //BA.debugLineNum = 5030;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
+ //BA.debugLineNum = 5361;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (_rb2_p3_m2.getChecked()) {
_p3_m2 = _p3_m2+"|"+"Coca Cola";};
- //BA.debugLineNum = 5031;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
+ //BA.debugLineNum = 5362;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (_rb3_p3_m2.getChecked()) {
_p3_m2 = _p3_m2+"|"+"Modelo";};
- //BA.debugLineNum = 5032;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
+ //BA.debugLineNum = 5363;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (_rb4_p3_m2.getChecked()) {
_p3_m2 = _p3_m2+"|"+"Rabbit";};
}else if((_et_p3_m2.getText()).equals("") == false) {
- //BA.debugLineNum = 5034;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
+ //BA.debugLineNum = 5365;BA.debugLine="If RB1_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (_rb1_p3_m2.getChecked()) {
_p3_m2 = _p3_m2+"|"+"Rappi";};
- //BA.debugLineNum = 5035;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
+ //BA.debugLineNum = 5366;BA.debugLine="If RB2_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (_rb2_p3_m2.getChecked()) {
_p3_m2 = _p3_m2+"|"+"Coca Cola";};
- //BA.debugLineNum = 5036;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
+ //BA.debugLineNum = 5367;BA.debugLine="If RB3_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (_rb3_p3_m2.getChecked()) {
_p3_m2 = _p3_m2+"|"+"Modelo";};
- //BA.debugLineNum = 5037;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
+ //BA.debugLineNum = 5368;BA.debugLine="If RB4_P3_M2.Checked Then P3_M2 = P3_M2 &\"|\" &";
if (_rb4_p3_m2.getChecked()) {
_p3_m2 = _p3_m2+"|"+"Rabbit";};
- //BA.debugLineNum = 5038;BA.debugLine="P3_M2 = P3_M2 &\", \" & ET_P3_M2.Text";
+ //BA.debugLineNum = 5369;BA.debugLine="P3_M2 = P3_M2 &\", \" & ET_P3_M2.Text";
_p3_m2 = _p3_m2+", "+_et_p3_m2.getText();
};
};
- //BA.debugLineNum = 5041;BA.debugLine="If textemp3 <> \"\" And textemp3.SubString2(0,2) =";
+ //BA.debugLineNum = 5372;BA.debugLine="If textemp3 <> \"\" And textemp3.SubString2(0,2) =";
if ((_textemp3).equals("") == false && (_textemp3.substring((int) (0),(int) (2))).equals(", ")) {
_textemp3 = _textemp3.substring((int) (2));};
- //BA.debugLineNum = 5043;BA.debugLine="P3_M2 = P3_M2 &\"|\" & textemp3";
+ //BA.debugLineNum = 5374;BA.debugLine="P3_M2 = P3_M2 &\"|\" & textemp3";
_p3_m2 = _p3_m2+"|"+_textemp3;
- //BA.debugLineNum = 5045;BA.debugLine="If P3_M2 <> \"\" And P3_M2.SubString2(0,2) = \", \" T";
+ //BA.debugLineNum = 5376;BA.debugLine="If P3_M2 <> \"\" And P3_M2.SubString2(0,2) = \", \" T";
if ((_p3_m2).equals("") == false && (_p3_m2.substring((int) (0),(int) (2))).equals(", ")) {
_p3_m2 = _p3_m2.substring((int) (2));};
- //BA.debugLineNum = 5046;BA.debugLine="LogColor(P3_M2,Colors.BlUE)";
-__c.LogImpl("720774968",_p3_m2,__c.Colors.Blue);
- //BA.debugLineNum = 5047;BA.debugLine="If PASA = \"1\" Then";
+ //BA.debugLineNum = 5377;BA.debugLine="LogColor(P3_M2,Colors.BlUE)";
+__c.LogImpl("420906040",_p3_m2,__c.Colors.Blue);
+ //BA.debugLineNum = 5378;BA.debugLine="If PASA = \"1\" Then";
if ((_pasa).equals("1")) {
- //BA.debugLineNum = 5048;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO2";
+ //BA.debugLineNum = 5379;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO2";
_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO2 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),(Object)(_et_p1_m2.getText()),(Object)(_et_p2_m2.getText()),(Object)(_p3_m2),(Object)(_p4_m2),(Object)(_et_p5_m2.getText()),(Object)(_p6_m2)}));
- //BA.debugLineNum = 5049;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 5380;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 5050;BA.debugLine="p_cliente.Visible = True";
+ //BA.debugLineNum = 5381;BA.debugLine="p_cliente.Visible = True";
_p_cliente.setVisible(__c.True);
- //BA.debugLineNum = 5051;BA.debugLine="et_p1_m2.Text = \"\"";
+ //BA.debugLineNum = 5382;BA.debugLine="et_p1_m2.Text = \"\"";
_et_p1_m2.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5052;BA.debugLine="et_p2_m2.TEXT = \"\"";
+ //BA.debugLineNum = 5383;BA.debugLine="et_p2_m2.TEXT = \"\"";
_et_p2_m2.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5053;BA.debugLine="RB7_P6_M2.Checked = False";
+ //BA.debugLineNum = 5384;BA.debugLine="RB7_P6_M2.Checked = False";
_rb7_p6_m2.setChecked(__c.False);
- //BA.debugLineNum = 5054;BA.debugLine="RB6_P6_M2.Checked = False";
+ //BA.debugLineNum = 5385;BA.debugLine="RB6_P6_M2.Checked = False";
_rb6_p6_m2.setChecked(__c.False);
- //BA.debugLineNum = 5055;BA.debugLine="RB5_P6_M2.Checked = False";
+ //BA.debugLineNum = 5386;BA.debugLine="RB5_P6_M2.Checked = False";
_rb5_p6_m2.setChecked(__c.False);
- //BA.debugLineNum = 5056;BA.debugLine="RB4_P6_M2.Checked = False";
+ //BA.debugLineNum = 5387;BA.debugLine="RB4_P6_M2.Checked = False";
_rb4_p6_m2.setChecked(__c.False);
- //BA.debugLineNum = 5057;BA.debugLine="RB3_P6_M2.Checked = False";
+ //BA.debugLineNum = 5388;BA.debugLine="RB3_P6_M2.Checked = False";
_rb3_p6_m2.setChecked(__c.False);
- //BA.debugLineNum = 5058;BA.debugLine="RB2_P6_M2.Checked = False";
+ //BA.debugLineNum = 5389;BA.debugLine="RB2_P6_M2.Checked = False";
_rb2_p6_m2.setChecked(__c.False);
- //BA.debugLineNum = 5059;BA.debugLine="RB1_P6_M2.Checked = False";
+ //BA.debugLineNum = 5390;BA.debugLine="RB1_P6_M2.Checked = False";
_rb1_p6_m2.setChecked(__c.False);
- //BA.debugLineNum = 5060;BA.debugLine="et_p5_m2.Text = \"\"";
+ //BA.debugLineNum = 5391;BA.debugLine="et_p5_m2.Text = \"\"";
_et_p5_m2.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5061;BA.debugLine="rd3_p4_m2.Checked = False";
+ //BA.debugLineNum = 5392;BA.debugLine="rd3_p4_m2.Checked = False";
_rd3_p4_m2.setChecked(__c.False);
- //BA.debugLineNum = 5062;BA.debugLine="rd2_p4_m2.Checked = False";
+ //BA.debugLineNum = 5393;BA.debugLine="rd2_p4_m2.Checked = False";
_rd2_p4_m2.setChecked(__c.False);
- //BA.debugLineNum = 5063;BA.debugLine="rd1_p4_m2.Checked = False";
+ //BA.debugLineNum = 5394;BA.debugLine="rd1_p4_m2.Checked = False";
_rd1_p4_m2.setChecked(__c.False);
- //BA.debugLineNum = 5064;BA.debugLine="RB1_P3_M2.Checked = False";
+ //BA.debugLineNum = 5395;BA.debugLine="RB1_P3_M2.Checked = False";
_rb1_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5065;BA.debugLine="RB2_P3_M2.Checked = False";
+ //BA.debugLineNum = 5396;BA.debugLine="RB2_P3_M2.Checked = False";
_rb2_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5066;BA.debugLine="RB3_P3_M2.Checked = False";
+ //BA.debugLineNum = 5397;BA.debugLine="RB3_P3_M2.Checked = False";
_rb3_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5067;BA.debugLine="RB4_P3_M2.Checked = False";
+ //BA.debugLineNum = 5398;BA.debugLine="RB4_P3_M2.Checked = False";
_rb4_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5069;BA.debugLine="CB1_P3_M2.Checked = False";
+ //BA.debugLineNum = 5400;BA.debugLine="CB1_P3_M2.Checked = False";
_cb1_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5070;BA.debugLine="CB2_P3_M2.Checked = False";
+ //BA.debugLineNum = 5401;BA.debugLine="CB2_P3_M2.Checked = False";
_cb2_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5071;BA.debugLine="CB3_P3_M2.Checked = False";
+ //BA.debugLineNum = 5402;BA.debugLine="CB3_P3_M2.Checked = False";
_cb3_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5072;BA.debugLine="CB4_P3_M2.Checked = False";
+ //BA.debugLineNum = 5403;BA.debugLine="CB4_P3_M2.Checked = False";
_cb4_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5073;BA.debugLine="CB5_P3_M2.Checked = False";
+ //BA.debugLineNum = 5404;BA.debugLine="CB5_P3_M2.Checked = False";
_cb5_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5074;BA.debugLine="CB6_P3_M2.Checked = False";
+ //BA.debugLineNum = 5405;BA.debugLine="CB6_P3_M2.Checked = False";
_cb6_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5076;BA.debugLine="ET_P3_M2.Text = \"\"";
+ //BA.debugLineNum = 5407;BA.debugLine="ET_P3_M2.Text = \"\"";
_et_p3_m2.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5077;BA.debugLine="P3_M2 = \"\"";
+ //BA.debugLineNum = 5408;BA.debugLine="P3_M2 = \"\"";
_p3_m2 = "";
- //BA.debugLineNum = 5078;BA.debugLine="P4_M2 = \"\"";
+ //BA.debugLineNum = 5409;BA.debugLine="P4_M2 = \"\"";
_p4_m2 = "";
- //BA.debugLineNum = 5079;BA.debugLine="P6_M2 = \"\"";
+ //BA.debugLineNum = 5410;BA.debugLine="P6_M2 = \"\"";
_p6_m2 = "";
- //BA.debugLineNum = 5081;BA.debugLine="Panel7_M2.Visible = False";
+ //BA.debugLineNum = 5412;BA.debugLine="Panel7_M2.Visible = False";
_panel7_m2.setVisible(__c.False);
- //BA.debugLineNum = 5086;BA.debugLine="If ENCUESTA > 2 Then";
+ //BA.debugLineNum = 5417;BA.debugLine="If ENCUESTA > 2 Then";
if ((double)(Double.parseDouble(_encuesta))>2) {
- //BA.debugLineNum = 5087;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible Then";
+ //BA.debugLineNum = 5418;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible Then";
if (_p_m2.IsInitialized() && _p_m2.getVisible()) {
- //BA.debugLineNum = 5088;BA.debugLine="p_m2.Visible = False";
+ //BA.debugLineNum = 5419;BA.debugLine="p_m2.Visible = False";
_p_m2.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 5092;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 5423;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 5093;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 5424;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 5094;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 5425;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 5095;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3\")";
+ //BA.debugLineNum = 5426;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3\")";
_sv_encuesta.getPanel().LoadLayout("ENCUESSTA_M3",ba);
- //BA.debugLineNum = 5096;BA.debugLine="p_m3.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 5427;BA.debugLine="p_m3.Width = Root.Width * 0.94";
_p_m3.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 5097;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 60";
+ //BA.debugLineNum = 5428;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 60";
_sv_encuesta.getPanel().setHeight((int) (_p_m3.getHeight()+60));
- //BA.debugLineNum = 5099;BA.debugLine="If Subs.traeAlmacen = 1 Or Subs.traeAlmacen";
+ //BA.debugLineNum = 5430;BA.debugLine="If Subs.traeAlmacen = 1 Or Subs.traeAlmacen";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(1)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(2)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(4)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(5)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(35)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(36)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(45)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(46)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(47)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(54)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(64)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(65)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(71)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(3)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(25)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(27)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(38))) {
- //BA.debugLineNum = 5100;BA.debugLine="CB1_P6_M3.Text = \"GARIS\"";
+ //BA.debugLineNum = 5431;BA.debugLine="CB1_P6_M3.Text = \"GARIS\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("GARIS"));
- //BA.debugLineNum = 5101;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5432;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5102;BA.debugLine="CB3_P6_M3.Text = \"ZORRO\"";
+ //BA.debugLineNum = 5433;BA.debugLine="CB3_P6_M3.Text = \"ZORRO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("ZORRO"));
- //BA.debugLineNum = 5103;BA.debugLine="CB4_P6_M3.Text = \"ESCORPION\"";
+ //BA.debugLineNum = 5434;BA.debugLine="CB4_P6_M3.Text = \"ESCORPION\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("ESCORPION"));
- //BA.debugLineNum = 5104;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\"";
+ //BA.debugLineNum = 5435;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("RABBIT"));
- //BA.debugLineNum = 5105;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
+ //BA.debugLineNum = 5436;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence("SAMS"));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(12))) {
- //BA.debugLineNum = 5108;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
+ //BA.debugLineNum = 5439;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA"));
- //BA.debugLineNum = 5109;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
+ //BA.debugLineNum = 5440;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA"));
- //BA.debugLineNum = 5110;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5441;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5111;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
+ //BA.debugLineNum = 5442;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO"));
- //BA.debugLineNum = 5112;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\"";
+ //BA.debugLineNum = 5443;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("HUGOSS"));
- //BA.debugLineNum = 5113;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\"";
+ //BA.debugLineNum = 5444;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence("ZORRO"));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(13))) {
- //BA.debugLineNum = 5115;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
+ //BA.debugLineNum = 5446;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA"));
- //BA.debugLineNum = 5116;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
+ //BA.debugLineNum = 5447;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA"));
- //BA.debugLineNum = 5117;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5448;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5118;BA.debugLine="CB4_P6_M3.Text = \"SCORPION\"";
+ //BA.debugLineNum = 5449;BA.debugLine="CB4_P6_M3.Text = \"SCORPION\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("SCORPION"));
- //BA.debugLineNum = 5119;BA.debugLine="CB5_P6_M3.Text = \"ZORRO\"";
+ //BA.debugLineNum = 5450;BA.debugLine="CB5_P6_M3.Text = \"ZORRO\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("ZORRO"));
- //BA.debugLineNum = 5120;BA.debugLine="CB6_P6_M3.Text = \"GARIS\"";
+ //BA.debugLineNum = 5451;BA.debugLine="CB6_P6_M3.Text = \"GARIS\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence("GARIS"));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(14)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(69)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(37))) {
- //BA.debugLineNum = 5122;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
+ //BA.debugLineNum = 5453;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA"));
- //BA.debugLineNum = 5123;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
+ //BA.debugLineNum = 5454;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA"));
- //BA.debugLineNum = 5124;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5455;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5125;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
+ //BA.debugLineNum = 5456;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO"));
- //BA.debugLineNum = 5126;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
+ //BA.debugLineNum = 5457;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA"));
- //BA.debugLineNum = 5127;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\"";
+ //BA.debugLineNum = 5458;BA.debugLine="CB6_P6_M3.Text = \"ZORRO\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence("ZORRO"));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(16)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(70))) {
- //BA.debugLineNum = 5129;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
+ //BA.debugLineNum = 5460;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA"));
- //BA.debugLineNum = 5130;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
+ //BA.debugLineNum = 5461;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA"));
- //BA.debugLineNum = 5131;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5462;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5132;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
+ //BA.debugLineNum = 5463;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO"));
- //BA.debugLineNum = 5133;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
+ //BA.debugLineNum = 5464;BA.debugLine="CB5_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA"));
- //BA.debugLineNum = 5134;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
+ //BA.debugLineNum = 5465;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence("SAMS"));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(17))) {
- //BA.debugLineNum = 5136;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
+ //BA.debugLineNum = 5467;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA"));
- //BA.debugLineNum = 5137;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5468;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5138;BA.debugLine="CB3_P6_M3.Text = \"\"";
+ //BA.debugLineNum = 5469;BA.debugLine="CB3_P6_M3.Text = \"\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5139;BA.debugLine="CB4_P6_M3.Text = \"\"";
+ //BA.debugLineNum = 5470;BA.debugLine="CB4_P6_M3.Text = \"\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5140;BA.debugLine="CB5_P6_M3.Text = \"\"";
+ //BA.debugLineNum = 5471;BA.debugLine="CB5_P6_M3.Text = \"\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5141;BA.debugLine="CB6_P6_M3.Text = \"\"";
+ //BA.debugLineNum = 5472;BA.debugLine="CB6_P6_M3.Text = \"\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence(""));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(29)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(31))) {
- //BA.debugLineNum = 5143;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
+ //BA.debugLineNum = 5474;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA"));
- //BA.debugLineNum = 5144;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
+ //BA.debugLineNum = 5475;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA"));
- //BA.debugLineNum = 5145;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5476;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5146;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
+ //BA.debugLineNum = 5477;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO"));
- //BA.debugLineNum = 5147;BA.debugLine="CB5_P6_M3.Text = \"SAMS\"";
+ //BA.debugLineNum = 5478;BA.debugLine="CB5_P6_M3.Text = \"SAMS\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("SAMS"));
- //BA.debugLineNum = 5148;BA.debugLine="CB6_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
+ //BA.debugLineNum = 5479;BA.debugLine="CB6_P6_M3.Text = \"RIVERA/GRAN BODEGA\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence("RIVERA/GRAN BODEGA"));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(32)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(33))) {
- //BA.debugLineNum = 5150;BA.debugLine="CB1_P6_M3.Text = \"MAS BODEGA\"";
+ //BA.debugLineNum = 5481;BA.debugLine="CB1_P6_M3.Text = \"MAS BODEGA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("MAS BODEGA"));
- //BA.debugLineNum = 5151;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5482;BA.debugLine="CB2_P6_M3.Text = \"SAHUAYO\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5152;BA.debugLine="CB3_P6_M3.Text = \"TREVIÑO\"";
+ //BA.debugLineNum = 5483;BA.debugLine="CB3_P6_M3.Text = \"TREVIÑO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("TREVIÑO"));
- //BA.debugLineNum = 5153;BA.debugLine="CB4_P6_M3.Text = \"HUGOSS\"";
+ //BA.debugLineNum = 5484;BA.debugLine="CB4_P6_M3.Text = \"HUGOSS\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("HUGOSS"));
- //BA.debugLineNum = 5154;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\"";
+ //BA.debugLineNum = 5485;BA.debugLine="CB5_P6_M3.Text = \"RABBIT\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("RABBIT"));
- //BA.debugLineNum = 5155;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
+ //BA.debugLineNum = 5486;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence("SAMS"));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(66)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(67))) {
- //BA.debugLineNum = 5157;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
+ //BA.debugLineNum = 5488;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA"));
- //BA.debugLineNum = 5158;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
+ //BA.debugLineNum = 5489;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA"));
- //BA.debugLineNum = 5159;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5490;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5160;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
+ //BA.debugLineNum = 5491;BA.debugLine="CB4_P6_M3.Text = \"DUERO\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("DUERO"));
- //BA.debugLineNum = 5161;BA.debugLine="CB5_P6_M3.Text = \"SCORPION\"";
+ //BA.debugLineNum = 5492;BA.debugLine="CB5_P6_M3.Text = \"SCORPION\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("SCORPION"));
- //BA.debugLineNum = 5162;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
+ //BA.debugLineNum = 5493;BA.debugLine="CB6_P6_M3.Text = \"SAMS\"";
_cb6_p6_m3.setText(BA.ObjectToCharSequence("SAMS"));
}else if((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(22)) || (_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(34))) {
- //BA.debugLineNum = 5165;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
+ //BA.debugLineNum = 5496;BA.debugLine="CB1_P6_M3.Text = \"DECASA\"";
_cb1_p6_m3.setText(BA.ObjectToCharSequence("DECASA"));
- //BA.debugLineNum = 5166;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
+ //BA.debugLineNum = 5497;BA.debugLine="CB2_P6_M3.Text = \"ZETA\"";
_cb2_p6_m3.setText(BA.ObjectToCharSequence("ZETA"));
- //BA.debugLineNum = 5167;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
+ //BA.debugLineNum = 5498;BA.debugLine="CB3_P6_M3.Text = \"SAHUAYO\"";
_cb3_p6_m3.setText(BA.ObjectToCharSequence("SAHUAYO"));
- //BA.debugLineNum = 5168;BA.debugLine="CB4_P6_M3.Text = \"MERZA/DUERO\"";
+ //BA.debugLineNum = 5499;BA.debugLine="CB4_P6_M3.Text = \"MERZA/DUERO\"";
_cb4_p6_m3.setText(BA.ObjectToCharSequence("MERZA/DUERO"));
- //BA.debugLineNum = 5169;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\"";
+ //BA.debugLineNum = 5500;BA.debugLine="CB5_P6_M3.Text = \"HUGOSS\"";
_cb5_p6_m3.setText(BA.ObjectToCharSequence("HUGOSS"));
};
}else {
- //BA.debugLineNum = 5172;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 5503;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 5173;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 5504;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 5174;BA.debugLine="p_cliente.Visible = True";
+ //BA.debugLineNum = 5505;BA.debugLine="p_cliente.Visible = True";
_p_cliente.setVisible(__c.True);
- //BA.debugLineNum = 5176;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 5507;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
- //BA.debugLineNum = 5177;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
+ //BA.debugLineNum = 5508;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba);
};
}else {
- //BA.debugLineNum = 5180;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
+ //BA.debugLineNum = 5511;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
};
- //BA.debugLineNum = 5182;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5513;BA.debugLine="End Sub";
return "";
}
public String _b_guardaencuesta_m3_click() throws Exception{
@@ -1859,455 +1994,455 @@ String _p8_m3 = "";
String _p9_m3 = "";
anywheresoftware.b4a.objects.collections.List _items2 = null;
anywheresoftware.b4a.objects.collections.List _items3 = null;
- //BA.debugLineNum = 5194;BA.debugLine="Private Sub B_guardaencuesta_m3_Click";
- //BA.debugLineNum = 5196;BA.debugLine="PASA = \"1\"";
+ //BA.debugLineNum = 5525;BA.debugLine="Private Sub B_guardaencuesta_m3_Click";
+ //BA.debugLineNum = 5527;BA.debugLine="PASA = \"1\"";
_pasa = "1";
- //BA.debugLineNum = 5202;BA.debugLine="Private P3_M3 As String = \"\"";
+ //BA.debugLineNum = 5533;BA.debugLine="Private P3_M3 As String = \"\"";
_p3_m3 = "";
- //BA.debugLineNum = 5203;BA.debugLine="Private P4_M3 As String = \"\"";
+ //BA.debugLineNum = 5534;BA.debugLine="Private P4_M3 As String = \"\"";
_p4_m3 = "";
- //BA.debugLineNum = 5204;BA.debugLine="Private P5_M3 As String = \"\"";
+ //BA.debugLineNum = 5535;BA.debugLine="Private P5_M3 As String = \"\"";
_p5_m3 = "";
- //BA.debugLineNum = 5205;BA.debugLine="Private P6_M3 As String = \"\"";
+ //BA.debugLineNum = 5536;BA.debugLine="Private P6_M3 As String = \"\"";
_p6_m3 = "";
- //BA.debugLineNum = 5206;BA.debugLine="Private P7_M3 As String = \"\"";
+ //BA.debugLineNum = 5537;BA.debugLine="Private P7_M3 As String = \"\"";
_p7_m3 = "";
- //BA.debugLineNum = 5207;BA.debugLine="Private P8_M3 As String = \"\"";
+ //BA.debugLineNum = 5538;BA.debugLine="Private P8_M3 As String = \"\"";
_p8_m3 = "";
- //BA.debugLineNum = 5208;BA.debugLine="Private P9_M3 As String = \"\"";
+ //BA.debugLineNum = 5539;BA.debugLine="Private P9_M3 As String = \"\"";
_p9_m3 = "";
- //BA.debugLineNum = 5214;BA.debugLine="If rd1_p5_m3.Checked Then P5_M3 = \"SI\"";
+ //BA.debugLineNum = 5545;BA.debugLine="If rd1_p5_m3.Checked Then P5_M3 = \"SI\"";
if (_rd1_p5_m3.getChecked()) {
_p5_m3 = "SI";};
- //BA.debugLineNum = 5215;BA.debugLine="If rd2_p5_m3.Checked Then P5_M3 = \"NO\"";
+ //BA.debugLineNum = 5546;BA.debugLine="If rd2_p5_m3.Checked Then P5_M3 = \"NO\"";
if (_rd2_p5_m3.getChecked()) {
_p5_m3 = "NO";};
- //BA.debugLineNum = 5217;BA.debugLine="If RB1_P9_M3.Checked Then P9_M3 = \"DIARIO\"";
+ //BA.debugLineNum = 5548;BA.debugLine="If RB1_P9_M3.Checked Then P9_M3 = \"DIARIO\"";
if (_rb1_p9_m3.getChecked()) {
_p9_m3 = "DIARIO";};
- //BA.debugLineNum = 5218;BA.debugLine="If RB2_P9_M3.Checked Then P9_M3 = \"BISEMANAL\"";
+ //BA.debugLineNum = 5549;BA.debugLine="If RB2_P9_M3.Checked Then P9_M3 = \"BISEMANAL\"";
if (_rb2_p9_m3.getChecked()) {
_p9_m3 = "BISEMANAL";};
- //BA.debugLineNum = 5219;BA.debugLine="If RB3_P9_M3.Checked Then P9_M3 = \"SEMANAL\"";
+ //BA.debugLineNum = 5550;BA.debugLine="If RB3_P9_M3.Checked Then P9_M3 = \"SEMANAL\"";
if (_rb3_p9_m3.getChecked()) {
_p9_m3 = "SEMANAL";};
- //BA.debugLineNum = 5220;BA.debugLine="If RB4_P9_M3.Checked Then P9_M3 = \"QUINCENAL\"";
+ //BA.debugLineNum = 5551;BA.debugLine="If RB4_P9_M3.Checked Then P9_M3 = \"QUINCENAL\"";
if (_rb4_p9_m3.getChecked()) {
_p9_m3 = "QUINCENAL";};
- //BA.debugLineNum = 5221;BA.debugLine="If RB5_P9_M3.Checked Then P9_M3 = \"MENSUAL\"";
+ //BA.debugLineNum = 5552;BA.debugLine="If RB5_P9_M3.Checked Then P9_M3 = \"MENSUAL\"";
if (_rb5_p9_m3.getChecked()) {
_p9_m3 = "MENSUAL";};
- //BA.debugLineNum = 5222;BA.debugLine="If P9_M3 = \"\" Then PASA = \"0\"";
+ //BA.debugLineNum = 5553;BA.debugLine="If P9_M3 = \"\" Then PASA = \"0\"";
if ((_p9_m3).equals("")) {
_pasa = "0";};
- //BA.debugLineNum = 5223;BA.debugLine="If P5_M3 = \"\" Then PASA = \"0\"";
+ //BA.debugLineNum = 5554;BA.debugLine="If P5_M3 = \"\" Then PASA = \"0\"";
if ((_p5_m3).equals("")) {
_pasa = "0";};
- //BA.debugLineNum = 5226;BA.debugLine="If CB1_P3_M3.Checked = False And CB2_P3_M3.Check";
+ //BA.debugLineNum = 5557;BA.debugLine="If CB1_P3_M3.Checked = False And CB2_P3_M3.Check";
if (_cb1_p3_m3.getChecked()==__c.False && _cb2_p3_m3.getChecked()==__c.False && _cb3_p3_m3.getChecked()==__c.False && _cb4_p3_m3.getChecked()==__c.False && _cb5_p3_m3.getChecked()==__c.False) {
_pasa = "0";};
- //BA.debugLineNum = 5228;BA.debugLine="If CB1_P4_M3.Checked = False And CB2_P4_M3.Che";
+ //BA.debugLineNum = 5559;BA.debugLine="If CB1_P4_M3.Checked = False And CB2_P4_M3.Che";
if (_cb1_p4_m3.getChecked()==__c.False && _cb2_p4_m3.getChecked()==__c.False && _cb3_p4_m3.getChecked()==__c.False && _cb4_p4_m3.getChecked()==__c.False && _cb5_p4_m3.getChecked()==__c.False) {
_pasa = "0";};
- //BA.debugLineNum = 5233;BA.debugLine="If CB1_P7_M3.Checked = False And CB2_P7_M3.Chec";
+ //BA.debugLineNum = 5564;BA.debugLine="If CB1_P7_M3.Checked = False And CB2_P7_M3.Chec";
if (_cb1_p7_m3.getChecked()==__c.False && _cb2_p7_m3.getChecked()==__c.False && _cb3_p7_m3.getChecked()==__c.False && _cb4_p7_m3.getChecked()==__c.False) {
_pasa = "0";};
- //BA.debugLineNum = 5236;BA.debugLine="If CB1_P8_M3.Checked = False And CB2_P8_M3.Check";
+ //BA.debugLineNum = 5567;BA.debugLine="If CB1_P8_M3.Checked = False And CB2_P8_M3.Check";
if (_cb1_p8_m3.getChecked()==__c.False && _cb2_p8_m3.getChecked()==__c.False && _cb3_p8_m3.getChecked()==__c.False && _cb4_p8_m3.getChecked()==__c.False) {
_pasa = "0";};
- //BA.debugLineNum = 5237;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\"";
+ //BA.debugLineNum = 5568;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\"";
if (_rb1_m3_p1.getChecked()) {
_p3_m3 = "7 A 9";};
- //BA.debugLineNum = 5238;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\"";
+ //BA.debugLineNum = 5569;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\"";
if (_rb2_m3_p1.getChecked()) {
_p3_m3 = "9 A 11";};
- //BA.debugLineNum = 5239;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\"";
+ //BA.debugLineNum = 5570;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\"";
if (_rb3_m3_p1.getChecked()) {
_p3_m3 = "11 A 13";};
- //BA.debugLineNum = 5240;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\"";
+ //BA.debugLineNum = 5571;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\"";
if (_rb4_m3_p1.getChecked()) {
_p3_m3 = "13 +";};
- //BA.debugLineNum = 5242;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\"";
+ //BA.debugLineNum = 5573;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\"";
if (_rb1_m3_p2.getChecked()) {
_p4_m3 = "2 A 4";};
- //BA.debugLineNum = 5243;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\"";
+ //BA.debugLineNum = 5574;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\"";
if (_rb2_m3_p2.getChecked()) {
_p4_m3 = "4 A 6";};
- //BA.debugLineNum = 5244;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\"";
+ //BA.debugLineNum = 5575;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\"";
if (_rb3_m3_p2.getChecked()) {
_p4_m3 = "6 A 8";};
- //BA.debugLineNum = 5245;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\"";
+ //BA.debugLineNum = 5576;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\"";
if (_rb4_m3_p2.getChecked()) {
_p4_m3 = "8 +";};
- //BA.debugLineNum = 5247;BA.debugLine="If CB5_P4_M3.Checked = True And ( CB2_P4_M3.Chec";
+ //BA.debugLineNum = 5578;BA.debugLine="If CB5_P4_M3.Checked = True And ( CB2_P4_M3.Chec";
if (_cb5_p4_m3.getChecked()==__c.True && (_cb2_p4_m3.getChecked()==__c.True || _cb3_p4_m3.getChecked()==__c.True || _cb4_p4_m3.getChecked()==__c.True || _cb1_p4_m3.getChecked()==__c.True)) {
- //BA.debugLineNum = 5248;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5579;BA.debugLine="PASA = \"0\"";
_pasa = "0";
- //BA.debugLineNum = 5249;BA.debugLine="CB5_P4_M3.Checked = False";
+ //BA.debugLineNum = 5580;BA.debugLine="CB5_P4_M3.Checked = False";
_cb5_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5250;BA.debugLine="CB2_P4_M3.Checked = False";
+ //BA.debugLineNum = 5581;BA.debugLine="CB2_P4_M3.Checked = False";
_cb2_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5251;BA.debugLine="CB3_P4_M3.Checked = False";
+ //BA.debugLineNum = 5582;BA.debugLine="CB3_P4_M3.Checked = False";
_cb3_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5252;BA.debugLine="CB4_P4_M3.Checked = False";
+ //BA.debugLineNum = 5583;BA.debugLine="CB4_P4_M3.Checked = False";
_cb4_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5253;BA.debugLine="CB1_P4_M3.Checked = False";
+ //BA.debugLineNum = 5584;BA.debugLine="CB1_P4_M3.Checked = False";
_cb1_p4_m3.setChecked(__c.False);
};
- //BA.debugLineNum = 5257;BA.debugLine="If PASA = \"1\" Then";
+ //BA.debugLineNum = 5588;BA.debugLine="If PASA = \"1\" Then";
if ((_pasa).equals("1")) {
- //BA.debugLineNum = 5258;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\"";
+ //BA.debugLineNum = 5589;BA.debugLine="If rb1_m3_p1.Checked Then P3_M3 = \"7 A 9\"";
if (_rb1_m3_p1.getChecked()) {
_p3_m3 = "7 A 9";};
- //BA.debugLineNum = 5259;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\"";
+ //BA.debugLineNum = 5590;BA.debugLine="If RB2_M3_P1.Checked Then P3_M3 = \"9 A 11\"";
if (_rb2_m3_p1.getChecked()) {
_p3_m3 = "9 A 11";};
- //BA.debugLineNum = 5260;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\"";
+ //BA.debugLineNum = 5591;BA.debugLine="If RB3_M3_P1.Checked Then P3_M3 = \"11 A 13\"";
if (_rb3_m3_p1.getChecked()) {
_p3_m3 = "11 A 13";};
- //BA.debugLineNum = 5261;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\"";
+ //BA.debugLineNum = 5592;BA.debugLine="If RB4_M3_P1.Checked Then P3_M3 = \"13 +\"";
if (_rb4_m3_p1.getChecked()) {
_p3_m3 = "13 +";};
- //BA.debugLineNum = 5263;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\"";
+ //BA.debugLineNum = 5594;BA.debugLine="If RB1_M3_P2.Checked Then P4_M3 = \"2 A 4\"";
if (_rb1_m3_p2.getChecked()) {
_p4_m3 = "2 A 4";};
- //BA.debugLineNum = 5264;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\"";
+ //BA.debugLineNum = 5595;BA.debugLine="If RB2_M3_P2.Checked Then P4_M3 = \"4 A 6\"";
if (_rb2_m3_p2.getChecked()) {
_p4_m3 = "4 A 6";};
- //BA.debugLineNum = 5265;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\"";
+ //BA.debugLineNum = 5596;BA.debugLine="If RB3_M3_P2.Checked Then P4_M3 = \"6 A 8\"";
if (_rb3_m3_p2.getChecked()) {
_p4_m3 = "6 A 8";};
- //BA.debugLineNum = 5266;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\"";
+ //BA.debugLineNum = 5597;BA.debugLine="If RB4_M3_P2.Checked Then P4_M3 = \"8 +\"";
if (_rb4_m3_p2.getChecked()) {
_p4_m3 = "8 +";};
- //BA.debugLineNum = 5268;BA.debugLine="If ET_P6_M3.Text <> \"\" Then";
+ //BA.debugLineNum = 5599;BA.debugLine="If ET_P6_M3.Text <> \"\" Then";
if ((_et_p6_m3.getText()).equals("") == false) {
- //BA.debugLineNum = 5269;BA.debugLine="textemp6 = textemp6 & \", \" & ET_P6_M3.Text";
+ //BA.debugLineNum = 5600;BA.debugLine="textemp6 = textemp6 & \", \" & ET_P6_M3.Text";
_textemp6 = _textemp6+", "+_et_p6_m3.getText();
};
- //BA.debugLineNum = 5272;BA.debugLine="If textemp4 <> \"\" And textemp4.SubString2(0,2) =";
+ //BA.debugLineNum = 5603;BA.debugLine="If textemp4 <> \"\" And textemp4.SubString2(0,2) =";
if ((_textemp4).equals("") == false && (_textemp4.substring((int) (0),(int) (2))).equals(", ")) {
_textemp4 = _textemp4.substring((int) (2));};
- //BA.debugLineNum = 5273;BA.debugLine="If textemp5 <> \"\" And textemp5.SubString2(0,2) =";
+ //BA.debugLineNum = 5604;BA.debugLine="If textemp5 <> \"\" And textemp5.SubString2(0,2) =";
if ((_textemp5).equals("") == false && (_textemp5.substring((int) (0),(int) (2))).equals(", ")) {
_textemp5 = _textemp5.substring((int) (2));};
- //BA.debugLineNum = 5274;BA.debugLine="If textemp6 <> \"\" And textemp6.SubString2(0,2) =";
+ //BA.debugLineNum = 5605;BA.debugLine="If textemp6 <> \"\" And textemp6.SubString2(0,2) =";
if ((_textemp6).equals("") == false && (_textemp6.substring((int) (0),(int) (2))).equals(", ")) {
_textemp6 = _textemp6.substring((int) (2));};
- //BA.debugLineNum = 5275;BA.debugLine="If textemp7 <> \"\" And textemp7.SubString2(0,2) =";
+ //BA.debugLineNum = 5606;BA.debugLine="If textemp7 <> \"\" And textemp7.SubString2(0,2) =";
if ((_textemp7).equals("") == false && (_textemp7.substring((int) (0),(int) (2))).equals(", ")) {
_textemp7 = _textemp7.substring((int) (2));};
- //BA.debugLineNum = 5276;BA.debugLine="If textemp8 <> \"\" And textemp8.SubString2(0,2) =";
+ //BA.debugLineNum = 5607;BA.debugLine="If textemp8 <> \"\" And textemp8.SubString2(0,2) =";
if ((_textemp8).equals("") == false && (_textemp8.substring((int) (0),(int) (2))).equals(", ")) {
_textemp8 = _textemp8.substring((int) (2));};
- //BA.debugLineNum = 5280;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO3";
+ //BA.debugLineNum = 5611;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO3";
_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO3 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6,P7,P8,P9,P10,P11) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),(Object)("x"),(Object)("x"),(Object)(_p3_m3),(Object)(_p4_m3),(Object)(_textemp4),(Object)(_textemp5),(Object)(_p5_m3),(Object)(_textemp6),(Object)(_textemp7),(Object)(_textemp8),(Object)(_p9_m3)}));
- //BA.debugLineNum = 5281;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 5612;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 5282;BA.debugLine="p_cliente.Visible = True";
+ //BA.debugLineNum = 5613;BA.debugLine="p_cliente.Visible = True";
_p_cliente.setVisible(__c.True);
- //BA.debugLineNum = 5285;BA.debugLine="If ENCUESTA > 3 Then";
+ //BA.debugLineNum = 5616;BA.debugLine="If ENCUESTA > 3 Then";
if ((double)(Double.parseDouble(_encuesta))>3) {
- //BA.debugLineNum = 5286;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible Then";
+ //BA.debugLineNum = 5617;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible Then";
if (_p_m3.IsInitialized() && _p_m3.getVisible()) {
- //BA.debugLineNum = 5287;BA.debugLine="p_m3.Visible = False";
+ //BA.debugLineNum = 5618;BA.debugLine="p_m3.Visible = False";
_p_m3.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 5291;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 5622;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 5292;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 5623;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 5293;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 5624;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 5294;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 5625;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 5295;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\")";
+ //BA.debugLineNum = 5626;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\")";
_sv_encuesta.getPanel().LoadLayout("ENCUESTA_M4",ba);
- //BA.debugLineNum = 5296;BA.debugLine="p_m4.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 5627;BA.debugLine="p_m4.Width = Root.Width * 0.94";
_p_m4.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 5297;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 60";
+ //BA.debugLineNum = 5628;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 60";
_sv_encuesta.getPanel().setHeight((int) (_p_m4.getHeight()+60));
- //BA.debugLineNum = 5299;BA.debugLine="Dim Items2 As List";
+ //BA.debugLineNum = 5630;BA.debugLine="Dim Items2 As List";
_items2 = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 5300;BA.debugLine="Items2.Initialize";
+ //BA.debugLineNum = 5631;BA.debugLine="Items2.Initialize";
_items2.Initialize();
- //BA.debugLineNum = 5301;BA.debugLine="Items2.Add(\"Selecciona una opcion\")";
+ //BA.debugLineNum = 5632;BA.debugLine="Items2.Add(\"Selecciona una opcion\")";
_items2.Add((Object)("Selecciona una opcion"));
- //BA.debugLineNum = 5302;BA.debugLine="Items2.Add(\"Propio\")";
+ //BA.debugLineNum = 5633;BA.debugLine="Items2.Add(\"Propio\")";
_items2.Add((Object)("Propio"));
- //BA.debugLineNum = 5303;BA.debugLine="Items2.Add(\"Rentado\")";
+ //BA.debugLineNum = 5634;BA.debugLine="Items2.Add(\"Rentado\")";
_items2.Add((Object)("Rentado"));
- //BA.debugLineNum = 5304;BA.debugLine="cb_p3_m4.SetItems(Items2)";
+ //BA.debugLineNum = 5635;BA.debugLine="cb_p3_m4.SetItems(Items2)";
_cb_p3_m4._setitems /*String*/ (_items2);
- //BA.debugLineNum = 5305;BA.debugLine="itemselect2 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5636;BA.debugLine="itemselect2 = \"Selecciona una opcion\"";
_itemselect2 = "Selecciona una opcion";
- //BA.debugLineNum = 5308;BA.debugLine="Dim Items3 As List";
+ //BA.debugLineNum = 5639;BA.debugLine="Dim Items3 As List";
_items3 = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 5309;BA.debugLine="Items3.Initialize";
+ //BA.debugLineNum = 5640;BA.debugLine="Items3.Initialize";
_items3.Initialize();
- //BA.debugLineNum = 5310;BA.debugLine="Items3.Add(\"Selecciona una opcion\")";
+ //BA.debugLineNum = 5641;BA.debugLine="Items3.Add(\"Selecciona una opcion\")";
_items3.Add((Object)("Selecciona una opcion"));
- //BA.debugLineNum = 5311;BA.debugLine="Items3.Add(\"Completamente Surtido\")";
+ //BA.debugLineNum = 5642;BA.debugLine="Items3.Add(\"Completamente Surtido\")";
_items3.Add((Object)("Completamente Surtido"));
- //BA.debugLineNum = 5312;BA.debugLine="Items3.Add(\"Bien Surtido\")";
+ //BA.debugLineNum = 5643;BA.debugLine="Items3.Add(\"Bien Surtido\")";
_items3.Add((Object)("Bien Surtido"));
- //BA.debugLineNum = 5313;BA.debugLine="Items3.Add(\"Poco Surtido\")";
+ //BA.debugLineNum = 5644;BA.debugLine="Items3.Add(\"Poco Surtido\")";
_items3.Add((Object)("Poco Surtido"));
- //BA.debugLineNum = 5314;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")";
+ //BA.debugLineNum = 5645;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")";
_items3.Add((Object)("Muy Poco Surtido"));
- //BA.debugLineNum = 5315;BA.debugLine="Items3.Add(\"Sin Existencias\")";
+ //BA.debugLineNum = 5646;BA.debugLine="Items3.Add(\"Sin Existencias\")";
_items3.Add((Object)("Sin Existencias"));
- //BA.debugLineNum = 5316;BA.debugLine="cb_p4_1_m4.SetItems(Items3)";
+ //BA.debugLineNum = 5647;BA.debugLine="cb_p4_1_m4.SetItems(Items3)";
_cb_p4_1_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 5317;BA.debugLine="itemselect3 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5648;BA.debugLine="itemselect3 = \"Selecciona una opcion\"";
_itemselect3 = "Selecciona una opcion";
- //BA.debugLineNum = 5318;BA.debugLine="cb_p4_2_m4.SetItems(Items3)";
+ //BA.debugLineNum = 5649;BA.debugLine="cb_p4_2_m4.SetItems(Items3)";
_cb_p4_2_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 5319;BA.debugLine="itemselect4 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5650;BA.debugLine="itemselect4 = \"Selecciona una opcion\"";
_itemselect4 = "Selecciona una opcion";
- //BA.debugLineNum = 5320;BA.debugLine="cb_p4_3_m4.SetItems(Items3)";
+ //BA.debugLineNum = 5651;BA.debugLine="cb_p4_3_m4.SetItems(Items3)";
_cb_p4_3_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 5321;BA.debugLine="itemselect5 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5652;BA.debugLine="itemselect5 = \"Selecciona una opcion\"";
_itemselect5 = "Selecciona una opcion";
- //BA.debugLineNum = 5322;BA.debugLine="cb_p4_4_m4.SetItems(Items3)";
+ //BA.debugLineNum = 5653;BA.debugLine="cb_p4_4_m4.SetItems(Items3)";
_cb_p4_4_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 5323;BA.debugLine="itemselect6 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5654;BA.debugLine="itemselect6 = \"Selecciona una opcion\"";
_itemselect6 = "Selecciona una opcion";
- //BA.debugLineNum = 5324;BA.debugLine="cb_p4_5_m4.SetItems(Items3)";
+ //BA.debugLineNum = 5655;BA.debugLine="cb_p4_5_m4.SetItems(Items3)";
_cb_p4_5_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 5325;BA.debugLine="itemselect7 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5656;BA.debugLine="itemselect7 = \"Selecciona una opcion\"";
_itemselect7 = "Selecciona una opcion";
}else {
- //BA.debugLineNum = 5327;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 5658;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 5328;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 5659;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 5329;BA.debugLine="p_cliente.Visible = True";
+ //BA.debugLineNum = 5660;BA.debugLine="p_cliente.Visible = True";
_p_cliente.setVisible(__c.True);
- //BA.debugLineNum = 5331;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 5662;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
- //BA.debugLineNum = 5332;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
+ //BA.debugLineNum = 5663;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba);
};
}else {
- //BA.debugLineNum = 5335;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
+ //BA.debugLineNum = 5666;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
};
- //BA.debugLineNum = 5337;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5668;BA.debugLine="End Sub";
return "";
}
public String _b_guardaencuesta_m4_click() throws Exception{
anywheresoftware.b4a.objects.collections.List _items8 = null;
- //BA.debugLineNum = 5339;BA.debugLine="Private Sub B_guardaencuesta_m4_Click";
- //BA.debugLineNum = 5341;BA.debugLine="PASA = \"1\"";
+ //BA.debugLineNum = 5670;BA.debugLine="Private Sub B_guardaencuesta_m4_Click";
+ //BA.debugLineNum = 5672;BA.debugLine="PASA = \"1\"";
_pasa = "1";
- //BA.debugLineNum = 5343;BA.debugLine="If itemselect2 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5674;BA.debugLine="If itemselect2 = \"Selecciona una opcion\" Then";
if ((_itemselect2).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5344;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5675;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5346;BA.debugLine="If itemselect3 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5677;BA.debugLine="If itemselect3 = \"Selecciona una opcion\" Then";
if ((_itemselect3).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5347;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5678;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5349;BA.debugLine="If itemselect4 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5680;BA.debugLine="If itemselect4 = \"Selecciona una opcion\" Then";
if ((_itemselect4).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5350;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5681;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5352;BA.debugLine="If itemselect5 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5683;BA.debugLine="If itemselect5 = \"Selecciona una opcion\" Then";
if ((_itemselect5).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5353;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5684;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5355;BA.debugLine="If itemselect6 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5686;BA.debugLine="If itemselect6 = \"Selecciona una opcion\" Then";
if ((_itemselect6).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5356;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5687;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5358;BA.debugLine="If itemselect7 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5689;BA.debugLine="If itemselect7 = \"Selecciona una opcion\" Then";
if ((_itemselect7).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5359;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5690;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5361;BA.debugLine="If et_p1_m4.Text.Length < 2 Then";
+ //BA.debugLineNum = 5692;BA.debugLine="If et_p1_m4.Text.Length < 2 Then";
if (_et_p1_m4.getText().length()<2) {
- //BA.debugLineNum = 5363;BA.debugLine="et_p1_m4.Text = \"\"";
+ //BA.debugLineNum = 5694;BA.debugLine="et_p1_m4.Text = \"\"";
_et_p1_m4.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5364;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5695;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5366;BA.debugLine="If PASA = \"1\" Then";
+ //BA.debugLineNum = 5697;BA.debugLine="If PASA = \"1\" Then";
if ((_pasa).equals("1")) {
- //BA.debugLineNum = 5367;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO4";
+ //BA.debugLineNum = 5698;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO4";
_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO4 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),(Object)(_et_p1_m4.getText()),(Object)(_et_p2_m4.getText()),(Object)(_itemselect2),(Object)(_itemselect3),(Object)(_itemselect4),(Object)(_itemselect5),(Object)(_itemselect6),(Object)(_itemselect7)}));
- //BA.debugLineNum = 5368;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 5699;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 5369;BA.debugLine="p_cliente.Visible = True";
+ //BA.debugLineNum = 5700;BA.debugLine="p_cliente.Visible = True";
_p_cliente.setVisible(__c.True);
- //BA.debugLineNum = 5371;BA.debugLine="If ENCUESTA > 4 Then";
+ //BA.debugLineNum = 5702;BA.debugLine="If ENCUESTA > 4 Then";
if ((double)(Double.parseDouble(_encuesta))>4) {
- //BA.debugLineNum = 5372;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible Then";
+ //BA.debugLineNum = 5703;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible Then";
if (_p_m4.IsInitialized() && _p_m4.getVisible()) {
- //BA.debugLineNum = 5373;BA.debugLine="p_m4.Visible = False";
+ //BA.debugLineNum = 5704;BA.debugLine="p_m4.Visible = False";
_p_m4.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 5377;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 5708;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 5378;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 5709;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 5379;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 5710;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 5380;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\")";
+ //BA.debugLineNum = 5711;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\")";
_sv_encuesta.getPanel().LoadLayout("ENCUESTA_M5",ba);
- //BA.debugLineNum = 5381;BA.debugLine="p_modulo5.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 5712;BA.debugLine="p_modulo5.Width = Root.Width * 0.94";
_p_modulo5.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 5382;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Height + 6";
+ //BA.debugLineNum = 5713;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Height + 6";
_sv_encuesta.getPanel().setHeight((int) (_p_modulo5.getHeight()+60));
- //BA.debugLineNum = 5384;BA.debugLine="Dim Items8 As List";
+ //BA.debugLineNum = 5715;BA.debugLine="Dim Items8 As List";
_items8 = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 5385;BA.debugLine="Items8.Initialize";
+ //BA.debugLineNum = 5716;BA.debugLine="Items8.Initialize";
_items8.Initialize();
- //BA.debugLineNum = 5386;BA.debugLine="Items8.Add(\"Selecciona una opcion\")";
+ //BA.debugLineNum = 5717;BA.debugLine="Items8.Add(\"Selecciona una opcion\")";
_items8.Add((Object)("Selecciona una opcion"));
- //BA.debugLineNum = 5387;BA.debugLine="Items8.Add(\"Completamente Surtido\")";
+ //BA.debugLineNum = 5718;BA.debugLine="Items8.Add(\"Completamente Surtido\")";
_items8.Add((Object)("Completamente Surtido"));
- //BA.debugLineNum = 5388;BA.debugLine="Items8.Add(\"Bien Surtido\")";
+ //BA.debugLineNum = 5719;BA.debugLine="Items8.Add(\"Bien Surtido\")";
_items8.Add((Object)("Bien Surtido"));
- //BA.debugLineNum = 5389;BA.debugLine="Items8.Add(\"Poco Surtido\")";
+ //BA.debugLineNum = 5720;BA.debugLine="Items8.Add(\"Poco Surtido\")";
_items8.Add((Object)("Poco Surtido"));
- //BA.debugLineNum = 5390;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")";
+ //BA.debugLineNum = 5721;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")";
_items8.Add((Object)("Muy Poco Surtido"));
- //BA.debugLineNum = 5391;BA.debugLine="Items8.Add(\"Sin Existencias\")";
+ //BA.debugLineNum = 5722;BA.debugLine="Items8.Add(\"Sin Existencias\")";
_items8.Add((Object)("Sin Existencias"));
- //BA.debugLineNum = 5392;BA.debugLine="cb_p1_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5723;BA.debugLine="cb_p1_m5.SetItems(Items8)";
_cb_p1_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5393;BA.debugLine="itemselect8 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5724;BA.debugLine="itemselect8 = \"Selecciona una opcion\"";
_itemselect8 = "Selecciona una opcion";
- //BA.debugLineNum = 5394;BA.debugLine="cb_p2_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5725;BA.debugLine="cb_p2_m5.SetItems(Items8)";
_cb_p2_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5395;BA.debugLine="itemselect9 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5726;BA.debugLine="itemselect9 = \"Selecciona una opcion\"";
_itemselect9 = "Selecciona una opcion";
- //BA.debugLineNum = 5396;BA.debugLine="cb_p3_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5727;BA.debugLine="cb_p3_m5.SetItems(Items8)";
_cb_p3_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5397;BA.debugLine="itemselect10 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5728;BA.debugLine="itemselect10 = \"Selecciona una opcion\"";
_itemselect10 = "Selecciona una opcion";
- //BA.debugLineNum = 5398;BA.debugLine="cb_p4_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5729;BA.debugLine="cb_p4_m5.SetItems(Items8)";
_cb_p4_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5399;BA.debugLine="itemselect11 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5730;BA.debugLine="itemselect11 = \"Selecciona una opcion\"";
_itemselect11 = "Selecciona una opcion";
- //BA.debugLineNum = 5400;BA.debugLine="cb_p5_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5731;BA.debugLine="cb_p5_m5.SetItems(Items8)";
_cb_p5_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5401;BA.debugLine="itemselect12 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5732;BA.debugLine="itemselect12 = \"Selecciona una opcion\"";
_itemselect12 = "Selecciona una opcion";
- //BA.debugLineNum = 5402;BA.debugLine="cb_p6_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5733;BA.debugLine="cb_p6_m5.SetItems(Items8)";
_cb_p6_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5403;BA.debugLine="itemselect13 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5734;BA.debugLine="itemselect13 = \"Selecciona una opcion\"";
_itemselect13 = "Selecciona una opcion";
- //BA.debugLineNum = 5404;BA.debugLine="cb_p7_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5735;BA.debugLine="cb_p7_m5.SetItems(Items8)";
_cb_p7_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5405;BA.debugLine="itemselect14 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5736;BA.debugLine="itemselect14 = \"Selecciona una opcion\"";
_itemselect14 = "Selecciona una opcion";
- //BA.debugLineNum = 5406;BA.debugLine="cb_p8_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5737;BA.debugLine="cb_p8_m5.SetItems(Items8)";
_cb_p8_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5407;BA.debugLine="itemselect15 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5738;BA.debugLine="itemselect15 = \"Selecciona una opcion\"";
_itemselect15 = "Selecciona una opcion";
- //BA.debugLineNum = 5408;BA.debugLine="cb_p9_m5.SetItems(Items8)";
+ //BA.debugLineNum = 5739;BA.debugLine="cb_p9_m5.SetItems(Items8)";
_cb_p9_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 5409;BA.debugLine="itemselect16 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 5740;BA.debugLine="itemselect16 = \"Selecciona una opcion\"";
_itemselect16 = "Selecciona una opcion";
- //BA.debugLineNum = 5410;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
+ //BA.debugLineNum = 5741;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba);
}else {
- //BA.debugLineNum = 5412;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
+ //BA.debugLineNum = 5743;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = _tipo_venta;
- //BA.debugLineNum = 5414;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 5745;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 5415;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 5746;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 5416;BA.debugLine="p_cliente.Visible = True";
+ //BA.debugLineNum = 5747;BA.debugLine="p_cliente.Visible = True";
_p_cliente.setVisible(__c.True);
- //BA.debugLineNum = 5417;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 5748;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
};
}else {
- //BA.debugLineNum = 5420;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
+ //BA.debugLineNum = 5751;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
};
- //BA.debugLineNum = 5423;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5754;BA.debugLine="End Sub";
return "";
}
public String _b_guardaencuesta_m5_click() throws Exception{
- //BA.debugLineNum = 5425;BA.debugLine="Private Sub B_guardaencuesta_m5_Click";
- //BA.debugLineNum = 5427;BA.debugLine="PASA = \"1\"";
+ //BA.debugLineNum = 5756;BA.debugLine="Private Sub B_guardaencuesta_m5_Click";
+ //BA.debugLineNum = 5758;BA.debugLine="PASA = \"1\"";
_pasa = "1";
- //BA.debugLineNum = 5429;BA.debugLine="If itemselect8 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5760;BA.debugLine="If itemselect8 = \"Selecciona una opcion\" Then";
if ((_itemselect8).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5430;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5761;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5432;BA.debugLine="If itemselect9 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5763;BA.debugLine="If itemselect9 = \"Selecciona una opcion\" Then";
if ((_itemselect9).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5433;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5764;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5435;BA.debugLine="If itemselect10 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5766;BA.debugLine="If itemselect10 = \"Selecciona una opcion\" Then";
if ((_itemselect10).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5436;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5767;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5438;BA.debugLine="If itemselect11 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5769;BA.debugLine="If itemselect11 = \"Selecciona una opcion\" Then";
if ((_itemselect11).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5439;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5770;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5441;BA.debugLine="If itemselect12 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5772;BA.debugLine="If itemselect12 = \"Selecciona una opcion\" Then";
if ((_itemselect12).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5442;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5773;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5444;BA.debugLine="If itemselect13 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5775;BA.debugLine="If itemselect13 = \"Selecciona una opcion\" Then";
if ((_itemselect13).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5445;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5776;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5447;BA.debugLine="If itemselect14 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5778;BA.debugLine="If itemselect14 = \"Selecciona una opcion\" Then";
if ((_itemselect14).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5448;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5779;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5450;BA.debugLine="If itemselect15 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5781;BA.debugLine="If itemselect15 = \"Selecciona una opcion\" Then";
if ((_itemselect15).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5451;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5782;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5453;BA.debugLine="If itemselect16 = \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 5784;BA.debugLine="If itemselect16 = \"Selecciona una opcion\" Then";
if ((_itemselect16).equals("Selecciona una opcion")) {
- //BA.debugLineNum = 5454;BA.debugLine="PASA = \"0\"";
+ //BA.debugLineNum = 5785;BA.debugLine="PASA = \"0\"";
_pasa = "0";
};
- //BA.debugLineNum = 5457;BA.debugLine="If PASA = \"1\" Then";
+ //BA.debugLineNum = 5788;BA.debugLine="If PASA = \"1\" Then";
if ((_pasa).equals("1")) {
- //BA.debugLineNum = 5458;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO5";
+ //BA.debugLineNum = 5789;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO ENCUESTA_MODULO5";
_skmt.ExecNonQuery2("INSERT INTO ENCUESTA_MODULO5 (CLIENTE, ALMACEN,P1, P2, P3, P4, P5, P6, P7, P8, P9) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traecliente /*String*/ (ba)),(Object)(_almacen),(Object)(_itemselect8),(Object)(_itemselect9),(Object)(_itemselect10),(Object)(_itemselect11),(Object)(_itemselect12),(Object)(_itemselect13),(Object)(_itemselect14),(Object)(_itemselect15),(Object)(_itemselect16)}));
- //BA.debugLineNum = 5459;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 5790;BA.debugLine="SV_ENCUESTA.Visible = False";
_sv_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 5460;BA.debugLine="p_cliente.Visible = True";
+ //BA.debugLineNum = 5791;BA.debugLine="p_cliente.Visible = True";
_p_cliente.setVisible(__c.True);
- //BA.debugLineNum = 5461;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
+ //BA.debugLineNum = 5792;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = _tipo_venta;
- //BA.debugLineNum = 5462;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 5793;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
- //BA.debugLineNum = 5463;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
+ //BA.debugLineNum = 5794;BA.debugLine="MsgboxAsync(\"Encuesta guardada\",\"\")";
__c.MsgboxAsync(BA.ObjectToCharSequence("Encuesta guardada"),BA.ObjectToCharSequence(""),ba);
}else {
- //BA.debugLineNum = 5465;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
+ //BA.debugLineNum = 5796;BA.debugLine="Msgbox(\"FAVOR DE CONTESTAR LA ENCUESTA\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("FAVOR DE CONTESTAR LA ENCUESTA"),BA.ObjectToCharSequence("AVISO"),ba);
};
- //BA.debugLineNum = 5467;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5798;BA.debugLine="End Sub";
return "";
}
public void _b_imp_click() throws Exception{
@@ -2334,7 +2469,7 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 3164;BA.debugLine="If ALMACEN = 87 Then";
+ //BA.debugLineNum = 3466;BA.debugLine="If ALMACEN = 87 Then";
if (true) break;
case 1:
@@ -2353,7 +2488,7 @@ this.state = 43;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 3165;BA.debugLine="If Subs.traemontoprod Then";
+ //BA.debugLineNum = 3467;BA.debugLine="If Subs.traemontoprod Then";
if (true) break;
case 4:
@@ -2368,14 +2503,14 @@ this.state = 8;
case 6:
//C
this.state = 9;
- //BA.debugLineNum = 3166;BA.debugLine="Impresion2";
+ //BA.debugLineNum = 3468;BA.debugLine="Impresion2";
parent._impresion2();
if (true) break;
case 8:
//C
this.state = 9;
- //BA.debugLineNum = 3168;BA.debugLine="Impresion";
+ //BA.debugLineNum = 3470;BA.debugLine="Impresion";
parent._impresion();
if (true) break;
@@ -2388,18 +2523,18 @@ this.state = 44;
case 11:
//C
this.state = 44;
- //BA.debugLineNum = 3172;BA.debugLine="Impresion4";
+ //BA.debugLineNum = 3474;BA.debugLine="Impresion4";
parent._impresion4();
if (true) break;
case 13:
//C
this.state = 14;
- //BA.debugLineNum = 3175;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
+ //BA.debugLineNum = 3477;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, IFNULL(CONFIRMADO,0) AS CONFIRMADO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 3176;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3478;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 3178;BA.debugLine="If c.GetString(\"CAT_CL_BCREDITO\") = 0 Then";
+ //BA.debugLineNum = 3480;BA.debugLine="If c.GetString(\"CAT_CL_BCREDITO\") = 0 Then";
if (true) break;
case 14:
@@ -2414,14 +2549,14 @@ this.state = 18;
case 16:
//C
this.state = 41;
- //BA.debugLineNum = 3179;BA.debugLine="Impresion4";
+ //BA.debugLineNum = 3481;BA.debugLine="Impresion4";
parent._impresion4();
if (true) break;
case 18:
//C
this.state = 19;
- //BA.debugLineNum = 3182;BA.debugLine="If c.GetString(\"CONFIRMADO\") = 0 Then";
+ //BA.debugLineNum = 3484;BA.debugLine="If c.GetString(\"CONFIRMADO\") = 0 Then";
if (true) break;
case 19:
@@ -2436,9 +2571,9 @@ this.state = 39;
case 21:
//C
this.state = 22;
- //BA.debugLineNum = 3184;BA.debugLine="Msgbox2Async(\"La entrega sera a credito o de c";
+ //BA.debugLineNum = 3486;BA.debugLine="Msgbox2Async(\"La entrega sera a credito o de c";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("La entrega sera a credito o de contado?"),BA.ObjectToCharSequence("Atención"),"Credito","Contado","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
- //BA.debugLineNum = 3185;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+ //BA.debugLineNum = 3487;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, this, null);
this.state = 45;
return;
@@ -2447,7 +2582,7 @@ case 45:
this.state = 22;
_resultado = (Integer) result[0];
;
- //BA.debugLineNum = 3186;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 3488;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;
case 22:
@@ -2462,12 +2597,12 @@ this.state = 36;
case 24:
//C
this.state = 25;
- //BA.debugLineNum = 3187;BA.debugLine="Dim creditocod As Cursor = Starter.skmt.ExecQ";
+ //BA.debugLineNum = 3489;BA.debugLine="Dim creditocod As Cursor = Starter.skmt.ExecQ";
_creditocod = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_creditocod = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 3188;BA.debugLine="Log(creditocod.RowCount)";
-parent.__c.LogImpl("717432617",BA.NumberToString(_creditocod.getRowCount()),0);
- //BA.debugLineNum = 3189;BA.debugLine="If creditocod.RowCount > 0 Then";
+ //BA.debugLineNum = 3490;BA.debugLine="Log(creditocod.RowCount)";
+parent.__c.LogImpl("417563689",BA.NumberToString(_creditocod.getRowCount()),0);
+ //BA.debugLineNum = 3491;BA.debugLine="If creditocod.RowCount > 0 Then";
if (true) break;
case 25:
@@ -2482,21 +2617,21 @@ this.state = 33;
case 27:
//C
this.state = 28;
- //BA.debugLineNum = 3190;BA.debugLine="creditocod.Position = 0";
+ //BA.debugLineNum = 3492;BA.debugLine="creditocod.Position = 0";
_creditocod.setPosition((int) (0));
- //BA.debugLineNum = 3191;BA.debugLine="Dim cs As CSBuilder";
+ //BA.debugLineNum = 3493;BA.debugLine="Dim cs As CSBuilder";
_cs = new anywheresoftware.b4a.objects.CSBuilder();
- //BA.debugLineNum = 3192;BA.debugLine="cs.Initialize";
+ //BA.debugLineNum = 3494;BA.debugLine="cs.Initialize";
_cs.Initialize();
- //BA.debugLineNum = 3195;BA.debugLine="cs.Size(16).Append(\"Proporciona el siguiente";
+ //BA.debugLineNum = 3497;BA.debugLine="cs.Size(16).Append(\"Proporciona el siguiente";
_cs.Size((int) (16)).Append(BA.ObjectToCharSequence("Proporciona el siguiente codigo al cliente '"));
- //BA.debugLineNum = 3198;BA.debugLine="cs.Bold.Append(creditocod.GetString(\"CODIGO\"";
+ //BA.debugLineNum = 3500;BA.debugLine="cs.Bold.Append(creditocod.GetString(\"CODIGO\"";
_cs.Bold().Append(BA.ObjectToCharSequence(_creditocod.GetString("CODIGO"))).Pop();
- //BA.debugLineNum = 3201;BA.debugLine="cs.Append(\"' para su entrega\").PopAll";
+ //BA.debugLineNum = 3503;BA.debugLine="cs.Append(\"' para su entrega\").PopAll";
_cs.Append(BA.ObjectToCharSequence("' para su entrega")).PopAll();
- //BA.debugLineNum = 3204;BA.debugLine="Msgbox2Async(cs, \"Atención\", \"Ok\", \"\", \"\", L";
+ //BA.debugLineNum = 3506;BA.debugLine="Msgbox2Async(cs, \"Atención\", \"Ok\", \"\", \"\", L";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence(_cs.getObject()),BA.ObjectToCharSequence("Atención"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
- //BA.debugLineNum = 3205;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+ //BA.debugLineNum = 3507;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, this, null);
this.state = 46;
return;
@@ -2505,7 +2640,7 @@ case 46:
this.state = 28;
_resultado = (Integer) result[0];
;
- //BA.debugLineNum = 3206;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 3508;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;
case 28:
@@ -2518,11 +2653,11 @@ this.state = 30;
case 30:
//C
this.state = 31;
- //BA.debugLineNum = 3207;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3";
+ //BA.debugLineNum = 3509;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 1 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)");
- //BA.debugLineNum = 3208;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_C";
+ //BA.debugLineNum = 3510;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_C";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 1 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)");
- //BA.debugLineNum = 3210;BA.debugLine="Impresion4";
+ //BA.debugLineNum = 3512;BA.debugLine="Impresion4";
parent._impresion4();
if (true) break;
@@ -2535,7 +2670,7 @@ this.state = 34;
case 33:
//C
this.state = 34;
- //BA.debugLineNum = 3213;BA.debugLine="Impresion4";
+ //BA.debugLineNum = 3515;BA.debugLine="Impresion4";
parent._impresion4();
if (true) break;
@@ -2548,9 +2683,9 @@ this.state = 37;
case 36:
//C
this.state = 37;
- //BA.debugLineNum = 3218;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s";
+ //BA.debugLineNum = 3520;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 1 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)");
- //BA.debugLineNum = 3219;BA.debugLine="Impresion4";
+ //BA.debugLineNum = 3521;BA.debugLine="Impresion4";
parent._impresion4();
if (true) break;
@@ -2563,7 +2698,7 @@ this.state = 40;
case 39:
//C
this.state = 40;
- //BA.debugLineNum = 3222;BA.debugLine="Impresion4";
+ //BA.debugLineNum = 3524;BA.debugLine="Impresion4";
parent._impresion4();
if (true) break;
@@ -2582,7 +2717,7 @@ this.state = 44;
case 43:
//C
this.state = 44;
- //BA.debugLineNum = 3227;BA.debugLine="Impresion";
+ //BA.debugLineNum = 3529;BA.debugLine="Impresion";
parent._impresion();
if (true) break;
@@ -2590,11 +2725,11 @@ case 44:
//C
this.state = -1;
;
- //BA.debugLineNum = 3230;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 3532;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TICKET_IMPRESO where idCliente In (select cuenta from cuentaa)");
- //BA.debugLineNum = 3231;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
+ //BA.debugLineNum = 3533;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into TICKET_IMPRESO (idCliente) values ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"')"));
- //BA.debugLineNum = 3232;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3534;BA.debugLine="End Sub";
if (true) break;
}
@@ -2604,295 +2739,295 @@ if (true) break;
public void _msgbox_result(int _resultado) throws Exception{
}
public String _b_inicio_fin_venta_click() throws Exception{
- //BA.debugLineNum = 6714;BA.debugLine="Private Sub b_Inicio_Fin_venta_Click";
- //BA.debugLineNum = 6749;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7045;BA.debugLine="Private Sub b_Inicio_Fin_venta_Click";
+ //BA.debugLineNum = 7080;BA.debugLine="End Sub";
return "";
}
public String _b_like_click() throws Exception{
- //BA.debugLineNum = 4716;BA.debugLine="Sub b_like_Click";
- //BA.debugLineNum = 4717;BA.debugLine="Panel1.Visible = True";
+ //BA.debugLineNum = 5047;BA.debugLine="Sub b_like_Click";
+ //BA.debugLineNum = 5048;BA.debugLine="Panel1.Visible = True";
_panel1.setVisible(__c.True);
- //BA.debugLineNum = 4718;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 5049;BA.debugLine="b_like.Visible = False";
_b_like.setVisible(__c.False);
- //BA.debugLineNum = 4719;BA.debugLine="Tar.Visible = False";
+ //BA.debugLineNum = 5050;BA.debugLine="Tar.Visible = False";
_tar.setVisible(__c.False);
- //BA.debugLineNum = 4720;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 5051;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 4721;BA.debugLine="gest.Visible = False ' : ToastMessageShow(\"bbbb\",";
+ //BA.debugLineNum = 5052;BA.debugLine="gest.Visible = False ' : ToastMessageShow(\"bbbb\",";
_gest.setVisible(__c.False);
- //BA.debugLineNum = 4722;BA.debugLine="b_venta.Visible = False";
+ //BA.debugLineNum = 5053;BA.debugLine="b_venta.Visible = False";
_b_venta.setVisible(__c.False);
- //BA.debugLineNum = 4723;BA.debugLine="Guardar.Visible = False";
+ //BA.debugLineNum = 5054;BA.debugLine="Guardar.Visible = False";
_guardar.setVisible(__c.False);
- //BA.debugLineNum = 4724;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5055;BA.debugLine="End Sub";
return "";
}
public String _b_mapa_click() throws Exception{
- //BA.debugLineNum = 3143;BA.debugLine="Sub b_mapa_Click";
- //BA.debugLineNum = 3144;BA.debugLine="B4XPages.ShowPage(\"mapas\")";
+ //BA.debugLineNum = 3445;BA.debugLine="Sub b_mapa_Click";
+ //BA.debugLineNum = 3446;BA.debugLine="B4XPages.ShowPage(\"mapas\")";
_b4xpages._showpage /*String*/ (ba,"mapas");
- //BA.debugLineNum = 3145;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3447;BA.debugLine="End Sub";
return "";
}
public String _b_okdeuda_click() throws Exception{
- //BA.debugLineNum = 7908;BA.debugLine="Private Sub b_okdeuda_Click";
- //BA.debugLineNum = 7909;BA.debugLine="p_deuda.Visible = False";
+ //BA.debugLineNum = 8239;BA.debugLine="Private Sub b_okdeuda_Click";
+ //BA.debugLineNum = 8240;BA.debugLine="p_deuda.Visible = False";
_p_deuda.setVisible(__c.False);
- //BA.debugLineNum = 7910;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8241;BA.debugLine="End Sub";
return "";
}
public String _b_preguntag_click() throws Exception{
anywheresoftware.b4a.objects.collections.List _items2 = null;
anywheresoftware.b4a.objects.collections.List _items3 = null;
anywheresoftware.b4a.objects.collections.List _items8 = null;
- //BA.debugLineNum = 2413;BA.debugLine="Private Sub b_preguntag_Click";
- //BA.debugLineNum = 2414;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt_";
+ //BA.debugLineNum = 2713;BA.debugLine="Private Sub b_preguntag_Click";
+ //BA.debugLineNum = 2714;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE kmt_";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET CAT_CL_GIRO = ? WHERE CAT_CL_CODIGO = ? And CAT_CL_NOMBRE = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_girotienda),(Object)(_la_cuenta.getText()),(Object)(_la_nombre.getText())}));
- //BA.debugLineNum = 2415;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_AVI";
+ //BA.debugLineNum = 2715;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO HIST_ENCUESTA_AVI";
_skmt.ExecNonQuery2("INSERT INTO HIST_ENCUESTA_AVISO_GIRO(HEAV_CLIENTE , HEAV_MODULO , HEAV_AVISO ,HEAV_GIRO ) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_encuesta),(Object)("ACEPTA"),(Object)(_girotienda)}));
- //BA.debugLineNum = 2416;BA.debugLine="If girotienda <> \"Selecciona una opcion\" Then";
+ //BA.debugLineNum = 2716;BA.debugLine="If girotienda <> \"Selecciona una opcion\" Then";
if ((_girotienda).equals("Selecciona una opcion") == false) {
- //BA.debugLineNum = 2417;BA.debugLine="If girotienda = \"Tienda de Abarrotes (Abarrotes,";
+ //BA.debugLineNum = 2717;BA.debugLine="If girotienda = \"Tienda de Abarrotes (Abarrotes,";
if ((_girotienda).equals("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)")) {
- //BA.debugLineNum = 2418;BA.debugLine="Dim result As Int= -3";
+ //BA.debugLineNum = 2718;BA.debugLine="Dim result As Int= -3";
_result = (int) (-3);
- //BA.debugLineNum = 2419;BA.debugLine="Do While result=-3";
+ //BA.debugLineNum = 2719;BA.debugLine="Do While result=-3";
while (_result==-3) {
- //BA.debugLineNum = 2420;BA.debugLine="result = Msgbox2(\"Entiendo, acepto y consient";
+ //BA.debugLineNum = 2720;BA.debugLine="result = Msgbox2(\"Entiendo, acepto y consient";
_result = __c.Msgbox2(BA.ObjectToCharSequence("Entiendo, acepto y consiento que GUNA usará mis datos Personales y serán tratados acorde con lo establecido en la Ley Federal de Protección de Datos Personales en Posesión de los Particulares (en lo sucesivo la “Ley”), y su respectivo Reglamento; bajo lo manifestado en el Aviso de Privacidad – Texto Completo – que se encuentra en la página www.guna.com.mx"),BA.ObjectToCharSequence("AVISO DE PRIVACIDAD"),"ACEPTO","","NO ACEPTO",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba);
- //BA.debugLineNum = 2421;BA.debugLine="Select Case result";
+ //BA.debugLineNum = 2721;BA.debugLine="Select Case result";
switch (BA.switchObjectToInt(_result,__c.DialogResponse.POSITIVE,__c.DialogResponse.NEGATIVE)) {
case 0: {
- //BA.debugLineNum = 2440;BA.debugLine="Log(que_modulo)";
-__c.LogImpl("715335451",_que_modulo,0);
- //BA.debugLineNum = 2441;BA.debugLine="If que_modulo = Null Or que_modulo = \" \" The";
+ //BA.debugLineNum = 2740;BA.debugLine="Log(que_modulo)";
+__c.LogImpl("415466523",_que_modulo,0);
+ //BA.debugLineNum = 2741;BA.debugLine="If que_modulo = Null Or que_modulo = \" \" The";
if (_que_modulo== null || (_que_modulo).equals(" ")) {
_que_modulo = "1";};
- //BA.debugLineNum = 2443;BA.debugLine="If que_modulo < = ENCUESTA Then";
+ //BA.debugLineNum = 2743;BA.debugLine="If que_modulo < = ENCUESTA Then";
if ((double)(Double.parseDouble(_que_modulo))<=(double)(Double.parseDouble(_encuesta))) {
- //BA.debugLineNum = 2444;BA.debugLine="If que_modulo = \"1\" Then";
+ //BA.debugLineNum = 2744;BA.debugLine="If que_modulo = \"1\" Then";
if ((_que_modulo).equals("1")) {
- //BA.debugLineNum = 2447;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The";
+ //BA.debugLineNum = 2747;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The";
if (_p_m2.IsInitialized() && _p_m2.getVisible()) {
- //BA.debugLineNum = 2448;BA.debugLine="p_m2.Visible = False";
+ //BA.debugLineNum = 2748;BA.debugLine="p_m2.Visible = False";
_p_m2.setVisible(__c.False);
}else if(_p_m3.IsInitialized() && _p_m3.getVisible()) {
- //BA.debugLineNum = 2450;BA.debugLine="p_m3.Visible = False";
+ //BA.debugLineNum = 2750;BA.debugLine="p_m3.Visible = False";
_p_m3.setVisible(__c.False);
}else if(_p_m4.IsInitialized() && _p_m4.getVisible()) {
- //BA.debugLineNum = 2452;BA.debugLine="p_m4.Visible = False";
+ //BA.debugLineNum = 2752;BA.debugLine="p_m4.Visible = False";
_p_m4.setVisible(__c.False);
}else if(_p_modulo5.IsInitialized() && _p_modulo5.getVisible()) {
- //BA.debugLineNum = 2454;BA.debugLine="p_modulo5.Visible = False";
+ //BA.debugLineNum = 2754;BA.debugLine="p_modulo5.Visible = False";
_p_modulo5.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 2458;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 2758;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2459;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 2759;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 2460;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 2760;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 2461;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA\")";
+ //BA.debugLineNum = 2761;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA\")";
_sv_encuesta.getPanel().LoadLayout("ENCUESTA",ba);
- //BA.debugLineNum = 2462;BA.debugLine="p_m1.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 2762;BA.debugLine="p_m1.Width = Root.Width * 0.94";
_p_m1.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 2463;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m1.Height + 6";
+ //BA.debugLineNum = 2763;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m1.Height + 6";
_sv_encuesta.getPanel().setHeight((int) (_p_m1.getHeight()+60));
- //BA.debugLineNum = 2464;BA.debugLine="Panel7.Visible = False";
+ //BA.debugLineNum = 2764;BA.debugLine="Panel7.Visible = False";
_panel7.setVisible(__c.False);
}else if((_que_modulo).equals("2")) {
- //BA.debugLineNum = 2468;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible The";
+ //BA.debugLineNum = 2768;BA.debugLine="If p_m1.IsInitialized And p_m1.Visible The";
if (_p_m1.IsInitialized() && _p_m1.getVisible()) {
- //BA.debugLineNum = 2469;BA.debugLine="p_m1.Visible = False";
+ //BA.debugLineNum = 2769;BA.debugLine="p_m1.Visible = False";
_p_m1.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 2473;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 2773;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2474;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 2774;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 2475;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 2775;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 2476;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2";
+ //BA.debugLineNum = 2776;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ESNCUESTA_m2";
_sv_encuesta.getPanel().LoadLayout("ESNCUESTA_m2",ba);
- //BA.debugLineNum = 2477;BA.debugLine="p_m2.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 2777;BA.debugLine="p_m2.Width = Root.Width * 0.94";
_p_m2.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 2478;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 6";
+ //BA.debugLineNum = 2778;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m2.Height + 6";
_sv_encuesta.getPanel().setHeight((int) (_p_m2.getHeight()+60));
- //BA.debugLineNum = 2479;BA.debugLine="Panel7_M2.Visible = False";
+ //BA.debugLineNum = 2779;BA.debugLine="Panel7_M2.Visible = False";
_panel7_m2.setVisible(__c.False);
}else if((_que_modulo).equals("3")) {
- //BA.debugLineNum = 2482;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The";
+ //BA.debugLineNum = 2782;BA.debugLine="If p_m2.IsInitialized And p_m2.Visible The";
if (_p_m2.IsInitialized() && _p_m2.getVisible()) {
- //BA.debugLineNum = 2483;BA.debugLine="p_m2.Visible = False";
+ //BA.debugLineNum = 2783;BA.debugLine="p_m2.Visible = False";
_p_m2.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 2487;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 2787;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2488;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 2788;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 2489;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 2789;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 2490;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3";
+ //BA.debugLineNum = 2790;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESSTA_M3";
_sv_encuesta.getPanel().LoadLayout("ENCUESSTA_M3",ba);
- //BA.debugLineNum = 2492;BA.debugLine="p_m3.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 2792;BA.debugLine="p_m3.Width = Root.Width * 0.94";
_p_m3.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 2493;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 6";
+ //BA.debugLineNum = 2793;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m3.Height + 6";
_sv_encuesta.getPanel().setHeight((int) (_p_m3.getHeight()+60));
}else if((_que_modulo).equals("4")) {
- //BA.debugLineNum = 2496;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible The";
+ //BA.debugLineNum = 2796;BA.debugLine="If p_m3.IsInitialized And p_m3.Visible The";
if (_p_m3.IsInitialized() && _p_m3.getVisible()) {
- //BA.debugLineNum = 2498;BA.debugLine="p_m3.Visible = False";
+ //BA.debugLineNum = 2798;BA.debugLine="p_m3.Visible = False";
_p_m3.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 2501;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 2801;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2502;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 2802;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 2503;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 2803;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 2504;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 2804;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2505;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\"";
+ //BA.debugLineNum = 2805;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M4\"";
_sv_encuesta.getPanel().LoadLayout("ENCUESTA_M4",ba);
- //BA.debugLineNum = 2506;BA.debugLine="p_m4.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 2806;BA.debugLine="p_m4.Width = Root.Width * 0.94";
_p_m4.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 2507;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 6";
+ //BA.debugLineNum = 2807;BA.debugLine="SV_ENCUESTA.Panel.Height = p_m4.Height + 6";
_sv_encuesta.getPanel().setHeight((int) (_p_m4.getHeight()+60));
- //BA.debugLineNum = 2509;BA.debugLine="Dim Items2 As List";
+ //BA.debugLineNum = 2809;BA.debugLine="Dim Items2 As List";
_items2 = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 2510;BA.debugLine="Items2.Initialize";
+ //BA.debugLineNum = 2810;BA.debugLine="Items2.Initialize";
_items2.Initialize();
- //BA.debugLineNum = 2511;BA.debugLine="Items2.Add(\"Selecciona una opcion\")";
+ //BA.debugLineNum = 2811;BA.debugLine="Items2.Add(\"Selecciona una opcion\")";
_items2.Add((Object)("Selecciona una opcion"));
- //BA.debugLineNum = 2512;BA.debugLine="Items2.Add(\"Propio\")";
+ //BA.debugLineNum = 2812;BA.debugLine="Items2.Add(\"Propio\")";
_items2.Add((Object)("Propio"));
- //BA.debugLineNum = 2513;BA.debugLine="Items2.Add(\"Rentado\")";
+ //BA.debugLineNum = 2813;BA.debugLine="Items2.Add(\"Rentado\")";
_items2.Add((Object)("Rentado"));
- //BA.debugLineNum = 2514;BA.debugLine="cb_p3_m4.SetItems(Items2)";
+ //BA.debugLineNum = 2814;BA.debugLine="cb_p3_m4.SetItems(Items2)";
_cb_p3_m4._setitems /*String*/ (_items2);
- //BA.debugLineNum = 2515;BA.debugLine="itemselect2 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2815;BA.debugLine="itemselect2 = \"Selecciona una opcion\"";
_itemselect2 = "Selecciona una opcion";
- //BA.debugLineNum = 2517;BA.debugLine="Dim Items3 As List";
+ //BA.debugLineNum = 2817;BA.debugLine="Dim Items3 As List";
_items3 = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 2518;BA.debugLine="Items3.Initialize";
+ //BA.debugLineNum = 2818;BA.debugLine="Items3.Initialize";
_items3.Initialize();
- //BA.debugLineNum = 2519;BA.debugLine="Items3.Add(\"Selecciona una opcion\")";
+ //BA.debugLineNum = 2819;BA.debugLine="Items3.Add(\"Selecciona una opcion\")";
_items3.Add((Object)("Selecciona una opcion"));
- //BA.debugLineNum = 2520;BA.debugLine="Items3.Add(\"Completamente Surtido\")";
+ //BA.debugLineNum = 2820;BA.debugLine="Items3.Add(\"Completamente Surtido\")";
_items3.Add((Object)("Completamente Surtido"));
- //BA.debugLineNum = 2521;BA.debugLine="Items3.Add(\"Bien Surtido\")";
+ //BA.debugLineNum = 2821;BA.debugLine="Items3.Add(\"Bien Surtido\")";
_items3.Add((Object)("Bien Surtido"));
- //BA.debugLineNum = 2522;BA.debugLine="Items3.Add(\"Poco Surtido\")";
+ //BA.debugLineNum = 2822;BA.debugLine="Items3.Add(\"Poco Surtido\")";
_items3.Add((Object)("Poco Surtido"));
- //BA.debugLineNum = 2523;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")";
+ //BA.debugLineNum = 2823;BA.debugLine="Items3.Add(\"Muy Poco Surtido\")";
_items3.Add((Object)("Muy Poco Surtido"));
- //BA.debugLineNum = 2524;BA.debugLine="Items3.Add(\"Sin Existencias\")";
+ //BA.debugLineNum = 2824;BA.debugLine="Items3.Add(\"Sin Existencias\")";
_items3.Add((Object)("Sin Existencias"));
- //BA.debugLineNum = 2525;BA.debugLine="cb_p4_1_m4.SetItems(Items3)";
+ //BA.debugLineNum = 2825;BA.debugLine="cb_p4_1_m4.SetItems(Items3)";
_cb_p4_1_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 2526;BA.debugLine="itemselect3 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2826;BA.debugLine="itemselect3 = \"Selecciona una opcion\"";
_itemselect3 = "Selecciona una opcion";
- //BA.debugLineNum = 2527;BA.debugLine="cb_p4_2_m4.SetItems(Items3)";
+ //BA.debugLineNum = 2827;BA.debugLine="cb_p4_2_m4.SetItems(Items3)";
_cb_p4_2_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 2528;BA.debugLine="itemselect4 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2828;BA.debugLine="itemselect4 = \"Selecciona una opcion\"";
_itemselect4 = "Selecciona una opcion";
- //BA.debugLineNum = 2529;BA.debugLine="cb_p4_3_m4.SetItems(Items3)";
+ //BA.debugLineNum = 2829;BA.debugLine="cb_p4_3_m4.SetItems(Items3)";
_cb_p4_3_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 2530;BA.debugLine="itemselect5 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2830;BA.debugLine="itemselect5 = \"Selecciona una opcion\"";
_itemselect5 = "Selecciona una opcion";
- //BA.debugLineNum = 2531;BA.debugLine="cb_p4_4_m4.SetItems(Items3)";
+ //BA.debugLineNum = 2831;BA.debugLine="cb_p4_4_m4.SetItems(Items3)";
_cb_p4_4_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 2532;BA.debugLine="itemselect6 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2832;BA.debugLine="itemselect6 = \"Selecciona una opcion\"";
_itemselect6 = "Selecciona una opcion";
- //BA.debugLineNum = 2533;BA.debugLine="cb_p4_5_m4.SetItems(Items3)";
+ //BA.debugLineNum = 2833;BA.debugLine="cb_p4_5_m4.SetItems(Items3)";
_cb_p4_5_m4._setitems /*String*/ (_items3);
- //BA.debugLineNum = 2534;BA.debugLine="itemselect7 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2834;BA.debugLine="itemselect7 = \"Selecciona una opcion\"";
_itemselect7 = "Selecciona una opcion";
}else if((_que_modulo).equals("5")) {
- //BA.debugLineNum = 2537;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible The";
+ //BA.debugLineNum = 2837;BA.debugLine="If p_m4.IsInitialized And p_m4.Visible The";
if (_p_m4.IsInitialized() && _p_m4.getVisible()) {
- //BA.debugLineNum = 2538;BA.debugLine="p_m4.Visible = False";
+ //BA.debugLineNum = 2838;BA.debugLine="p_m4.Visible = False";
_p_m4.setVisible(__c.False);
}else {
};
- //BA.debugLineNum = 2541;BA.debugLine="p_cliente.Visible = False";
+ //BA.debugLineNum = 2841;BA.debugLine="p_cliente.Visible = False";
_p_cliente.setVisible(__c.False);
- //BA.debugLineNum = 2542;BA.debugLine="SV_ENCUESTA.Visible = True";
+ //BA.debugLineNum = 2842;BA.debugLine="SV_ENCUESTA.Visible = True";
_sv_encuesta.setVisible(__c.True);
- //BA.debugLineNum = 2543;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 2843;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2544;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\"";
+ //BA.debugLineNum = 2844;BA.debugLine="SV_ENCUESTA.Panel.LoadLayout(\"ENCUESTA_M5\"";
_sv_encuesta.getPanel().LoadLayout("ENCUESTA_M5",ba);
- //BA.debugLineNum = 2545;BA.debugLine="p_modulo5.Width = Root.Width * 0.94";
+ //BA.debugLineNum = 2845;BA.debugLine="p_modulo5.Width = Root.Width * 0.94";
_p_modulo5.setWidth((int) (_root.getWidth()*0.94));
- //BA.debugLineNum = 2546;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Heigh";
+ //BA.debugLineNum = 2846;BA.debugLine="SV_ENCUESTA.Panel.Height = p_modulo5.Heigh";
_sv_encuesta.getPanel().setHeight((int) (_p_modulo5.getHeight()+30));
- //BA.debugLineNum = 2547;BA.debugLine="Dim Items8 As List";
+ //BA.debugLineNum = 2847;BA.debugLine="Dim Items8 As List";
_items8 = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 2548;BA.debugLine="Items8.Initialize";
+ //BA.debugLineNum = 2848;BA.debugLine="Items8.Initialize";
_items8.Initialize();
- //BA.debugLineNum = 2549;BA.debugLine="Items8.Add(\"Selecciona una opcion\")";
+ //BA.debugLineNum = 2849;BA.debugLine="Items8.Add(\"Selecciona una opcion\")";
_items8.Add((Object)("Selecciona una opcion"));
- //BA.debugLineNum = 2550;BA.debugLine="Items8.Add(\"Completamente Surtido\")";
+ //BA.debugLineNum = 2850;BA.debugLine="Items8.Add(\"Completamente Surtido\")";
_items8.Add((Object)("Completamente Surtido"));
- //BA.debugLineNum = 2551;BA.debugLine="Items8.Add(\"Bien Surtido\")";
+ //BA.debugLineNum = 2851;BA.debugLine="Items8.Add(\"Bien Surtido\")";
_items8.Add((Object)("Bien Surtido"));
- //BA.debugLineNum = 2552;BA.debugLine="Items8.Add(\"Poco Surtido\")";
+ //BA.debugLineNum = 2852;BA.debugLine="Items8.Add(\"Poco Surtido\")";
_items8.Add((Object)("Poco Surtido"));
- //BA.debugLineNum = 2553;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")";
+ //BA.debugLineNum = 2853;BA.debugLine="Items8.Add(\"Muy Poco Surtido\")";
_items8.Add((Object)("Muy Poco Surtido"));
- //BA.debugLineNum = 2554;BA.debugLine="Items8.Add(\"Sin Existencias\")";
+ //BA.debugLineNum = 2854;BA.debugLine="Items8.Add(\"Sin Existencias\")";
_items8.Add((Object)("Sin Existencias"));
- //BA.debugLineNum = 2555;BA.debugLine="cb_p1_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2855;BA.debugLine="cb_p1_m5.SetItems(Items8)";
_cb_p1_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2556;BA.debugLine="itemselect8 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2856;BA.debugLine="itemselect8 = \"Selecciona una opcion\"";
_itemselect8 = "Selecciona una opcion";
- //BA.debugLineNum = 2557;BA.debugLine="cb_p2_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2857;BA.debugLine="cb_p2_m5.SetItems(Items8)";
_cb_p2_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2558;BA.debugLine="itemselect9 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2858;BA.debugLine="itemselect9 = \"Selecciona una opcion\"";
_itemselect9 = "Selecciona una opcion";
- //BA.debugLineNum = 2559;BA.debugLine="cb_p3_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2859;BA.debugLine="cb_p3_m5.SetItems(Items8)";
_cb_p3_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2560;BA.debugLine="itemselect10 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2860;BA.debugLine="itemselect10 = \"Selecciona una opcion\"";
_itemselect10 = "Selecciona una opcion";
- //BA.debugLineNum = 2561;BA.debugLine="cb_p4_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2861;BA.debugLine="cb_p4_m5.SetItems(Items8)";
_cb_p4_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2562;BA.debugLine="itemselect11 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2862;BA.debugLine="itemselect11 = \"Selecciona una opcion\"";
_itemselect11 = "Selecciona una opcion";
- //BA.debugLineNum = 2563;BA.debugLine="cb_p5_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2863;BA.debugLine="cb_p5_m5.SetItems(Items8)";
_cb_p5_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2564;BA.debugLine="itemselect12 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2864;BA.debugLine="itemselect12 = \"Selecciona una opcion\"";
_itemselect12 = "Selecciona una opcion";
- //BA.debugLineNum = 2565;BA.debugLine="cb_p6_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2865;BA.debugLine="cb_p6_m5.SetItems(Items8)";
_cb_p6_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2566;BA.debugLine="itemselect13 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2866;BA.debugLine="itemselect13 = \"Selecciona una opcion\"";
_itemselect13 = "Selecciona una opcion";
- //BA.debugLineNum = 2567;BA.debugLine="cb_p7_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2867;BA.debugLine="cb_p7_m5.SetItems(Items8)";
_cb_p7_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2568;BA.debugLine="itemselect14 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2868;BA.debugLine="itemselect14 = \"Selecciona una opcion\"";
_itemselect14 = "Selecciona una opcion";
- //BA.debugLineNum = 2569;BA.debugLine="cb_p8_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2869;BA.debugLine="cb_p8_m5.SetItems(Items8)";
_cb_p8_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2570;BA.debugLine="itemselect15 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2870;BA.debugLine="itemselect15 = \"Selecciona una opcion\"";
_itemselect15 = "Selecciona una opcion";
- //BA.debugLineNum = 2571;BA.debugLine="cb_p9_m5.SetItems(Items8)";
+ //BA.debugLineNum = 2871;BA.debugLine="cb_p9_m5.SetItems(Items8)";
_cb_p9_m5._setitems /*String*/ (_items8);
- //BA.debugLineNum = 2572;BA.debugLine="itemselect16 = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2872;BA.debugLine="itemselect16 = \"Selecciona una opcion\"";
_itemselect16 = "Selecciona una opcion";
};
}else {
- //BA.debugLineNum = 2575;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 2875;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2576;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 2876;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
};
break; }
case 1: {
- //BA.debugLineNum = 2580;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 2880;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
break; }
}
@@ -2900,21 +3035,21 @@ _b4xpages._showpage /*String*/ (ba,"productos");
}
;
}else {
- //BA.debugLineNum = 2732;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 3032;BA.debugLine="p_pregunta1.Visible = False";
_p_pregunta1.setVisible(__c.False);
- //BA.debugLineNum = 2733;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 3033;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
};
}else {
- //BA.debugLineNum = 2736;BA.debugLine="Msgbox(\"Contesta la pregunta por favor\",\"AVISO\")";
+ //BA.debugLineNum = 3036;BA.debugLine="Msgbox(\"Contesta la pregunta por favor\",\"AVISO\")";
__c.Msgbox(BA.ObjectToCharSequence("Contesta la pregunta por favor"),BA.ObjectToCharSequence("AVISO"),ba);
};
- //BA.debugLineNum = 2738;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3038;BA.debugLine="End Sub";
return "";
}
public String _b_preventa_click() throws Exception{
- //BA.debugLineNum = 6769;BA.debugLine="Private Sub b_preventa_Click";
- //BA.debugLineNum = 6771;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7100;BA.debugLine="Private Sub b_preventa_Click";
+ //BA.debugLineNum = 7102;BA.debugLine="End Sub";
return "";
}
public void _b_preventa2_click() throws Exception{
@@ -2944,12 +3079,12 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 7920;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTURA\"";
+ //BA.debugLineNum = 8251;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTURA\"";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "PREVENTA_FUTURA";
- //BA.debugLineNum = 7921;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
+ //BA.debugLineNum = 8252;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 7922;BA.debugLine="If pagarepen.RowCount > 0 Then";
+ //BA.debugLineNum = 8253;BA.debugLine="If pagarepen.RowCount > 0 Then";
if (true) break;
case 1:
@@ -2964,27 +3099,27 @@ this.state = 15;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 7923;BA.debugLine="pagarepen.Position = 0";
+ //BA.debugLineNum = 8254;BA.debugLine="pagarepen.Position = 0";
_pagarepen.setPosition((int) (0));
- //BA.debugLineNum = 7924;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
+ //BA.debugLineNum = 8255;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 7925;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
+ //BA.debugLineNum = 8256;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
_fechainicio = _pagarepen.GetString("FECHA");
- //BA.debugLineNum = 7927;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
-parent.__c.LogImpl("728180491",_pagarepen.GetString("FECHA"),0);
- //BA.debugLineNum = 7930;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
+ //BA.debugLineNum = 8258;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
+parent.__c.LogImpl("428311563",_pagarepen.GetString("FECHA"),0);
+ //BA.debugLineNum = 8261;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio);
- //BA.debugLineNum = 7931;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
+ //BA.debugLineNum = 8262;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()));
- //BA.debugLineNum = 7934;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
+ //BA.debugLineNum = 8265;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay);
- //BA.debugLineNum = 7937;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
-parent.__c.LogImpl("728180501",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
- //BA.debugLineNum = 7939;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
+ //BA.debugLineNum = 8268;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
+parent.__c.LogImpl("428311573",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
+ //BA.debugLineNum = 8270;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 7940;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 8271;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 7942;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT";
+ //BA.debugLineNum = 8273;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT";
if (true) break;
case 4:
@@ -2999,9 +3134,9 @@ this.state = 12;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 7944;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el día";
+ //BA.debugLineNum = 8275;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el día";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
- //BA.debugLineNum = 7945;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+ //BA.debugLineNum = 8276;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, this, null);
this.state = 17;
return;
@@ -3010,7 +3145,7 @@ case 17:
this.state = 7;
_resultado = (Integer) result[0];
;
- //BA.debugLineNum = 7946;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 8277;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;
case 7:
@@ -3023,7 +3158,7 @@ this.state = 9;
case 9:
//C
this.state = 10;
- //BA.debugLineNum = 7947;BA.debugLine="gestionar";
+ //BA.debugLineNum = 8278;BA.debugLine="gestionar";
parent._gestionar();
if (true) break;
@@ -3036,7 +3171,7 @@ this.state = 13;
case 12:
//C
this.state = 13;
- //BA.debugLineNum = 7950;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por qu";
+ //BA.debugLineNum = 8281;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por qu";
parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(parent._c.GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba);
if (true) break;
@@ -3049,7 +3184,7 @@ this.state = 16;
case 15:
//C
this.state = 16;
- //BA.debugLineNum = 7953;BA.debugLine="gestionar";
+ //BA.debugLineNum = 8284;BA.debugLine="gestionar";
parent._gestionar();
if (true) break;
@@ -3057,7 +3192,7 @@ case 16:
//C
this.state = -1;
;
- //BA.debugLineNum = 7955;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8286;BA.debugLine="End Sub";
if (true) break;
}
@@ -3065,27 +3200,27 @@ if (true) break;
}
}
public String _b_preventa2_longclick() throws Exception{
- //BA.debugLineNum = 3878;BA.debugLine="Private Sub b_preventa2_LongClick";
- //BA.debugLineNum = 3880;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango";
-__c.LogImpl("717694722",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0);
- //BA.debugLineNum = 3881;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango";
-__c.LogImpl("717694723",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0);
- //BA.debugLineNum = 3882;BA.debugLine="Log(NumberFormat2( (Subs.calculaTotalConPromoXRan";
-__c.LogImpl("717694724",__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False),0);
- //BA.debugLineNum = 3883;BA.debugLine="Log(NumberFormat2( (((Subs.calculaTotalConPromoXR";
-__c.LogImpl("717694725",__c.NumberFormat2(((((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))))*100)/(double)(double)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)))),(int) (0),(int) (2),(int) (2),__c.False),0);
- //BA.debugLineNum = 3886;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4209;BA.debugLine="Private Sub b_preventa2_LongClick";
+ //BA.debugLineNum = 4211;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango";
+__c.LogImpl("417825794",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0);
+ //BA.debugLineNum = 4212;BA.debugLine="Log(NumberFormat2(Subs.calculaTotalConPromoXRango";
+__c.LogImpl("417825795",__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False),0);
+ //BA.debugLineNum = 4213;BA.debugLine="Log(NumberFormat2( (Subs.calculaTotalConPromoXRan";
+__c.LogImpl("417825796",__c.NumberFormat2(((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),__c.False),0);
+ //BA.debugLineNum = 4214;BA.debugLine="Log(NumberFormat2( (((Subs.calculaTotalConPromoXR";
+__c.LogImpl("417825797",__c.NumberFormat2(((((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))))*100)/(double)(double)(Double.parseDouble(__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango4 /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False)))),(int) (0),(int) (2),(int) (2),__c.False),0);
+ //BA.debugLineNum = 4217;BA.debugLine="End Sub";
return "";
}
public String _b_venta_click() throws Exception{
- //BA.debugLineNum = 4649;BA.debugLine="Sub b_venta_Click";
- //BA.debugLineNum = 4650;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 4980;BA.debugLine="Sub b_venta_Click";
+ //BA.debugLineNum = 4981;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 4651;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 4982;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 4652;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 4983;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 4680;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5011;BA.debugLine="End Sub";
return "";
}
public void _b4xpage_appear() throws Exception{
@@ -3130,18 +3265,18 @@ long _ticksinicio = 0L;
long _tickshoy = 0L;
int _diferenciadias = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _coloressaldo = null;
-int step266;
-int limit266;
-int step307;
-int limit307;
-int step327;
-int limit327;
-int step374;
-int limit374;
-int step395;
-int limit395;
-int step418;
-int limit418;
+int step271;
+int limit271;
+int step312;
+int limit312;
+int step332;
+int limit332;
+int step379;
+int limit379;
+int step400;
+int limit400;
+int step423;
+int limit423;
@Override
public void resume(BA ba, Object[] result) throws Exception{
@@ -3154,51 +3289,57 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 552;BA.debugLine="Starter.enCliente = True";
+ //BA.debugLineNum = 572;BA.debugLine="Starter.enCliente = True";
parent._starter._encliente /*boolean*/ = parent.__c.True;
- //BA.debugLineNum = 553;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 573;BA.debugLine="Tels.Visible = False";
parent._tels.setVisible(parent.__c.False);
- //BA.debugLineNum = 554;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 574;BA.debugLine="gest.Visible = False";
parent._gest.setVisible(parent.__c.False);
- //BA.debugLineNum = 555;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 575;BA.debugLine="b_preventa2.Visible = False";
parent._b_preventa2.setVisible(parent.__c.False);
- //BA.debugLineNum = 562;BA.debugLine="recalculoXcant";
+ //BA.debugLineNum = 581;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PEDIDO where PE_CANT <= 0");
+ //BA.debugLineNum = 582;BA.debugLine="recalculoXcant";
parent._recalculoxcant();
- //BA.debugLineNum = 564;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"im";
+ //BA.debugLineNum = 584;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"im";
parent._imageview4.setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"images.png").getObject()));
- //BA.debugLineNum = 565;BA.debugLine="btnPlanLealtad.Visible = False";
+ //BA.debugLineNum = 585;BA.debugLine="btnPlanLealtad.Visible = False";
parent._btnplanlealtad.setVisible(parent.__c.False);
- //BA.debugLineNum = 566;BA.debugLine="bitacora.inicioFin";
+ //BA.debugLineNum = 586;BA.debugLine="bitacora.inicioFin";
parent._bitacora._iniciofin /*String*/ ();
- //BA.debugLineNum = 568;BA.debugLine="que_modulo = 1";
+ //BA.debugLineNum = 588;BA.debugLine="que_modulo = 1";
parent._que_modulo = BA.NumberToString(1);
- //BA.debugLineNum = 569;BA.debugLine="dentroDeGeocerca = False";
+ //BA.debugLineNum = 589;BA.debugLine="scv_bat.Width = Root.Width";
+parent._scv_bat.setWidth(parent._root.getWidth());
+ //BA.debugLineNum = 590;BA.debugLine="scv_bat.Height = Root.Height";
+parent._scv_bat.setHeight(parent._root.getHeight());
+ //BA.debugLineNum = 591;BA.debugLine="dentroDeGeocerca = False";
parent._dentrodegeocerca = parent.__c.False;
- //BA.debugLineNum = 570;BA.debugLine="indicePregunta = 0";
+ //BA.debugLineNum = 592;BA.debugLine="indicePregunta = 0";
parent._indicepregunta = (int) (0);
- //BA.debugLineNum = 571;BA.debugLine="l_credito.Visible = False";
+ //BA.debugLineNum = 593;BA.debugLine="l_credito.Visible = False";
parent._l_credito.setVisible(parent.__c.False);
- //BA.debugLineNum = 572;BA.debugLine="l_limite.Visible = False";
+ //BA.debugLineNum = 594;BA.debugLine="l_limite.Visible = False";
parent._l_limite.setVisible(parent.__c.False);
- //BA.debugLineNum = 573;BA.debugLine="pnlPlanLealtad.Top = 0";
+ //BA.debugLineNum = 595;BA.debugLine="pnlPlanLealtad.Top = 0";
parent._pnlplanlealtad.setTop((int) (0));
- //BA.debugLineNum = 574;BA.debugLine="pnlPlanLealtad.Left = 0";
+ //BA.debugLineNum = 596;BA.debugLine="pnlPlanLealtad.Left = 0";
parent._pnlplanlealtad.setLeft((int) (0));
- //BA.debugLineNum = 575;BA.debugLine="pnlPlanLealtad.Width = Root.Width";
+ //BA.debugLineNum = 597;BA.debugLine="pnlPlanLealtad.Width = Root.Width";
parent._pnlplanlealtad.setWidth(parent._root.getWidth());
- //BA.debugLineNum = 576;BA.debugLine="pnlPlanLealtad.Height = Root.Height";
+ //BA.debugLineNum = 598;BA.debugLine="pnlPlanLealtad.Height = Root.Height";
parent._pnlplanlealtad.setHeight(parent._root.getHeight());
- //BA.debugLineNum = 577;BA.debugLine="p_cliente.Width = Root.Width";
+ //BA.debugLineNum = 599;BA.debugLine="p_cliente.Width = Root.Width";
parent._p_cliente.setWidth(parent._root.getWidth());
- //BA.debugLineNum = 578;BA.debugLine="p_cliente.Height = Root.Height";
+ //BA.debugLineNum = 600;BA.debugLine="p_cliente.Height = Root.Height";
parent._p_cliente.setHeight(parent._root.getHeight());
- //BA.debugLineNum = 579;BA.debugLine="p_cliente_.Width = Root.Width";
+ //BA.debugLineNum = 601;BA.debugLine="p_cliente_.Width = Root.Width";
parent._p_cliente_.setWidth(parent._root.getWidth());
- //BA.debugLineNum = 580;BA.debugLine="Subs.centraPanel(p_atiende, Root.Width)";
+ //BA.debugLineNum = 602;BA.debugLine="Subs.centraPanel(p_atiende, Root.Width)";
parent._subs._centrapanel /*String*/ (ba,parent._p_atiende,parent._root.getWidth());
- //BA.debugLineNum = 581;BA.debugLine="Subs.centraPanel(p_telefono, Root.Width)";
+ //BA.debugLineNum = 603;BA.debugLine="Subs.centraPanel(p_telefono, Root.Width)";
parent._subs._centrapanel /*String*/ (ba,parent._p_telefono,parent._root.getWidth());
- //BA.debugLineNum = 584;BA.debugLine="If TOMAR_FOTO <> 0 Then Cuestionario";
+ //BA.debugLineNum = 606;BA.debugLine="If TOMAR_FOTO <> 0 Then Cuestionario";
if (true) break;
case 1:
@@ -3218,9 +3359,9 @@ case 6:
//C
this.state = 7;
;
- //BA.debugLineNum = 585;BA.debugLine="Starter.idCliente = Subs.traeCliente";
+ //BA.debugLineNum = 607;BA.debugLine="Starter.idCliente = Subs.traeCliente";
parent._starter._idcliente /*String*/ = parent._subs._traecliente /*String*/ (ba);
- //BA.debugLineNum = 587;BA.debugLine="If Subs.traeCliente = \"0\" Then";
+ //BA.debugLineNum = 609;BA.debugLine="If Subs.traeCliente = \"0\" Then";
if (true) break;
case 7:
@@ -3235,36 +3376,36 @@ this.state = 11;
case 9:
//C
this.state = 12;
- //BA.debugLineNum = 588;BA.debugLine="tipo_venta = \"ABORDO\"";
+ //BA.debugLineNum = 610;BA.debugLine="tipo_venta = \"ABORDO\"";
parent._tipo_venta = "ABORDO";
- //BA.debugLineNum = 589;BA.debugLine="Log(1)";
-parent.__c.LogImpl("714155814",BA.NumberToString(1),0);
- //BA.debugLineNum = 590;BA.debugLine="Log(\"ABORDO\")";
-parent.__c.LogImpl("714155815","ABORDO",0);
+ //BA.debugLineNum = 611;BA.debugLine="Log(1)";
+parent.__c.LogImpl("414221352",BA.NumberToString(1),0);
+ //BA.debugLineNum = 612;BA.debugLine="Log(\"ABORDO\")";
+parent.__c.LogImpl("414221353","ABORDO",0);
if (true) break;
case 11:
//C
this.state = 12;
- //BA.debugLineNum = 592;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD";
+ //BA.debugLineNum = 614;BA.debugLine="tipo_venta = Subs.traeTipoVentaDeBD";
parent._tipo_venta = parent._subs._traetipoventadebd /*String*/ (ba);
- //BA.debugLineNum = 594;BA.debugLine="Log(Subs.traeTipoVentaDeBD)";
-parent.__c.LogImpl("714155819",parent._subs._traetipoventadebd /*String*/ (ba),0);
+ //BA.debugLineNum = 616;BA.debugLine="Log(Subs.traeTipoVentaDeBD)";
+parent.__c.LogImpl("414221357",parent._subs._traetipoventadebd /*String*/ (ba),0);
if (true) break;
case 12:
//C
this.state = 13;
;
- //BA.debugLineNum = 596;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
+ //BA.debugLineNum = 618;BA.debugLine="B4XPages.MainPage.tipo_venta = tipo_venta";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = parent._tipo_venta;
- //BA.debugLineNum = 597;BA.debugLine="Log($\"TIPO_VENTA: ${tipo_venta}\"$)";
-parent.__c.LogImpl("714155822",("TIPO_VENTA: "+parent.__c.SmartStringFormatter("",(Object)(parent._tipo_venta))+""),0);
- //BA.debugLineNum = 598;BA.debugLine="encuentasmapa.Initialize";
+ //BA.debugLineNum = 619;BA.debugLine="Log($\"TIPO_VENTA: ${tipo_venta}\"$)";
+parent.__c.LogImpl("414221360",("TIPO_VENTA: "+parent.__c.SmartStringFormatter("",(Object)(parent._tipo_venta))+""),0);
+ //BA.debugLineNum = 620;BA.debugLine="encuentasmapa.Initialize";
parent._encuentasmapa.Initialize();
- //BA.debugLineNum = 599;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
+ //BA.debugLineNum = 621;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA);
- //BA.debugLineNum = 600;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
+ //BA.debugLineNum = 622;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null);
this.state = 554;
return;
@@ -3274,9 +3415,9 @@ this.state = 13;
_permission = (String) result[0];
_resultc = (Boolean) result[1];
;
- //BA.debugLineNum = 601;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
+ //BA.debugLineNum = 623;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE);
- //BA.debugLineNum = 602;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
+ //BA.debugLineNum = 624;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null);
this.state = 555;
return;
@@ -3286,17 +3427,17 @@ this.state = 13;
_permission = (String) result[0];
_resultc = (Boolean) result[1];
;
- //BA.debugLineNum = 603;BA.debugLine="LA_GPS.TextColor = Colors.Red";
+ //BA.debugLineNum = 625;BA.debugLine="LA_GPS.TextColor = Colors.Red";
parent._la_gps.setTextColor(parent.__c.Colors.Red);
- //BA.debugLineNum = 604;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\"";
+ //BA.debugLineNum = 626;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\"";
parent._la_gps.setText(BA.ObjectToCharSequence("SIN UBICACION GPS"));
- //BA.debugLineNum = 605;BA.debugLine="cercavalor = 0";
+ //BA.debugLineNum = 627;BA.debugLine="cercavalor = 0";
parent._cercavalor = BA.NumberToString(0);
- //BA.debugLineNum = 606;BA.debugLine="l_version.Text = Application.VersionName";
+ //BA.debugLineNum = 628;BA.debugLine="l_version.Text = Application.VersionName";
parent._l_version.setText(BA.ObjectToCharSequence(parent.__c.Application.getVersionName()));
- //BA.debugLineNum = 607;BA.debugLine="b_preventa.left = (Root.Width / 2) - (b_preventa.";
+ //BA.debugLineNum = 629;BA.debugLine="b_preventa.left = (Root.Width / 2) - (b_preventa.";
parent._b_preventa.setLeft((int) ((parent._root.getWidth()/(double)2)-(parent._b_preventa.getWidth()/(double)2)));
- //BA.debugLineNum = 622;BA.debugLine="If Subs.hayPedido Then 'Si hay pedido, deshabilit";
+ //BA.debugLineNum = 644;BA.debugLine="If Subs.hayPedido Then 'Si hay pedido, deshabilit";
if (true) break;
case 13:
@@ -3311,20 +3452,20 @@ this.state = 17;
case 15:
//C
this.state = 18;
- //BA.debugLineNum = 623;BA.debugLine="Log(\">>>>> HAY PEDIDO\")";
-parent.__c.LogImpl("714155848",">>>>> HAY PEDIDO",0);
- //BA.debugLineNum = 624;BA.debugLine="Tels.Enabled = False";
+ //BA.debugLineNum = 645;BA.debugLine="Log(\">>>>> HAY PEDIDO\")";
+parent.__c.LogImpl("414221386",">>>>> HAY PEDIDO",0);
+ //BA.debugLineNum = 646;BA.debugLine="Tels.Enabled = False";
parent._tels.setEnabled(parent.__c.False);
if (true) break;
case 17:
//C
this.state = 18;
- //BA.debugLineNum = 626;BA.debugLine="Tels.Enabled = True";
+ //BA.debugLineNum = 648;BA.debugLine="Tels.Enabled = True";
parent._tels.setEnabled(parent.__c.True);
if (true) break;
;
- //BA.debugLineNum = 629;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";
+ //BA.debugLineNum = 651;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then";
case 18:
//if
@@ -3336,9 +3477,9 @@ this.state = 20;
case 20:
//C
this.state = 21;
- //BA.debugLineNum = 630;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence";
+ //BA.debugLineNum = 652;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),parent.__c.True);
- //BA.debugLineNum = 631;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent";
+ //BA.debugLineNum = 653;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent";
parent.__c.StartActivity(ba,(Object)(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent()));
if (true) break;
@@ -3346,14 +3487,18 @@ case 21:
//C
this.state = 22;
;
- //BA.debugLineNum = 633;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
+ //BA.debugLineNum = 655;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
parent._skmt.Initialize(parent._ruta,"kmt.db",parent.__c.True);
- //BA.debugLineNum = 634;BA.debugLine="reqManager.Initialize(Me, Starter.server)";
+ //BA.debugLineNum = 656;BA.debugLine="reqManager.Initialize(Me, Starter.server)";
parent._reqmanager._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ );
- //BA.debugLineNum = 657;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQue";
+ //BA.debugLineNum = 676;BA.debugLine="Subs.centraPanel(P_Imagengrande,Root.Width)";
+parent._subs._centrapanel /*String*/ (ba,parent._p_imagengrande,parent._root.getWidth());
+ //BA.debugLineNum = 677;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PEDIDO where PE_CLIENTE In (select cuenta from cuentaa) AND PE_CANT <= 0");
+ //BA.debugLineNum = 679;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQue";
_fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NOT NULL")));
- //BA.debugLineNum = 658;BA.debugLine="If fotomostrar1.RowCount = 0 Then";
+ //BA.debugLineNum = 680;BA.debugLine="If fotomostrar1.RowCount = 0 Then";
if (true) break;
case 22:
@@ -3368,10 +3513,10 @@ this.state = 32;
case 24:
//C
this.state = 25;
- //BA.debugLineNum = 660;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQue";
+ //BA.debugLineNum = 682;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQue";
_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 661;BA.debugLine="If fotomostrar.RowCount > 0 Then";
+ //BA.debugLineNum = 683;BA.debugLine="If fotomostrar.RowCount > 0 Then";
if (true) break;
case 25:
@@ -3386,33 +3531,33 @@ this.state = 29;
case 27:
//C
this.state = 30;
- //BA.debugLineNum = 663;BA.debugLine="fotomostrar.Position = 0";
+ //BA.debugLineNum = 685;BA.debugLine="fotomostrar.Position = 0";
_fotomostrar.setPosition((int) (0));
- //BA.debugLineNum = 664;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostra";
+ //BA.debugLineNum = 686;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostra";
_fotomostrarfinal = _fotomostrar.GetBlob("FOTO");
- //BA.debugLineNum = 665;BA.debugLine="Dim InputStream1 As InputStream";
+ //BA.debugLineNum = 687;BA.debugLine="Dim InputStream1 As InputStream";
_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
- //BA.debugLineNum = 666;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostr";
+ //BA.debugLineNum = 688;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostr";
_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
- //BA.debugLineNum = 667;BA.debugLine="Dim Bitmap1 As Bitmap";
+ //BA.debugLineNum = 689;BA.debugLine="Dim Bitmap1 As Bitmap";
_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
- //BA.debugLineNum = 668;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
+ //BA.debugLineNum = 690;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
- //BA.debugLineNum = 669;BA.debugLine="InputStream1.Close";
+ //BA.debugLineNum = 691;BA.debugLine="InputStream1.Close";
_inputstream1.Close();
- //BA.debugLineNum = 670;BA.debugLine="ImageView4.Bitmap = Bitmap1";
+ //BA.debugLineNum = 692;BA.debugLine="ImageView4.Bitmap = Bitmap1";
parent._imageview4.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
- //BA.debugLineNum = 671;BA.debugLine="Log(\"aqui si hay foto\")";
-parent.__c.LogImpl("714155896","aqui si hay foto",0);
+ //BA.debugLineNum = 693;BA.debugLine="Log(\"aqui si hay foto\")";
+parent.__c.LogImpl("414221434","aqui si hay foto",0);
if (true) break;
case 29:
//C
this.state = 30;
- //BA.debugLineNum = 673;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"";
+ //BA.debugLineNum = 695;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"";
parent._imageview4.setBitmap((android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"images.png").getObject()));
- //BA.debugLineNum = 674;BA.debugLine="Log(\"aqui no hay foto\")";
-parent.__c.LogImpl("714155899","aqui no hay foto",0);
+ //BA.debugLineNum = 696;BA.debugLine="Log(\"aqui no hay foto\")";
+parent.__c.LogImpl("414221437","aqui no hay foto",0);
if (true) break;
case 30:
@@ -3424,45 +3569,45 @@ this.state = 33;
case 32:
//C
this.state = 33;
- //BA.debugLineNum = 678;BA.debugLine="fotomostrar1.Position = 0";
+ //BA.debugLineNum = 700;BA.debugLine="fotomostrar1.Position = 0";
_fotomostrar1.setPosition((int) (0));
- //BA.debugLineNum = 679;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostrar";
+ //BA.debugLineNum = 701;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostrar";
_fotomostrarfinal = _fotomostrar1.GetBlob("foto");
- //BA.debugLineNum = 680;BA.debugLine="Dim InputStream1 As InputStream";
+ //BA.debugLineNum = 702;BA.debugLine="Dim InputStream1 As InputStream";
_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
- //BA.debugLineNum = 681;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostra";
+ //BA.debugLineNum = 703;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostra";
_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
- //BA.debugLineNum = 682;BA.debugLine="Dim Bitmap1 As Bitmap";
+ //BA.debugLineNum = 704;BA.debugLine="Dim Bitmap1 As Bitmap";
_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
- //BA.debugLineNum = 683;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
+ //BA.debugLineNum = 705;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
- //BA.debugLineNum = 684;BA.debugLine="InputStream1.Close";
+ //BA.debugLineNum = 706;BA.debugLine="InputStream1.Close";
_inputstream1.Close();
- //BA.debugLineNum = 685;BA.debugLine="ImageView4.Bitmap = Bitmap1";
+ //BA.debugLineNum = 707;BA.debugLine="ImageView4.Bitmap = Bitmap1";
parent._imageview4.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
- //BA.debugLineNum = 686;BA.debugLine="Log(\"aqui si hay foto\")";
-parent.__c.LogImpl("714155911","aqui si hay foto",0);
+ //BA.debugLineNum = 708;BA.debugLine="Log(\"aqui si hay foto\")";
+parent.__c.LogImpl("414221449","aqui si hay foto",0);
if (true) break;
case 33:
//C
this.state = 34;
;
- //BA.debugLineNum = 694;BA.debugLine="l_tipocliente.Text = Subs.traeTipoCliente";
+ //BA.debugLineNum = 716;BA.debugLine="l_tipocliente.Text = Subs.traeTipoCliente";
parent._l_tipocliente.setText(BA.ObjectToCharSequence(parent._subs._traetipocliente /*int*/ (ba)));
- //BA.debugLineNum = 695;BA.debugLine="p_camara.Width = Root.Width";
+ //BA.debugLineNum = 717;BA.debugLine="p_camara.Width = Root.Width";
parent._p_camara.setWidth(parent._root.getWidth());
- //BA.debugLineNum = 696;BA.debugLine="p_camara.Height = Root.Height";
+ //BA.debugLineNum = 718;BA.debugLine="p_camara.Height = Root.Height";
parent._p_camara.setHeight(parent._root.getHeight());
- //BA.debugLineNum = 697;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count";
+ //BA.debugLineNum = 719;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count";
parent._s2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 698;BA.debugLine="S2.Position =0";
+ //BA.debugLineNum = 720;BA.debugLine="S2.Position =0";
parent._s2.setPosition((int) (0));
- //BA.debugLineNum = 699;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 721;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")";
parent._cuantos = parent._s2.GetString("CUANTOS");
- //BA.debugLineNum = 700;BA.debugLine="S2.Close";
+ //BA.debugLineNum = 722;BA.debugLine="S2.Close";
parent._s2.Close();
- //BA.debugLineNum = 701;BA.debugLine="If CUANTOS > 0 Then";
+ //BA.debugLineNum = 723;BA.debugLine="If CUANTOS > 0 Then";
if (true) break;
case 34:
@@ -3477,20 +3622,20 @@ this.state = 38;
case 36:
//C
this.state = 39;
- //BA.debugLineNum = 702;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum(";
+ //BA.debugLineNum = 724;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum(";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 703;BA.debugLine="c2.Position =0";
+ //BA.debugLineNum = 725;BA.debugLine="c2.Position =0";
parent._c2.setPosition((int) (0));
- //BA.debugLineNum = 704;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")";
+ //BA.debugLineNum = 726;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")";
parent._monto_compra = parent._c2.GetString("TOTAL");
- //BA.debugLineNum = 705;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 727;BA.debugLine="c2.Close";
parent._c2.Close();
if (true) break;
case 38:
//C
this.state = 39;
- //BA.debugLineNum = 707;BA.debugLine="MONTO_COMPRA = \"0\"";
+ //BA.debugLineNum = 729;BA.debugLine="MONTO_COMPRA = \"0\"";
parent._monto_compra = "0";
if (true) break;
@@ -3498,9 +3643,9 @@ case 39:
//C
this.state = 40;
;
- //BA.debugLineNum = 709;BA.debugLine="la_saldotot.Text = MONTO_COMPRA";
+ //BA.debugLineNum = 731;BA.debugLine="la_saldotot.Text = MONTO_COMPRA";
parent._la_saldotot.setText(BA.ObjectToCharSequence(parent._monto_compra));
- //BA.debugLineNum = 710;BA.debugLine="If MONTO_COMPRA <> \"0\" Then";
+ //BA.debugLineNum = 732;BA.debugLine="If MONTO_COMPRA <> \"0\" Then";
if (true) break;
case 40:
@@ -3515,18 +3660,18 @@ this.state = 44;
case 42:
//C
this.state = 45;
- //BA.debugLineNum = 711;BA.debugLine="META2 = 300 - MONTO_COMPRA";
+ //BA.debugLineNum = 733;BA.debugLine="META2 = 300 - MONTO_COMPRA";
parent._meta2 = BA.NumberToString(300-(double)(Double.parseDouble(parent._monto_compra)));
if (true) break;
case 44:
//C
this.state = 45;
- //BA.debugLineNum = 713;BA.debugLine="META2 = 300";
+ //BA.debugLineNum = 735;BA.debugLine="META2 = 300";
parent._meta2 = BA.NumberToString(300);
if (true) break;
;
- //BA.debugLineNum = 715;BA.debugLine="If META2 < 1 Then";
+ //BA.debugLineNum = 737;BA.debugLine="If META2 < 1 Then";
case 45:
//if
@@ -3538,11 +3683,11 @@ this.state = 47;
case 47:
//C
this.state = 48;
- //BA.debugLineNum = 716;BA.debugLine="META2 = \"CUBIERTO\"";
+ //BA.debugLineNum = 738;BA.debugLine="META2 = \"CUBIERTO\"";
parent._meta2 = "CUBIERTO";
if (true) break;
;
- //BA.debugLineNum = 718;BA.debugLine="If IsNumber(META2) Then META2 = NumberFormat2(MET";
+ //BA.debugLineNum = 740;BA.debugLine="If IsNumber(META2) Then META2 = NumberFormat2(MET";
case 48:
//if
@@ -3561,11 +3706,11 @@ case 53:
//C
this.state = 54;
;
- //BA.debugLineNum = 719;BA.debugLine="la_saldooper.Text = META2";
+ //BA.debugLineNum = 741;BA.debugLine="la_saldooper.Text = META2";
parent._la_saldooper.setText(BA.ObjectToCharSequence(parent._meta2));
- //BA.debugLineNum = 720;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM";
+ //BA.debugLineNum = 742;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
- //BA.debugLineNum = 721;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 743;BA.debugLine="If c.RowCount>0 Then";
if (true) break;
case 54:
@@ -3578,9 +3723,9 @@ this.state = 56;
case 56:
//C
this.state = 57;
- //BA.debugLineNum = 722;BA.debugLine="C.Position=0";
+ //BA.debugLineNum = 744;BA.debugLine="C.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 723;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
+ //BA.debugLineNum = 745;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")";
parent._almacen = parent._c.GetString("ID_ALMACEN");
if (true) break;
@@ -3588,9 +3733,9 @@ case 57:
//C
this.state = 58;
;
- //BA.debugLineNum = 725;BA.debugLine="c.Close";
+ //BA.debugLineNum = 747;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 727;BA.debugLine="If ALMACEN = \"1\" Then";
+ //BA.debugLineNum = 749;BA.debugLine="If ALMACEN = \"1\" Then";
if (true) break;
case 58:
@@ -3603,15 +3748,15 @@ this.state = 60;
case 60:
//C
this.state = 61;
- //BA.debugLineNum = 728;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 750;BA.debugLine="Tels.Visible = False";
parent._tels.setVisible(parent.__c.False);
- //BA.debugLineNum = 729;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 751;BA.debugLine="gest.Visible = True";
parent._gest.setVisible(parent.__c.True);
- //BA.debugLineNum = 730;BA.debugLine="B_GPS.Visible = False";
+ //BA.debugLineNum = 752;BA.debugLine="B_GPS.Visible = False";
parent._b_gps.setVisible(parent.__c.False);
if (true) break;
;
- //BA.debugLineNum = 732;BA.debugLine="If ALMACEN = \"4\" Then";
+ //BA.debugLineNum = 754;BA.debugLine="If ALMACEN = \"4\" Then";
case 61:
//if
@@ -3625,13 +3770,13 @@ this.state = 77;
case 63:
//C
this.state = 64;
- //BA.debugLineNum = 733;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 755;BA.debugLine="b_like.Visible = False";
parent._b_like.setVisible(parent.__c.False);
- //BA.debugLineNum = 734;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU";
+ //BA.debugLineNum = 756;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU";
parent._dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"})));
- //BA.debugLineNum = 735;BA.debugLine="DD.Position =0";
+ //BA.debugLineNum = 757;BA.debugLine="DD.Position =0";
parent._dd.setPosition((int) (0));
- //BA.debugLineNum = 736;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then";
+ //BA.debugLineNum = 758;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then";
if (true) break;
case 64:
@@ -3646,11 +3791,11 @@ this.state = 74;
case 66:
//C
this.state = 67;
- //BA.debugLineNum = 737;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU";
+ //BA.debugLineNum = 759;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"})));
- //BA.debugLineNum = 738;BA.debugLine="c.Position =0";
+ //BA.debugLineNum = 760;BA.debugLine="c.Position =0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 739;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
+ //BA.debugLineNum = 761;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
if (true) break;
case 67:
@@ -3665,14 +3810,14 @@ this.state = 71;
case 69:
//C
this.state = 72;
- //BA.debugLineNum = 740;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 762;BA.debugLine="b_like.Visible = False";
parent._b_like.setVisible(parent.__c.False);
if (true) break;
case 71:
//C
this.state = 72;
- //BA.debugLineNum = 742;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 764;BA.debugLine="b_like.Visible = False";
parent._b_like.setVisible(parent.__c.False);
if (true) break;
@@ -3680,14 +3825,14 @@ case 72:
//C
this.state = 75;
;
- //BA.debugLineNum = 744;BA.debugLine="c.Close";
+ //BA.debugLineNum = 766;BA.debugLine="c.Close";
parent._c.Close();
if (true) break;
case 74:
//C
this.state = 75;
- //BA.debugLineNum = 746;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 768;BA.debugLine="b_like.Visible = False";
parent._b_like.setVisible(parent.__c.False);
if (true) break;
@@ -3695,18 +3840,18 @@ case 75:
//C
this.state = 78;
;
- //BA.debugLineNum = 748;BA.debugLine="DD.Close";
+ //BA.debugLineNum = 770;BA.debugLine="DD.Close";
parent._dd.Close();
if (true) break;
case 77:
//C
this.state = 78;
- //BA.debugLineNum = 750;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 772;BA.debugLine="b_like.Visible = False";
parent._b_like.setVisible(parent.__c.False);
if (true) break;
;
- //BA.debugLineNum = 752;BA.debugLine="If ALMACEN = \"16\" Or ALMACEN = \"13\" Then";
+ //BA.debugLineNum = 774;BA.debugLine="If ALMACEN = \"16\" Or ALMACEN = \"13\" Then";
case 78:
//if
@@ -3718,9 +3863,9 @@ this.state = 80;
case 80:
//C
this.state = 81;
- //BA.debugLineNum = 753;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 775;BA.debugLine="Tels.Visible = True";
parent._tels.setVisible(parent.__c.True);
- //BA.debugLineNum = 754;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 776;BA.debugLine="gest.Visible = True";
parent._gest.setVisible(parent.__c.True);
if (true) break;
@@ -3728,9 +3873,9 @@ case 81:
//C
this.state = 82;
;
- //BA.debugLineNum = 756;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM PEDID";
+ //BA.debugLineNum = 778;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM PEDID";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 757;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 779;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 82:
@@ -3745,14 +3890,14 @@ this.state = 96;
case 84:
//C
this.state = 85;
- //BA.debugLineNum = 758;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 780;BA.debugLine="Tels.Visible = True";
parent._tels.setVisible(parent.__c.True);
- //BA.debugLineNum = 759;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 781;BA.debugLine="gest.Visible = True";
parent._gest.setVisible(parent.__c.True);
- //BA.debugLineNum = 760;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 782;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 761;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 783;BA.debugLine="If future.RowCount > 0 Then";
if (true) break;
case 85:
@@ -3765,9 +3910,9 @@ this.state = 87;
case 87:
//C
this.state = 88;
- //BA.debugLineNum = 762;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 784;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 763;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 785;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (true) break;
case 88:
@@ -3782,14 +3927,14 @@ this.state = 92;
case 90:
//C
this.state = 93;
- //BA.debugLineNum = 764;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 786;BA.debugLine="b_preventa2.Visible = True";
parent._b_preventa2.setVisible(parent.__c.True);
if (true) break;
case 92:
//C
this.state = 93;
- //BA.debugLineNum = 766;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 788;BA.debugLine="b_preventa2.Visible = False";
parent._b_preventa2.setVisible(parent.__c.False);
if (true) break;
@@ -3808,15 +3953,15 @@ this.state = 121;
case 96:
//C
this.state = 97;
- //BA.debugLineNum = 771;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 793;BA.debugLine="Tels.Visible = False";
parent._tels.setVisible(parent.__c.False);
- //BA.debugLineNum = 772;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 794;BA.debugLine="gest.Visible = False";
parent._gest.setVisible(parent.__c.False);
- //BA.debugLineNum = 774;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 796;BA.debugLine="b_preventa2.Visible = False";
parent._b_preventa2.setVisible(parent.__c.False);
- //BA.debugLineNum = 776;BA.debugLine="c = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM NOVEN";
+ //BA.debugLineNum = 798;BA.debugLine="c = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM NOVEN";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 777;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 799;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 97:
@@ -3831,14 +3976,14 @@ this.state = 111;
case 99:
//C
this.state = 100;
- //BA.debugLineNum = 778;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 800;BA.debugLine="Tels.Visible = True";
parent._tels.setVisible(parent.__c.True);
- //BA.debugLineNum = 779;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 801;BA.debugLine="gest.Visible = True";
parent._gest.setVisible(parent.__c.True);
- //BA.debugLineNum = 780;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 802;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 781;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 803;BA.debugLine="If future.RowCount > 0 Then";
if (true) break;
case 100:
@@ -3851,9 +3996,9 @@ this.state = 102;
case 102:
//C
this.state = 103;
- //BA.debugLineNum = 782;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 804;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 783;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 805;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (true) break;
case 103:
@@ -3868,14 +4013,14 @@ this.state = 107;
case 105:
//C
this.state = 108;
- //BA.debugLineNum = 784;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 806;BA.debugLine="b_preventa2.Visible = True";
parent._b_preventa2.setVisible(parent.__c.True);
if (true) break;
case 107:
//C
this.state = 108;
- //BA.debugLineNum = 786;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 808;BA.debugLine="b_preventa2.Visible = False";
parent._b_preventa2.setVisible(parent.__c.False);
if (true) break;
@@ -3894,15 +4039,15 @@ this.state = 116;
case 111:
//C
this.state = 112;
- //BA.debugLineNum = 790;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 812;BA.debugLine="Tels.Visible = False";
parent._tels.setVisible(parent.__c.False);
- //BA.debugLineNum = 791;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 813;BA.debugLine="gest.Visible = False";
parent._gest.setVisible(parent.__c.False);
- //BA.debugLineNum = 792;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 814;BA.debugLine="b_preventa2.Visible = False";
parent._b_preventa2.setVisible(parent.__c.False);
- //BA.debugLineNum = 793;BA.debugLine="LA_GEO.TextColor = Colors.Red";
+ //BA.debugLineNum = 815;BA.debugLine="LA_GEO.TextColor = Colors.Red";
parent._la_geo.setTextColor(parent.__c.Colors.Red);
- //BA.debugLineNum = 794;BA.debugLine="If ALMACEN = \"1\" Then";
+ //BA.debugLineNum = 816;BA.debugLine="If ALMACEN = \"1\" Then";
if (true) break;
case 112:
@@ -3915,9 +4060,9 @@ this.state = 114;
case 114:
//C
this.state = 115;
- //BA.debugLineNum = 795;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 817;BA.debugLine="Tels.Visible = False";
parent._tels.setVisible(parent.__c.False);
- //BA.debugLineNum = 796;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 818;BA.debugLine="gest.Visible = True";
parent._gest.setVisible(parent.__c.True);
if (true) break;
@@ -3931,9 +4076,9 @@ case 116:
//C
this.state = 117;
;
- //BA.debugLineNum = 799;BA.debugLine="LA_GEO.TextColor = Colors.Red";
+ //BA.debugLineNum = 821;BA.debugLine="LA_GEO.TextColor = Colors.Red";
parent._la_geo.setTextColor(parent.__c.Colors.Red);
- //BA.debugLineNum = 800;BA.debugLine="If ALMACEN = \"1\" Then";
+ //BA.debugLineNum = 822;BA.debugLine="If ALMACEN = \"1\" Then";
if (true) break;
case 117:
@@ -3946,9 +4091,9 @@ this.state = 119;
case 119:
//C
this.state = 120;
- //BA.debugLineNum = 801;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 823;BA.debugLine="Tels.Visible = False";
parent._tels.setVisible(parent.__c.False);
- //BA.debugLineNum = 802;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 824;BA.debugLine="gest.Visible = True";
parent._gest.setVisible(parent.__c.True);
if (true) break;
@@ -3962,9 +4107,9 @@ case 121:
//C
this.state = 122;
;
- //BA.debugLineNum = 806;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")";
+ //BA.debugLineNum = 828;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")";
parent.__c.CallSubDelayed(ba,(Object)(parent._tracker.getObject()),"StartFLPSmall");
- //BA.debugLineNum = 808;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized";
+ //BA.debugLineNum = 830;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized";
if (true) break;
case 122:
@@ -3977,17 +4122,17 @@ this.state = 124;
case 124:
//C
this.state = 125;
- //BA.debugLineNum = 809;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK";
+ //BA.debugLineNum = 831;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude());
- //BA.debugLineNum = 810;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK";
+ //BA.debugLineNum = 832;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude());
- //BA.debugLineNum = 811;BA.debugLine="Log($\"Tenemos UUC: ${Tracker.FLP.GetLastKnownLoc";
-parent.__c.LogImpl("714156036",("Tenemos UUC: "+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+""),0);
- //BA.debugLineNum = 812;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca";
+ //BA.debugLineNum = 833;BA.debugLine="Log($\"Tenemos UUC: ${Tracker.FLP.GetLastKnownLoc";
+parent.__c.LogImpl("414221574",("Tenemos UUC: "+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+","+parent.__c.SmartStringFormatter("",(Object)(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+""),0);
+ //BA.debugLineNum = 834;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca";
parent._gps_locationchanged(parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation());
if (true) break;
;
- //BA.debugLineNum = 814;BA.debugLine="If ALMACEN = \"1\" Or ALMACEN = \"2\" Or ALMACEN = \"4";
+ //BA.debugLineNum = 836;BA.debugLine="If ALMACEN = \"1\" Or ALMACEN = \"2\" Or ALMACEN = \"4";
case 125:
//if
@@ -4001,11 +4146,11 @@ this.state = 141;
case 127:
//C
this.state = 128;
- //BA.debugLineNum = 815;BA.debugLine="DD=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F";
+ //BA.debugLineNum = 837;BA.debugLine="DD=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F";
parent._dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR SUIZA GALLINA"})));
- //BA.debugLineNum = 816;BA.debugLine="DD.Position =0";
+ //BA.debugLineNum = 838;BA.debugLine="DD.Position =0";
parent._dd.setPosition((int) (0));
- //BA.debugLineNum = 817;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then";
+ //BA.debugLineNum = 839;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then";
if (true) break;
case 128:
@@ -4020,11 +4165,11 @@ this.state = 138;
case 130:
//C
this.state = 131;
- //BA.debugLineNum = 818;BA.debugLine="c=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F";
+ //BA.debugLineNum = 840;BA.debugLine="c=skmt.ExecQuery2(\"SELECT COUNT(*) AS CUANTOS F";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR SUIZA GALLINA"})));
- //BA.debugLineNum = 819;BA.debugLine="c.Position =0";
+ //BA.debugLineNum = 841;BA.debugLine="c.Position =0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 820;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
+ //BA.debugLineNum = 842;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then";
if (true) break;
case 131:
@@ -4039,14 +4184,14 @@ this.state = 135;
case 133:
//C
this.state = 136;
- //BA.debugLineNum = 821;BA.debugLine="B_GALLINA.Visible = True";
+ //BA.debugLineNum = 843;BA.debugLine="B_GALLINA.Visible = True";
parent._b_gallina.setVisible(parent.__c.True);
if (true) break;
case 135:
//C
this.state = 136;
- //BA.debugLineNum = 823;BA.debugLine="B_GALLINA.Visible = False";
+ //BA.debugLineNum = 845;BA.debugLine="B_GALLINA.Visible = False";
parent._b_gallina.setVisible(parent.__c.False);
if (true) break;
@@ -4054,14 +4199,14 @@ case 136:
//C
this.state = 139;
;
- //BA.debugLineNum = 825;BA.debugLine="c.Close";
+ //BA.debugLineNum = 847;BA.debugLine="c.Close";
parent._c.Close();
if (true) break;
case 138:
//C
this.state = 139;
- //BA.debugLineNum = 827;BA.debugLine="B_GALLINA.Visible = False";
+ //BA.debugLineNum = 849;BA.debugLine="B_GALLINA.Visible = False";
parent._b_gallina.setVisible(parent.__c.False);
if (true) break;
@@ -4069,14 +4214,14 @@ case 139:
//C
this.state = 142;
;
- //BA.debugLineNum = 829;BA.debugLine="DD.Close";
+ //BA.debugLineNum = 851;BA.debugLine="DD.Close";
parent._dd.Close();
if (true) break;
case 141:
//C
this.state = 142;
- //BA.debugLineNum = 831;BA.debugLine="B_GALLINA.Visible = False";
+ //BA.debugLineNum = 853;BA.debugLine="B_GALLINA.Visible = False";
parent._b_gallina.setVisible(parent.__c.False);
if (true) break;
@@ -4084,13 +4229,13 @@ case 142:
//C
this.state = 143;
;
- //BA.debugLineNum = 833;BA.debugLine="P_gallina.Visible = False";
+ //BA.debugLineNum = 855;BA.debugLine="P_gallina.Visible = False";
parent._p_gallina.setVisible(parent.__c.False);
- //BA.debugLineNum = 834;BA.debugLine="B_GALLINA.Visible = False";
+ //BA.debugLineNum = 856;BA.debugLine="B_GALLINA.Visible = False";
parent._b_gallina.setVisible(parent.__c.False);
- //BA.debugLineNum = 835;BA.debugLine="que_modulo = 1";
+ //BA.debugLineNum = 857;BA.debugLine="que_modulo = 1";
parent._que_modulo = BA.NumberToString(1);
- //BA.debugLineNum = 836;BA.debugLine="If ALMACEN = \"2\" Or ALMACEN = \"4\" Or ALMACEN = \"";
+ //BA.debugLineNum = 858;BA.debugLine="If ALMACEN = \"2\" Or ALMACEN = \"4\" Or ALMACEN = \"";
if (true) break;
case 143:
@@ -4105,14 +4250,14 @@ this.state = 147;
case 145:
//C
this.state = 148;
- //BA.debugLineNum = 837;BA.debugLine="b_like.Visible = True";
+ //BA.debugLineNum = 859;BA.debugLine="b_like.Visible = True";
parent._b_like.setVisible(parent.__c.True);
if (true) break;
case 147:
//C
this.state = 148;
- //BA.debugLineNum = 839;BA.debugLine="b_like.Visible = False";
+ //BA.debugLineNum = 861;BA.debugLine="b_like.Visible = False";
parent._b_like.setVisible(parent.__c.False);
if (true) break;
@@ -4120,9 +4265,9 @@ case 148:
//C
this.state = 149;
;
- //BA.debugLineNum = 841;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT";
+ //BA.debugLineNum = 863;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"})));
- //BA.debugLineNum = 842;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 864;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 149:
@@ -4135,13 +4280,13 @@ this.state = 151;
case 151:
//C
this.state = 152;
- //BA.debugLineNum = 843;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 865;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 844;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO";
+ //BA.debugLineNum = 866;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO";
parent._starter._mac_impresora /*String*/ = parent._c.GetString("CAT_VA_VALOR");
if (true) break;
;
- //BA.debugLineNum = 846;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM";
+ //BA.debugLineNum = 868;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM";
case 152:
//if
@@ -4160,9 +4305,9 @@ case 157:
//C
this.state = 158;
;
- //BA.debugLineNum = 848;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")";
+ //BA.debugLineNum = 870;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")";
parent._printer1._initialize /*String*/ (ba,parent,"Printer1");
- //BA.debugLineNum = 850;BA.debugLine="If Printer1.IsConnected = False Then";
+ //BA.debugLineNum = 872;BA.debugLine="If Printer1.IsConnected = False Then";
if (true) break;
case 158:
@@ -4182,21 +4327,21 @@ this.state = 163;
case 162:
//C
this.state = 163;
- //BA.debugLineNum = 854;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 876;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 855;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 877;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 856;BA.debugLine="Log(\"2\")";
-parent.__c.LogImpl("714156081","2",0);
+ //BA.debugLineNum = 878;BA.debugLine="Log(\"2\")";
+parent.__c.LogImpl("414221619","2",0);
if (true) break;
case 163:
//C
this.state = 164;
;
- //BA.debugLineNum = 858;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES";
+ //BA.debugLineNum = 880;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADA FROM IMPRES";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT HABILITADA FROM IMPRESORA")));
- //BA.debugLineNum = 859;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 881;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 164:
@@ -4211,9 +4356,9 @@ this.state = 174;
case 166:
//C
this.state = 167;
- //BA.debugLineNum = 860;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 882;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 861;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then";
+ //BA.debugLineNum = 883;BA.debugLine="If c.GetString(\"HABILITADA\") = 1 Then";
if (true) break;
case 167:
@@ -4228,14 +4373,14 @@ this.state = 171;
case 169:
//C
this.state = 172;
- //BA.debugLineNum = 862;BA.debugLine="B_IMP.Visible = True";
+ //BA.debugLineNum = 884;BA.debugLine="B_IMP.Visible = True";
parent._b_imp.setVisible(parent.__c.True);
if (true) break;
case 171:
//C
this.state = 172;
- //BA.debugLineNum = 864;BA.debugLine="B_IMP.Visible = False";
+ //BA.debugLineNum = 886;BA.debugLine="B_IMP.Visible = False";
parent._b_imp.setVisible(parent.__c.False);
if (true) break;
@@ -4248,11 +4393,11 @@ this.state = 175;
case 174:
//C
this.state = 175;
- //BA.debugLineNum = 867;BA.debugLine="B_IMP.Visible = False";
+ //BA.debugLineNum = 889;BA.debugLine="B_IMP.Visible = False";
parent._b_imp.setVisible(parent.__c.False);
if (true) break;
;
- //BA.debugLineNum = 873;BA.debugLine="If ALMACEN = 32 Then";
+ //BA.debugLineNum = 895;BA.debugLine="If ALMACEN = 32 Then";
case 175:
//if
@@ -4264,7 +4409,7 @@ this.state = 177;
case 177:
//C
this.state = 178;
- //BA.debugLineNum = 874;BA.debugLine="If Subs.traemontoprod And Subs.InvSuficienteProm";
+ //BA.debugLineNum = 896;BA.debugLine="If Subs.traemontoprod And Subs.InvSuficienteProm";
if (true) break;
case 178:
@@ -4279,9 +4424,9 @@ this.state = 186;
case 180:
//C
this.state = 181;
- //BA.debugLineNum = 875;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a una pr";
+ //BA.debugLineNum = 897;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a una pr";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a una promo por la compra de mas de $120 en productos Helmanns, Maizena y/o Knorr"),BA.ObjectToCharSequence("Promo disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
- //BA.debugLineNum = 876;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+ //BA.debugLineNum = 898;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, this, null);
this.state = 556;
return;
@@ -4290,7 +4435,7 @@ case 556:
this.state = 181;
_resultado = (Integer) result[0];
;
- //BA.debugLineNum = 877;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 899;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;
case 181:
@@ -4303,7 +4448,7 @@ this.state = 183;
case 183:
//C
this.state = 184;
- //BA.debugLineNum = 878;BA.debugLine="B4XPages.MainPage.productos.terminarpromoesp";
+ //BA.debugLineNum = 900;BA.debugLine="B4XPages.MainPage.productos.terminarpromoesp";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._terminarpromoesp /*String*/ ();
if (true) break;
@@ -4318,7 +4463,7 @@ case 186:
this.state = 187;
if (true) break;
;
- //BA.debugLineNum = 882;BA.debugLine="If Not(Subs.traemontoprod) And Subs.vendidoPromo";
+ //BA.debugLineNum = 904;BA.debugLine="If Not(Subs.traemontoprod) And Subs.vendidoPromo";
case 187:
//if
@@ -4332,15 +4477,15 @@ this.state = 199;
case 189:
//C
this.state = 190;
- //BA.debugLineNum = 883;BA.debugLine="Private j3 As Cursor";
+ //BA.debugLineNum = 905;BA.debugLine="Private j3 As Cursor";
_j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 884;BA.debugLine="Log(\"SI PROMO\")";
-parent.__c.LogImpl("714156109","SI PROMO",0);
- //BA.debugLineNum = 885;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT";
+ //BA.debugLineNum = 906;BA.debugLine="Log(\"SI PROMO\")";
+parent.__c.LogImpl("414221647","SI PROMO",0);
+ //BA.debugLineNum = 907;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PROID = ?)",new String[]{"PROUNI01"})));
- //BA.debugLineNum = 886;BA.debugLine="Log(j3.RowCount)";
-parent.__c.LogImpl("714156111",BA.NumberToString(_j3.getRowCount()),0);
- //BA.debugLineNum = 887;BA.debugLine="If j3.RowCount = 0 Then";
+ //BA.debugLineNum = 908;BA.debugLine="Log(j3.RowCount)";
+parent.__c.LogImpl("414221649",BA.NumberToString(_j3.getRowCount()),0);
+ //BA.debugLineNum = 909;BA.debugLine="If j3.RowCount = 0 Then";
if (true) break;
case 190:
@@ -4353,16 +4498,16 @@ this.state = 192;
case 192:
//C
this.state = 193;
- //BA.debugLineNum = 888;BA.debugLine="Log(\"estoy aqui\")";
-parent.__c.LogImpl("714156113","estoy aqui",0);
- //BA.debugLineNum = 889;BA.debugLine="For i = 0 To j3.RowCount -1";
+ //BA.debugLineNum = 910;BA.debugLine="Log(\"estoy aqui\")";
+parent.__c.LogImpl("414221651","estoy aqui",0);
+ //BA.debugLineNum = 911;BA.debugLine="For i = 0 To j3.RowCount -1";
if (true) break;
case 193:
//for
this.state = 196;
-step266 = 1;
-limit266 = (int) (_j3.getRowCount()-1);
+step271 = 1;
+limit271 = (int) (_j3.getRowCount()-1);
_i = (int) (0) ;
this.state = 557;
if (true) break;
@@ -4370,25 +4515,25 @@ if (true) break;
case 557:
//C
this.state = 196;
-if ((step266 > 0 && _i <= limit266) || (step266 < 0 && _i >= limit266)) this.state = 195;
+if ((step271 > 0 && _i <= limit271) || (step271 < 0 && _i >= limit271)) this.state = 195;
if (true) break;
case 558:
//C
this.state = 557;
-_i = ((int)(0 + _i + step266)) ;
+_i = ((int)(0 + _i + step271)) ;
if (true) break;
case 195:
//C
this.state = 558;
- //BA.debugLineNum = 890;BA.debugLine="Log(\"aqui tronare?\")";
-parent.__c.LogImpl("714156115","aqui tronare?",0);
- //BA.debugLineNum = 891;BA.debugLine="j3.Position = i";
+ //BA.debugLineNum = 912;BA.debugLine="Log(\"aqui tronare?\")";
+parent.__c.LogImpl("414221653","aqui tronare?",0);
+ //BA.debugLineNum = 913;BA.debugLine="j3.Position = i";
_j3.setPosition(_i);
- //BA.debugLineNum = 892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update";
+ //BA.debugLineNum = 914;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,parent._tipo_venta)))+" set cat_gp_almacen = cat_gp_almacen + "+parent.__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+parent.__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'"));
- //BA.debugLineNum = 893;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete";
+ //BA.debugLineNum = 915;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_j3.GetString("PE_PRONOMBRE")),(Object)(parent._tipo_venta)}));
if (true) break;
if (true) break;
@@ -4403,7 +4548,7 @@ case 197:
//C
this.state = 200;
;
- //BA.debugLineNum = 896;BA.debugLine="j3.Close";
+ //BA.debugLineNum = 918;BA.debugLine="j3.Close";
_j3.Close();
if (true) break;
@@ -4418,7 +4563,7 @@ this.state = 201;
;
if (true) break;
;
- //BA.debugLineNum = 901;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";
+ //BA.debugLineNum = 923;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";
case 201:
//if
@@ -4430,7 +4575,7 @@ this.state = 203;
case 203:
//C
this.state = 204;
- //BA.debugLineNum = 902;BA.debugLine="If Subs.traemontoprod And Subs.traeCliente <> \"0";
+ //BA.debugLineNum = 924;BA.debugLine="If Subs.traemontoprod And Subs.traeCliente <> \"0";
if (true) break;
case 204:
@@ -4445,9 +4590,9 @@ this.state = 254;
case 206:
//C
this.state = 207;
- //BA.debugLineNum = 903;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des";
+ //BA.debugLineNum = 925;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a un descuento de 150 pesos por la compra de mas de $500 en productos participantes"),BA.ObjectToCharSequence("Descuento disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
- //BA.debugLineNum = 904;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+ //BA.debugLineNum = 926;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, this, null);
this.state = 559;
return;
@@ -4456,7 +4601,7 @@ case 559:
this.state = 207;
_resultado = (Integer) result[0];
;
- //BA.debugLineNum = 905;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 927;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;
case 207:
@@ -4469,10 +4614,10 @@ this.state = 209;
case 209:
//C
this.state = 210;
- //BA.debugLineNum = 906;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 928;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E";
parent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS PIEZAS FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 907;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 929;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 210:
@@ -4485,16 +4630,16 @@ this.state = 212;
case 212:
//C
this.state = 213;
- //BA.debugLineNum = 908;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 930;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 909;BA.debugLine="Private des As Float = NumberFormat2(150/c.Ge";
+ //BA.debugLineNum = 931;BA.debugLine="Private des As Float = NumberFormat2(150/c.Ge";
_des = (float)(Double.parseDouble(parent.__c.NumberFormat2(150/(double)(double)(Double.parseDouble(parent._c.GetString("PIEZAS"))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
- //BA.debugLineNum = 910;BA.debugLine="Log( NumberFormat2(des,0,2,2,False))";
-parent.__c.LogImpl("714156135",parent.__c.NumberFormat2(_des,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 911;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 932;BA.debugLine="Log( NumberFormat2(des,0,2,2,False))";
+parent.__c.LogImpl("414221673",parent.__c.NumberFormat2(_des,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 933;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt";
parent._c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU < ?",new String[]{BA.NumberToString(_des)})));
- //BA.debugLineNum = 912;BA.debugLine="If c2.RowCount > 0 Then";
+ //BA.debugLineNum = 934;BA.debugLine="If c2.RowCount > 0 Then";
if (true) break;
case 213:
@@ -4507,20 +4652,20 @@ this.state = 215;
case 215:
//C
this.state = 216;
- //BA.debugLineNum = 913;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 935;BA.debugLine="c2.Position = 0";
parent._c2.setPosition((int) (0));
- //BA.debugLineNum = 914;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))";
-parent.__c.LogImpl("714156139",parent._c2.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 936;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))";
+parent.__c.LogImpl("414221677",parent._c2.GetString("PE_CANT"),0);
if (true) break;
case 216:
//C
this.state = 217;
;
- //BA.debugLineNum = 916;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 938;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_des)})));
- //BA.debugLineNum = 917;BA.debugLine="If c3.RowCount > 0 Then";
+ //BA.debugLineNum = 939;BA.debugLine="If c3.RowCount > 0 Then";
if (true) break;
case 217:
@@ -4533,22 +4678,22 @@ this.state = 219;
case 219:
//C
this.state = 220;
- //BA.debugLineNum = 918;BA.debugLine="c3.Position = 0";
+ //BA.debugLineNum = 940;BA.debugLine="c3.Position = 0";
_c3.setPosition((int) (0));
- //BA.debugLineNum = 919;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))";
-parent.__c.LogImpl("714156144",_c3.GetString("PE_CANT"),0);
- //BA.debugLineNum = 920;BA.debugLine="Private rec As Float = (des * c2.GetString(\"";
+ //BA.debugLineNum = 941;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))";
+parent.__c.LogImpl("414221682",_c3.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 942;BA.debugLine="Private rec As Float = (des * c2.GetString(\"";
_rec = (float) ((_des*(double)(Double.parseDouble(parent._c2.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c3.GetString("PE_CANT"))));
- //BA.debugLineNum = 921;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))";
-parent.__c.LogImpl("714156146",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 922;BA.debugLine="Private cantres As Float = des + rec";
+ //BA.debugLineNum = 943;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))";
+parent.__c.LogImpl("414221684",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 944;BA.debugLine="Private cantres As Float = des + rec";
_cantres = (float) (_des+_rec);
- //BA.debugLineNum = 923;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))";
-parent.__c.LogImpl("714156148",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 924;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm";
+ //BA.debugLineNum = 945;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))";
+parent.__c.LogImpl("414221686",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 946;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm";
_c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU > ? and PE_COSTOU < ?",new String[]{BA.NumberToString(_des),BA.NumberToString(_cantres)})));
- //BA.debugLineNum = 925;BA.debugLine="If c5.RowCount > 0 Then";
+ //BA.debugLineNum = 947;BA.debugLine="If c5.RowCount > 0 Then";
if (true) break;
case 220:
@@ -4561,11 +4706,11 @@ this.state = 222;
case 222:
//C
this.state = 223;
- //BA.debugLineNum = 926;BA.debugLine="c5.Position = 0";
+ //BA.debugLineNum = 948;BA.debugLine="c5.Position = 0";
_c5.setPosition((int) (0));
- //BA.debugLineNum = 927;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))";
-parent.__c.LogImpl("714156152",_c5.GetString("PE_CANT"),0);
- //BA.debugLineNum = 928;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then";
+ //BA.debugLineNum = 949;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))";
+parent.__c.LogImpl("414221690",_c5.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 950;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then";
if (true) break;
case 223:
@@ -4580,10 +4725,10 @@ this.state = 235;
case 225:
//C
this.state = 226;
- //BA.debugLineNum = 929;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s";
+ //BA.debugLineNum = 951;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False)})));
- //BA.debugLineNum = 930;BA.debugLine="If c4.RowCount > 0 Then";
+ //BA.debugLineNum = 952;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;
case 226:
@@ -4596,14 +4741,14 @@ this.state = 228;
case 228:
//C
this.state = 229;
- //BA.debugLineNum = 931;BA.debugLine="For i = 0 To c4.RowCount -1";
+ //BA.debugLineNum = 953;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;
case 229:
//for
this.state = 232;
-step307 = 1;
-limit307 = (int) (_c4.getRowCount()-1);
+step312 = 1;
+limit312 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 560;
if (true) break;
@@ -4611,27 +4756,27 @@ if (true) break;
case 560:
//C
this.state = 232;
-if ((step307 > 0 && _i <= limit307) || (step307 < 0 && _i >= limit307)) this.state = 231;
+if ((step312 > 0 && _i <= limit312) || (step312 < 0 && _i >= limit312)) this.state = 231;
if (true) break;
case 561:
//C
this.state = 560;
-_i = ((int)(0 + _i + step307)) ;
+_i = ((int)(0 + _i + step312)) ;
if (true) break;
case 231:
//C
this.state = 561;
- //BA.debugLineNum = 932;BA.debugLine="c4.Position = i";
+ //BA.debugLineNum = 954;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
- //BA.debugLineNum = 933;BA.debugLine="Private recalculo As Float = c4.GetStrin";
+ //BA.debugLineNum = 955;BA.debugLine="Private recalculo As Float = c4.GetStrin";
_recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False))));
- //BA.debugLineNum = 934;BA.debugLine="LogColor(recalculo,Colors.Blue)";
-parent.__c.LogImpl("714156159",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
- //BA.debugLineNum = 935;BA.debugLine="Private recalculototal As Float = c4.Get";
+ //BA.debugLineNum = 956;BA.debugLine="LogColor(recalculo,Colors.Blue)";
+parent.__c.LogImpl("414221697",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
+ //BA.debugLineNum = 957;BA.debugLine="Private recalculototal As Float = c4.Get";
_recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False))));
- //BA.debugLineNum = 937;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE";
+ //BA.debugLineNum = 959;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE";
parent._skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")}));
if (true) break;
if (true) break;
@@ -4646,17 +4791,17 @@ case 233:
//C
this.state = 248;
;
- //BA.debugLineNum = 940;BA.debugLine="c4.Close";
+ //BA.debugLineNum = 962;BA.debugLine="c4.Close";
_c4.Close();
if (true) break;
case 235:
//C
this.state = 236;
- //BA.debugLineNum = 942;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s";
+ //BA.debugLineNum = 964;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s";
_c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_cantres)})));
- //BA.debugLineNum = 943;BA.debugLine="If c6.RowCount > 0 Then";
+ //BA.debugLineNum = 965;BA.debugLine="If c6.RowCount > 0 Then";
if (true) break;
case 236:
@@ -4669,22 +4814,22 @@ this.state = 238;
case 238:
//C
this.state = 239;
- //BA.debugLineNum = 944;BA.debugLine="c6.Position = 0";
+ //BA.debugLineNum = 966;BA.debugLine="c6.Position = 0";
_c6.setPosition((int) (0));
- //BA.debugLineNum = 945;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))";
-parent.__c.LogImpl("714156170",_c6.GetString("PE_CANT"),0);
- //BA.debugLineNum = 946;BA.debugLine="Private rec1 As Float = (cantres * c5.Get";
+ //BA.debugLineNum = 967;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))";
+parent.__c.LogImpl("414221708",_c6.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 968;BA.debugLine="Private rec1 As Float = (cantres * c5.Get";
_rec1 = (float) ((_cantres*(double)(Double.parseDouble(_c5.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c6.GetString("PE_CANT"))));
- //BA.debugLineNum = 947;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))";
-parent.__c.LogImpl("714156172",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 948;BA.debugLine="Private cantres1 As Float = cantres + rec";
+ //BA.debugLineNum = 969;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))";
+parent.__c.LogImpl("414221710",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 970;BA.debugLine="Private cantres1 As Float = cantres + rec";
_cantres1 = (float) (_cantres+_rec1);
- //BA.debugLineNum = 949;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))";
-parent.__c.LogImpl("714156174",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 950;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.";
+ //BA.debugLineNum = 971;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))";
+parent.__c.LogImpl("414221712",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 972;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False)})));
- //BA.debugLineNum = 951;BA.debugLine="If c4.RowCount > 0 Then";
+ //BA.debugLineNum = 973;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;
case 239:
@@ -4697,14 +4842,14 @@ this.state = 241;
case 241:
//C
this.state = 242;
- //BA.debugLineNum = 952;BA.debugLine="For i = 0 To c4.RowCount -1";
+ //BA.debugLineNum = 974;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;
case 242:
//for
this.state = 245;
-step327 = 1;
-limit327 = (int) (_c4.getRowCount()-1);
+step332 = 1;
+limit332 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 562;
if (true) break;
@@ -4712,27 +4857,27 @@ if (true) break;
case 562:
//C
this.state = 245;
-if ((step327 > 0 && _i <= limit327) || (step327 < 0 && _i >= limit327)) this.state = 244;
+if ((step332 > 0 && _i <= limit332) || (step332 < 0 && _i >= limit332)) this.state = 244;
if (true) break;
case 563:
//C
this.state = 562;
-_i = ((int)(0 + _i + step327)) ;
+_i = ((int)(0 + _i + step332)) ;
if (true) break;
case 244:
//C
this.state = 563;
- //BA.debugLineNum = 953;BA.debugLine="c4.Position = i";
+ //BA.debugLineNum = 975;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
- //BA.debugLineNum = 954;BA.debugLine="Private recalculo As Float = c4.GetStri";
+ //BA.debugLineNum = 976;BA.debugLine="Private recalculo As Float = c4.GetStri";
_recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False))));
- //BA.debugLineNum = 955;BA.debugLine="LogColor(recalculo,Colors.Blue)";
-parent.__c.LogImpl("714156180",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
- //BA.debugLineNum = 956;BA.debugLine="Private recalculototal As Float = c4.Ge";
+ //BA.debugLineNum = 977;BA.debugLine="LogColor(recalculo,Colors.Blue)";
+parent.__c.LogImpl("414221718",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
+ //BA.debugLineNum = 978;BA.debugLine="Private recalculototal As Float = c4.Ge";
_recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False))));
- //BA.debugLineNum = 958;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P";
+ //BA.debugLineNum = 980;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P";
parent._skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")}));
if (true) break;
if (true) break;
@@ -4747,7 +4892,7 @@ case 246:
//C
this.state = 247;
;
- //BA.debugLineNum = 961;BA.debugLine="c4.Close";
+ //BA.debugLineNum = 983;BA.debugLine="c4.Close";
_c4.Close();
if (true) break;
@@ -4785,20 +4930,20 @@ case 252:
//C
this.state = 301;
;
- //BA.debugLineNum = 968;BA.debugLine="c.Close";
+ //BA.debugLineNum = 990;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 969;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 991;BA.debugLine="c2.Close";
parent._c2.Close();
- //BA.debugLineNum = 970;BA.debugLine="c3.Close";
+ //BA.debugLineNum = 992;BA.debugLine="c3.Close";
_c3.Close();
if (true) break;
case 254:
//C
this.state = 255;
- //BA.debugLineNum = 972;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des";
+ //BA.debugLineNum = 994;BA.debugLine="Msgbox2Async(\"El cliente tiene derecho a un des";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El cliente tiene derecho a un descuento de 70 pesos por la compra de mas de $350 en productos participantes"),BA.ObjectToCharSequence("Descuento disponible"),"Aceptar","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
- //BA.debugLineNum = 973;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+ //BA.debugLineNum = 995;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, this, null);
this.state = 564;
return;
@@ -4807,7 +4952,7 @@ case 564:
this.state = 255;
_resultado = (Integer) result[0];
;
- //BA.debugLineNum = 974;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 996;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;
case 255:
@@ -4820,10 +4965,10 @@ this.state = 257;
case 257:
//C
this.state = 258;
- //BA.debugLineNum = 975;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 997;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.E";
parent._c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS PIEZAS FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 976;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 998;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 258:
@@ -4836,16 +4981,16 @@ this.state = 260;
case 260:
//C
this.state = 261;
- //BA.debugLineNum = 977;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 999;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 978;BA.debugLine="Private des As Float = NumberFormat2(70/c.Get";
+ //BA.debugLineNum = 1000;BA.debugLine="Private des As Float = NumberFormat2(70/c.Get";
_des = (float)(Double.parseDouble(parent.__c.NumberFormat2(70/(double)(double)(Double.parseDouble(parent._c.GetString("PIEZAS"))),(int) (0),(int) (5),(int) (5),parent.__c.False)));
- //BA.debugLineNum = 979;BA.debugLine="Log(des)";
-parent.__c.LogImpl("714156204",BA.NumberToString(_des),0);
- //BA.debugLineNum = 980;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 1001;BA.debugLine="Log(des)";
+parent.__c.LogImpl("414221742",BA.NumberToString(_des),0);
+ //BA.debugLineNum = 1002;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt";
parent._c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU < ?",new String[]{BA.NumberToString(_des)})));
- //BA.debugLineNum = 981;BA.debugLine="If c2.RowCount > 0 Then";
+ //BA.debugLineNum = 1003;BA.debugLine="If c2.RowCount > 0 Then";
if (true) break;
case 261:
@@ -4858,20 +5003,20 @@ this.state = 263;
case 263:
//C
this.state = 264;
- //BA.debugLineNum = 982;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 1004;BA.debugLine="c2.Position = 0";
parent._c2.setPosition((int) (0));
- //BA.debugLineNum = 983;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))";
-parent.__c.LogImpl("714156208",parent._c2.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 1005;BA.debugLine="Log(c2.GetString(\"PE_CANT\"))";
+parent.__c.LogImpl("414221746",parent._c2.GetString("PE_CANT"),0);
if (true) break;
case 264:
//C
this.state = 265;
;
- //BA.debugLineNum = 985;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 1007;BA.debugLine="Private c3 As Cursor = B4XPages.MainPage.skmt";
_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_des)})));
- //BA.debugLineNum = 986;BA.debugLine="If c3.RowCount > 0 Then";
+ //BA.debugLineNum = 1008;BA.debugLine="If c3.RowCount > 0 Then";
if (true) break;
case 265:
@@ -4884,22 +5029,22 @@ this.state = 267;
case 267:
//C
this.state = 268;
- //BA.debugLineNum = 987;BA.debugLine="c3.Position = 0";
+ //BA.debugLineNum = 1009;BA.debugLine="c3.Position = 0";
_c3.setPosition((int) (0));
- //BA.debugLineNum = 988;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))";
-parent.__c.LogImpl("714156213",_c3.GetString("PE_CANT"),0);
- //BA.debugLineNum = 989;BA.debugLine="Private rec As Float = (des * c2.GetString(\"";
+ //BA.debugLineNum = 1010;BA.debugLine="Log(c3.GetString(\"PE_CANT\"))";
+parent.__c.LogImpl("414221751",_c3.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 1011;BA.debugLine="Private rec As Float = (des * c2.GetString(\"";
_rec = (float) ((_des*(double)(Double.parseDouble(parent._c2.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c3.GetString("PE_CANT"))));
- //BA.debugLineNum = 990;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))";
-parent.__c.LogImpl("714156215",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 991;BA.debugLine="Private cantres As Float = des + rec";
+ //BA.debugLineNum = 1012;BA.debugLine="Log( NumberFormat2(rec,0,2,2,False))";
+parent.__c.LogImpl("414221753",parent.__c.NumberFormat2(_rec,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 1013;BA.debugLine="Private cantres As Float = des + rec";
_cantres = (float) (_des+_rec);
- //BA.debugLineNum = 992;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))";
-parent.__c.LogImpl("714156217",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 993;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm";
+ //BA.debugLineNum = 1014;BA.debugLine="Log( NumberFormat2(cantres,0,2,2,False))";
+parent.__c.LogImpl("414221755",parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 1015;BA.debugLine="Private c5 As Cursor = B4XPages.MainPage.skm";
_c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU > ? and PE_COSTOU < ?",new String[]{BA.NumberToString(_des),BA.NumberToString(_cantres)})));
- //BA.debugLineNum = 994;BA.debugLine="If c5.RowCount > 0 Then";
+ //BA.debugLineNum = 1016;BA.debugLine="If c5.RowCount > 0 Then";
if (true) break;
case 268:
@@ -4912,11 +5057,11 @@ this.state = 270;
case 270:
//C
this.state = 271;
- //BA.debugLineNum = 995;BA.debugLine="c5.Position = 0";
+ //BA.debugLineNum = 1017;BA.debugLine="c5.Position = 0";
_c5.setPosition((int) (0));
- //BA.debugLineNum = 996;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))";
-parent.__c.LogImpl("714156221",_c5.GetString("PE_CANT"),0);
- //BA.debugLineNum = 997;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then";
+ //BA.debugLineNum = 1018;BA.debugLine="Log(c5.GetString(\"PE_CANT\"))";
+parent.__c.LogImpl("414221759",_c5.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 1019;BA.debugLine="If c5.GetString(\"PE_CANT\") = \"0\" Then";
if (true) break;
case 271:
@@ -4931,10 +5076,10 @@ this.state = 283;
case 273:
//C
this.state = 274;
- //BA.debugLineNum = 998;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s";
+ //BA.debugLineNum = 1020;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.s";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False)})));
- //BA.debugLineNum = 999;BA.debugLine="If c4.RowCount > 0 Then";
+ //BA.debugLineNum = 1021;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;
case 274:
@@ -4947,14 +5092,14 @@ this.state = 276;
case 276:
//C
this.state = 277;
- //BA.debugLineNum = 1000;BA.debugLine="For i = 0 To c4.RowCount -1";
+ //BA.debugLineNum = 1022;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;
case 277:
//for
this.state = 280;
-step374 = 1;
-limit374 = (int) (_c4.getRowCount()-1);
+step379 = 1;
+limit379 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 565;
if (true) break;
@@ -4962,29 +5107,29 @@ if (true) break;
case 565:
//C
this.state = 280;
-if ((step374 > 0 && _i <= limit374) || (step374 < 0 && _i >= limit374)) this.state = 279;
+if ((step379 > 0 && _i <= limit379) || (step379 < 0 && _i >= limit379)) this.state = 279;
if (true) break;
case 566:
//C
this.state = 565;
-_i = ((int)(0 + _i + step374)) ;
+_i = ((int)(0 + _i + step379)) ;
if (true) break;
case 279:
//C
this.state = 566;
- //BA.debugLineNum = 1001;BA.debugLine="c4.Position = i";
+ //BA.debugLineNum = 1023;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
- //BA.debugLineNum = 1002;BA.debugLine="Private recalculo As Float = c4.GetStrin";
+ //BA.debugLineNum = 1024;BA.debugLine="Private recalculo As Float = c4.GetStrin";
_recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres,(int) (0),(int) (2),(int) (2),parent.__c.False))));
- //BA.debugLineNum = 1003;BA.debugLine="LogColor(recalculo,Colors.Blue)";
-parent.__c.LogImpl("714156228",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
- //BA.debugLineNum = 1004;BA.debugLine="Private recalculototal As Float = c4.Get";
+ //BA.debugLineNum = 1025;BA.debugLine="LogColor(recalculo,Colors.Blue)";
+parent.__c.LogImpl("414221766",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
+ //BA.debugLineNum = 1026;BA.debugLine="Private recalculototal As Float = c4.Get";
_recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False))));
- //BA.debugLineNum = 1005;BA.debugLine="Log(recalculo&\"|||||\"&recalculototal&\"||";
-parent.__c.LogImpl("714156230",BA.NumberToString(_recalculo)+"|||||"+BA.NumberToString(_recalculototal)+"|||||||||||||||||||"+_c4.GetString("PE_PROID"),0);
- //BA.debugLineNum = 1006;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE";
+ //BA.debugLineNum = 1027;BA.debugLine="Log(recalculo&\"|||||\"&recalculototal&\"||";
+parent.__c.LogImpl("414221768",BA.NumberToString(_recalculo)+"|||||"+BA.NumberToString(_recalculototal)+"|||||||||||||||||||"+_c4.GetString("PE_PROID"),0);
+ //BA.debugLineNum = 1028;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE";
parent._skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")}));
if (true) break;
if (true) break;
@@ -4999,17 +5144,17 @@ case 281:
//C
this.state = 296;
;
- //BA.debugLineNum = 1009;BA.debugLine="c4.Close";
+ //BA.debugLineNum = 1031;BA.debugLine="c4.Close";
_c4.Close();
if (true) break;
case 283:
//C
this.state = 284;
- //BA.debugLineNum = 1011;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s";
+ //BA.debugLineNum = 1033;BA.debugLine="Private c6 As Cursor = B4XPages.MainPage.s";
_c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(PE_CANT) AS PE_CANT FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{BA.NumberToString(_cantres)})));
- //BA.debugLineNum = 1012;BA.debugLine="If c6.RowCount > 0 Then";
+ //BA.debugLineNum = 1034;BA.debugLine="If c6.RowCount > 0 Then";
if (true) break;
case 284:
@@ -5022,22 +5167,22 @@ this.state = 286;
case 286:
//C
this.state = 287;
- //BA.debugLineNum = 1013;BA.debugLine="c6.Position = 0";
+ //BA.debugLineNum = 1035;BA.debugLine="c6.Position = 0";
_c6.setPosition((int) (0));
- //BA.debugLineNum = 1014;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))";
-parent.__c.LogImpl("714156239",_c6.GetString("PE_CANT"),0);
- //BA.debugLineNum = 1015;BA.debugLine="Private rec1 As Float = (cantres * c5.Get";
+ //BA.debugLineNum = 1036;BA.debugLine="Log(c6.GetString(\"PE_CANT\"))";
+parent.__c.LogImpl("414221777",_c6.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 1037;BA.debugLine="Private rec1 As Float = (cantres * c5.Get";
_rec1 = (float) ((_cantres*(double)(Double.parseDouble(_c5.GetString("PE_CANT"))))/(double)(double)(Double.parseDouble(_c6.GetString("PE_CANT"))));
- //BA.debugLineNum = 1016;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))";
-parent.__c.LogImpl("714156241",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 1017;BA.debugLine="Private cantres1 As Float = cantres + rec";
+ //BA.debugLineNum = 1038;BA.debugLine="Log( NumberFormat2(rec1,0,2,2,False))";
+parent.__c.LogImpl("414221779",parent.__c.NumberFormat2(_rec1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 1039;BA.debugLine="Private cantres1 As Float = cantres + rec";
_cantres1 = (float) (_cantres+_rec1);
- //BA.debugLineNum = 1018;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))";
-parent.__c.LogImpl("714156243",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
- //BA.debugLineNum = 1019;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.";
+ //BA.debugLineNum = 1040;BA.debugLine="Log( NumberFormat2(cantres1,0,2,2,False))";
+parent.__c.LogImpl("414221781",parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False),0);
+ //BA.debugLineNum = 1041;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_COSTOU >= ?",new String[]{parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False)})));
- //BA.debugLineNum = 1020;BA.debugLine="If c4.RowCount > 0 Then";
+ //BA.debugLineNum = 1042;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;
case 287:
@@ -5050,14 +5195,14 @@ this.state = 289;
case 289:
//C
this.state = 290;
- //BA.debugLineNum = 1021;BA.debugLine="For i = 0 To c4.RowCount -1";
+ //BA.debugLineNum = 1043;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;
case 290:
//for
this.state = 293;
-step395 = 1;
-limit395 = (int) (_c4.getRowCount()-1);
+step400 = 1;
+limit400 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 567;
if (true) break;
@@ -5065,27 +5210,27 @@ if (true) break;
case 567:
//C
this.state = 293;
-if ((step395 > 0 && _i <= limit395) || (step395 < 0 && _i >= limit395)) this.state = 292;
+if ((step400 > 0 && _i <= limit400) || (step400 < 0 && _i >= limit400)) this.state = 292;
if (true) break;
case 568:
//C
this.state = 567;
-_i = ((int)(0 + _i + step395)) ;
+_i = ((int)(0 + _i + step400)) ;
if (true) break;
case 292:
//C
this.state = 568;
- //BA.debugLineNum = 1022;BA.debugLine="c4.Position = i";
+ //BA.debugLineNum = 1044;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
- //BA.debugLineNum = 1023;BA.debugLine="Private recalculo As Float = c4.GetStri";
+ //BA.debugLineNum = 1045;BA.debugLine="Private recalculo As Float = c4.GetStri";
_recalculo = (float) ((double)(Double.parseDouble(_c4.GetString("PE_COSTOU")))-(double)(Double.parseDouble(parent.__c.NumberFormat2(_cantres1,(int) (0),(int) (2),(int) (2),parent.__c.False))));
- //BA.debugLineNum = 1024;BA.debugLine="LogColor(recalculo,Colors.Blue)";
-parent.__c.LogImpl("714156249",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
- //BA.debugLineNum = 1025;BA.debugLine="Private recalculototal As Float = c4.Ge";
+ //BA.debugLineNum = 1046;BA.debugLine="LogColor(recalculo,Colors.Blue)";
+parent.__c.LogImpl("414221787",BA.NumberToString(_recalculo),parent.__c.Colors.Blue);
+ //BA.debugLineNum = 1047;BA.debugLine="Private recalculototal As Float = c4.Ge";
_recalculototal = (float) ((double)(Double.parseDouble(_c4.GetString("PE_CANT")))*(double)(Double.parseDouble(parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False))));
- //BA.debugLineNum = 1027;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P";
+ //BA.debugLineNum = 1049;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set P";
parent._skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{parent.__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),parent.__c.False),parent.__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),parent.__c.False),_c4.GetString("PE_PROID")}));
if (true) break;
if (true) break;
@@ -5100,7 +5245,7 @@ case 294:
//C
this.state = 295;
;
- //BA.debugLineNum = 1030;BA.debugLine="c4.Close";
+ //BA.debugLineNum = 1052;BA.debugLine="c4.Close";
_c4.Close();
if (true) break;
@@ -5138,15 +5283,15 @@ case 300:
//C
this.state = 301;
;
- //BA.debugLineNum = 1037;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1059;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 1038;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 1060;BA.debugLine="c2.Close";
parent._c2.Close();
- //BA.debugLineNum = 1039;BA.debugLine="c3.Close";
+ //BA.debugLineNum = 1061;BA.debugLine="c3.Close";
_c3.Close();
if (true) break;
;
- //BA.debugLineNum = 1041;BA.debugLine="If Not(Subs.traemontoprod) Then";
+ //BA.debugLineNum = 1063;BA.debugLine="If Not(Subs.traemontoprod) Then";
case 301:
//if
@@ -5160,7 +5305,7 @@ this.state = 319;
case 303:
//C
this.state = 304;
- //BA.debugLineNum = 1042;BA.debugLine="If Not(Subs.traemontoprod2) Then";
+ //BA.debugLineNum = 1064;BA.debugLine="If Not(Subs.traemontoprod2) Then";
if (true) break;
case 304:
@@ -5175,10 +5320,10 @@ this.state = 316;
case 306:
//C
this.state = 307;
- //BA.debugLineNum = 1043;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.skmt.";
+ //BA.debugLineNum = 1065;BA.debugLine="Private c4 As Cursor = B4XPages.MainPage.skmt.";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND (PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"null"})));
- //BA.debugLineNum = 1044;BA.debugLine="If c4.RowCount > 0 Then";
+ //BA.debugLineNum = 1066;BA.debugLine="If c4.RowCount > 0 Then";
if (true) break;
case 307:
@@ -5191,14 +5336,14 @@ this.state = 309;
case 309:
//C
this.state = 310;
- //BA.debugLineNum = 1045;BA.debugLine="For i = 0 To c4.RowCount -1";
+ //BA.debugLineNum = 1067;BA.debugLine="For i = 0 To c4.RowCount -1";
if (true) break;
case 310:
//for
this.state = 313;
-step418 = 1;
-limit418 = (int) (_c4.getRowCount()-1);
+step423 = 1;
+limit423 = (int) (_c4.getRowCount()-1);
_i = (int) (0) ;
this.state = 569;
if (true) break;
@@ -5206,21 +5351,21 @@ if (true) break;
case 569:
//C
this.state = 313;
-if ((step418 > 0 && _i <= limit418) || (step418 < 0 && _i >= limit418)) this.state = 312;
+if ((step423 > 0 && _i <= limit423) || (step423 < 0 && _i >= limit423)) this.state = 312;
if (true) break;
case 570:
//C
this.state = 569;
-_i = ((int)(0 + _i + step418)) ;
+_i = ((int)(0 + _i + step423)) ;
if (true) break;
case 312:
//C
this.state = 570;
- //BA.debugLineNum = 1046;BA.debugLine="c4.Position = i";
+ //BA.debugLineNum = 1068;BA.debugLine="c4.Position = i";
_c4.setPosition(_i);
- //BA.debugLineNum = 1050;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
+ //BA.debugLineNum = 1072;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ? WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"","",_c4.GetString("PE_PROID")}));
if (true) break;
if (true) break;
@@ -5263,10 +5408,10 @@ case 321:
//C
this.state = 322;
;
- //BA.debugLineNum = 1061;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ";
+ //BA.debugLineNum = 1083;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{"","null"})));
- //BA.debugLineNum = 1063;BA.debugLine="If s3.RowCount > 0 Then";
+ //BA.debugLineNum = 1085;BA.debugLine="If s3.RowCount > 0 Then";
if (true) break;
case 322:
@@ -5281,18 +5426,18 @@ this.state = 372;
case 324:
//C
this.state = 325;
- //BA.debugLineNum = 1065;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
+ //BA.debugLineNum = 1087;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1066;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iFNU";
+ //BA.debugLineNum = 1088;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iFNU";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"})));
- //BA.debugLineNum = 1067;BA.debugLine="s.Position=0";
+ //BA.debugLineNum = 1089;BA.debugLine="s.Position=0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 1068;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 1090;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"","null"})));
- //BA.debugLineNum = 1069;BA.debugLine="s5.Position = 0";
+ //BA.debugLineNum = 1091;BA.debugLine="s5.Position = 0";
_s5.setPosition((int) (0));
- //BA.debugLineNum = 1070;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1092;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 325:
@@ -5305,37 +5450,37 @@ this.state = 327;
case 327:
//C
this.state = 328;
- //BA.debugLineNum = 1071;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1093;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 1072;BA.debugLine="Log(\">>>>>> \" & c.GetString(\"CAT_CL_CODIGO\"))";
-parent.__c.LogImpl("714156297",">>>>>> "+parent._c.GetString("CAT_CL_CODIGO"),0);
- //BA.debugLineNum = 1073;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
+ //BA.debugLineNum = 1094;BA.debugLine="Log(\">>>>>> \" & c.GetString(\"CAT_CL_CODIGO\"))";
+parent.__c.LogImpl("414221835",">>>>>> "+parent._c.GetString("CAT_CL_CODIGO"),0);
+ //BA.debugLineNum = 1095;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
parent._la_cuenta.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO")));
- //BA.debugLineNum = 1074;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO";
+ //BA.debugLineNum = 1096;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO";
parent._la_cuenta_gallina.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO")));
- //BA.debugLineNum = 1075;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
+ //BA.debugLineNum = 1097;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
parent._la_nombre.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE")));
- //BA.debugLineNum = 1076;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \"";
+ //BA.debugLineNum = 1098;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \"";
parent._la_calle.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE")+" "+parent._c.GetString("CAT_CL_NOEXT")));
- //BA.debugLineNum = 1077;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
+ //BA.debugLineNum = 1099;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
parent._la_col.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_COLONIA")));
- //BA.debugLineNum = 1078;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
+ //BA.debugLineNum = 1100;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
parent._la_edo.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_EDO")));
- //BA.debugLineNum = 1079;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
+ //BA.debugLineNum = 1101;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
parent._l_entre1.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE1")));
- //BA.debugLineNum = 1080;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
+ //BA.debugLineNum = 1102;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
parent._l_entre2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE2")));
- //BA.debugLineNum = 1081;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
+ //BA.debugLineNum = 1103;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
parent._l_atiende.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENDE1")));
- //BA.debugLineNum = 1082;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\"";
+ //BA.debugLineNum = 1104;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\"";
parent._l_atiende2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENTE2")));
- //BA.debugLineNum = 1083;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")";
+ //BA.debugLineNum = 1105;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")";
parent._telefono = parent._c.GetString("CAT_CL_TELEFONO");
- //BA.debugLineNum = 1084;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")";
+ //BA.debugLineNum = 1106;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")";
parent._label19.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_TELEFONO")));
- //BA.debugLineNum = 1085;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '####";
+ //BA.debugLineNum = 1107;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '####";
parent._bcredito = parent._c.GetString("CAT_CL_BCREDITO");
- //BA.debugLineNum = 1087;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
+ //BA.debugLineNum = 1109;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
if (true) break;
case 328:
@@ -5350,14 +5495,14 @@ this.state = 332;
case 330:
//C
this.state = 333;
- //BA.debugLineNum = 1088;BA.debugLine="l_total.Text = 0";
+ //BA.debugLineNum = 1110;BA.debugLine="l_total.Text = 0";
parent._l_total.setText(BA.ObjectToCharSequence(0));
if (true) break;
case 332:
//C
this.state = 333;
- //BA.debugLineNum = 1090;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TOTA";
+ //BA.debugLineNum = 1112;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TOTA";
parent._l_total.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
if (true) break;
@@ -5365,11 +5510,11 @@ case 333:
//C
this.state = 334;
;
- //BA.debugLineNum = 1092;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s5.";
+ //BA.debugLineNum = 1114;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s5.";
parent._total_cliente = BA.NumberToString((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE"))));
- //BA.debugLineNum = 1093;BA.debugLine="m_lat = \"0\"";
+ //BA.debugLineNum = 1115;BA.debugLine="m_lat = \"0\"";
parent._m_lat = "0";
- //BA.debugLineNum = 1094;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =";
+ //BA.debugLineNum = 1116;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =";
if (true) break;
case 334:
@@ -5389,7 +5534,7 @@ case 339:
//C
this.state = 340;
;
- //BA.debugLineNum = 1095;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\"";
+ //BA.debugLineNum = 1117;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\"";
if (true) break;
case 340:
@@ -5409,9 +5554,9 @@ case 345:
//C
this.state = 346;
;
- //BA.debugLineNum = 1096;BA.debugLine="m_lon = \"0\"";
+ //BA.debugLineNum = 1118;BA.debugLine="m_lon = \"0\"";
parent._m_lon = "0";
- //BA.debugLineNum = 1097;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon";
+ //BA.debugLineNum = 1119;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon";
if (true) break;
case 346:
@@ -5431,7 +5576,7 @@ case 351:
//C
this.state = 352;
;
- //BA.debugLineNum = 1098;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\"";
+ //BA.debugLineNum = 1120;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\"";
if (true) break;
case 352:
@@ -5451,9 +5596,9 @@ case 357:
//C
this.state = 358;
;
- //BA.debugLineNum = 1099;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")";
+ //BA.debugLineNum = 1121;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")";
parent._la_ruta = parent._c.GetString("CAT_CL_RUTA");
- //BA.debugLineNum = 1101;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\"";
+ //BA.debugLineNum = 1123;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\"";
if (true) break;
case 358:
@@ -5468,11 +5613,11 @@ this.state = 368;
case 360:
//C
this.state = 361;
- //BA.debugLineNum = 1102;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\"";
+ //BA.debugLineNum = 1124;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\"";
parent._l_qr.setText(BA.ObjectToCharSequence("SIN CODIGO"));
- //BA.debugLineNum = 1103;BA.debugLine="L_QR.TextColor = Colors.Red";
+ //BA.debugLineNum = 1125;BA.debugLine="L_QR.TextColor = Colors.Red";
parent._l_qr.setTextColor(parent.__c.Colors.Red);
- //BA.debugLineNum = 1104;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM";
+ //BA.debugLineNum = 1126;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM";
if (true) break;
case 361:
@@ -5492,18 +5637,18 @@ case 366:
//C
this.state = 369;
;
- //BA.debugLineNum = 1105;BA.debugLine="BT_QR.Visible = True";
+ //BA.debugLineNum = 1127;BA.debugLine="BT_QR.Visible = True";
parent._bt_qr.setVisible(parent.__c.True);
if (true) break;
case 368:
//C
this.state = 369;
- //BA.debugLineNum = 1107;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC";
+ //BA.debugLineNum = 1129;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC";
parent._l_qr.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NUM_SERIEFISICO")));
- //BA.debugLineNum = 1108;BA.debugLine="L_QR.TextColor = Colors.Blue";
+ //BA.debugLineNum = 1130;BA.debugLine="L_QR.TextColor = Colors.Blue";
parent._l_qr.setTextColor(parent.__c.Colors.Blue);
- //BA.debugLineNum = 1109;BA.debugLine="BT_QR.Visible = False";
+ //BA.debugLineNum = 1131;BA.debugLine="BT_QR.Visible = False";
parent._bt_qr.setVisible(parent.__c.False);
if (true) break;
@@ -5517,22 +5662,22 @@ case 370:
//C
this.state = 419;
;
- //BA.debugLineNum = 1112;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1134;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 1113;BA.debugLine="s.Close";
+ //BA.debugLineNum = 1135;BA.debugLine="s.Close";
parent._s.Close();
if (true) break;
case 372:
//C
this.state = 373;
- //BA.debugLineNum = 1116;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
+ //BA.debugLineNum = 1138;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1117;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p";
+ //BA.debugLineNum = 1139;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 1118;BA.debugLine="s.Position=0";
+ //BA.debugLineNum = 1140;BA.debugLine="s.Position=0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 1119;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1141;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 373:
@@ -5545,35 +5690,35 @@ this.state = 375;
case 375:
//C
this.state = 376;
- //BA.debugLineNum = 1120;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 1142;BA.debugLine="c.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 1121;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
+ //BA.debugLineNum = 1143;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
parent._la_cuenta.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO")));
- //BA.debugLineNum = 1122;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO";
+ //BA.debugLineNum = 1144;BA.debugLine="la_cuenta_gallina.Text = c.GetString(\"CAT_CL_CO";
parent._la_cuenta_gallina.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO")));
- //BA.debugLineNum = 1123;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
+ //BA.debugLineNum = 1145;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
parent._la_nombre.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE")));
- //BA.debugLineNum = 1124;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \"";
+ //BA.debugLineNum = 1146;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \"";
parent._la_calle.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE")+" "+parent._c.GetString("CAT_CL_NOEXT")));
- //BA.debugLineNum = 1125;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
+ //BA.debugLineNum = 1147;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
parent._la_col.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_COLONIA")));
- //BA.debugLineNum = 1126;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
+ //BA.debugLineNum = 1148;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
parent._la_edo.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_EDO")));
- //BA.debugLineNum = 1127;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
+ //BA.debugLineNum = 1149;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
parent._l_entre1.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE1")));
- //BA.debugLineNum = 1128;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
+ //BA.debugLineNum = 1150;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
parent._l_entre2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE2")));
- //BA.debugLineNum = 1129;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
+ //BA.debugLineNum = 1151;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
parent._l_atiende.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENDE1")));
- //BA.debugLineNum = 1130;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\"";
+ //BA.debugLineNum = 1152;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\"";
parent._l_atiende2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENTE2")));
- //BA.debugLineNum = 1131;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")";
+ //BA.debugLineNum = 1153;BA.debugLine="telefono = c.GetString(\"CAT_CL_TELEFONO\")";
parent._telefono = parent._c.GetString("CAT_CL_TELEFONO");
- //BA.debugLineNum = 1132;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")";
+ //BA.debugLineNum = 1154;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")";
parent._label19.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_TELEFONO")));
- //BA.debugLineNum = 1133;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '###";
+ //BA.debugLineNum = 1155;BA.debugLine="BCREDITO = c.GetString(\"CAT_CL_BCREDITO\") '###";
parent._bcredito = parent._c.GetString("CAT_CL_BCREDITO");
- //BA.debugLineNum = 1136;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
+ //BA.debugLineNum = 1158;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
if (true) break;
case 376:
@@ -5588,14 +5733,14 @@ this.state = 380;
case 378:
//C
this.state = 381;
- //BA.debugLineNum = 1137;BA.debugLine="l_total.Text = 0";
+ //BA.debugLineNum = 1159;BA.debugLine="l_total.Text = 0";
parent._l_total.setText(BA.ObjectToCharSequence(0));
if (true) break;
case 380:
//C
this.state = 381;
- //BA.debugLineNum = 1139;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOTAL";
+ //BA.debugLineNum = 1161;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOTAL";
parent._l_total.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
if (true) break;
@@ -5603,11 +5748,11 @@ case 381:
//C
this.state = 382;
;
- //BA.debugLineNum = 1141;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
+ //BA.debugLineNum = 1163;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
parent._total_cliente = parent._s.GetString("TOTAL_CLIE");
- //BA.debugLineNum = 1142;BA.debugLine="m_lat = \"0\"";
+ //BA.debugLineNum = 1164;BA.debugLine="m_lat = \"0\"";
parent._m_lat = "0";
- //BA.debugLineNum = 1143;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =";
+ //BA.debugLineNum = 1165;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =";
if (true) break;
case 382:
@@ -5627,7 +5772,7 @@ case 387:
//C
this.state = 388;
;
- //BA.debugLineNum = 1144;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\"";
+ //BA.debugLineNum = 1166;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\"";
if (true) break;
case 388:
@@ -5647,9 +5792,9 @@ case 393:
//C
this.state = 394;
;
- //BA.debugLineNum = 1145;BA.debugLine="m_lon = \"0\"";
+ //BA.debugLineNum = 1167;BA.debugLine="m_lon = \"0\"";
parent._m_lon = "0";
- //BA.debugLineNum = 1146;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon";
+ //BA.debugLineNum = 1168;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon";
if (true) break;
case 394:
@@ -5669,7 +5814,7 @@ case 399:
//C
this.state = 400;
;
- //BA.debugLineNum = 1147;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\"";
+ //BA.debugLineNum = 1169;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\"";
if (true) break;
case 400:
@@ -5689,9 +5834,9 @@ case 405:
//C
this.state = 406;
;
- //BA.debugLineNum = 1148;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")";
+ //BA.debugLineNum = 1170;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")";
parent._la_ruta = parent._c.GetString("CAT_CL_RUTA");
- //BA.debugLineNum = 1150;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\"";
+ //BA.debugLineNum = 1172;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\"";
if (true) break;
case 406:
@@ -5706,11 +5851,11 @@ this.state = 416;
case 408:
//C
this.state = 409;
- //BA.debugLineNum = 1151;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\"";
+ //BA.debugLineNum = 1173;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\"";
parent._l_qr.setText(BA.ObjectToCharSequence("SIN CODIGO"));
- //BA.debugLineNum = 1152;BA.debugLine="L_QR.TextColor = Colors.Red";
+ //BA.debugLineNum = 1174;BA.debugLine="L_QR.TextColor = Colors.Red";
parent._l_qr.setTextColor(parent.__c.Colors.Red);
- //BA.debugLineNum = 1153;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM";
+ //BA.debugLineNum = 1175;BA.debugLine="If ALMACEN <> \"32\" And ALMACEN <> \"33\" And ALM";
if (true) break;
case 409:
@@ -5730,18 +5875,18 @@ case 414:
//C
this.state = 417;
;
- //BA.debugLineNum = 1154;BA.debugLine="BT_QR.Visible = True";
+ //BA.debugLineNum = 1176;BA.debugLine="BT_QR.Visible = True";
parent._bt_qr.setVisible(parent.__c.True);
if (true) break;
case 416:
//C
this.state = 417;
- //BA.debugLineNum = 1156;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC";
+ //BA.debugLineNum = 1178;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISIC";
parent._l_qr.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NUM_SERIEFISICO")));
- //BA.debugLineNum = 1157;BA.debugLine="L_QR.TextColor = Colors.Blue";
+ //BA.debugLineNum = 1179;BA.debugLine="L_QR.TextColor = Colors.Blue";
parent._l_qr.setTextColor(parent.__c.Colors.Blue);
- //BA.debugLineNum = 1158;BA.debugLine="BT_QR.Visible = False";
+ //BA.debugLineNum = 1180;BA.debugLine="BT_QR.Visible = False";
parent._bt_qr.setVisible(parent.__c.False);
if (true) break;
@@ -5755,9 +5900,9 @@ case 418:
//C
this.state = 419;
;
- //BA.debugLineNum = 1161;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1183;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 1162;BA.debugLine="s.Close";
+ //BA.debugLineNum = 1184;BA.debugLine="s.Close";
parent._s.Close();
if (true) break;
@@ -5765,11 +5910,11 @@ case 419:
//C
this.state = 420;
;
- //BA.debugLineNum = 1166;BA.debugLine="Starter.idCliente = la_cuenta.text";
+ //BA.debugLineNum = 1188;BA.debugLine="Starter.idCliente = la_cuenta.text";
parent._starter._idcliente /*String*/ = parent._la_cuenta.getText();
- //BA.debugLineNum = 1167;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CAT_";
+ //BA.debugLineNum = 1189;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CAT_";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'")));
- //BA.debugLineNum = 1168;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1190;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 420:
@@ -5782,9 +5927,9 @@ this.state = 422;
case 422:
//C
this.state = 423;
- //BA.debugLineNum = 1169;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1191;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 1170;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\")";
+ //BA.debugLineNum = 1192;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\")";
_geo = parent._c.GetString("CAT_VA_VALOR");
if (true) break;
@@ -5792,9 +5937,9 @@ case 423:
//C
this.state = 424;
;
- //BA.debugLineNum = 1172;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1194;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 1174;BA.debugLine="If geo = \"0\" Then";
+ //BA.debugLineNum = 1196;BA.debugLine="If geo = \"0\" Then";
if (true) break;
case 424:
@@ -5809,14 +5954,14 @@ this.state = 438;
case 426:
//C
this.state = 427;
- //BA.debugLineNum = 1175;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1197;BA.debugLine="gest.Visible = True";
parent._gest.setVisible(parent.__c.True);
- //BA.debugLineNum = 1176;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1198;BA.debugLine="Tels.Visible = True";
parent._tels.setVisible(parent.__c.True);
- //BA.debugLineNum = 1177;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 1199;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1178;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1200;BA.debugLine="If future.RowCount > 0 Then";
if (true) break;
case 427:
@@ -5829,9 +5974,9 @@ this.state = 429;
case 429:
//C
this.state = 430;
- //BA.debugLineNum = 1179;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1201;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1180;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1202;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (true) break;
case 430:
@@ -5846,14 +5991,14 @@ this.state = 434;
case 432:
//C
this.state = 435;
- //BA.debugLineNum = 1181;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 1203;BA.debugLine="b_preventa2.Visible = True";
parent._b_preventa2.setVisible(parent.__c.True);
if (true) break;
case 434:
//C
this.state = 435;
- //BA.debugLineNum = 1183;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1205;BA.debugLine="b_preventa2.Visible = False";
parent._b_preventa2.setVisible(parent.__c.False);
if (true) break;
@@ -5867,20 +6012,20 @@ case 436:
//C
this.state = 443;
;
- //BA.debugLineNum = 1187;BA.debugLine="precision = \"1\"";
+ //BA.debugLineNum = 1209;BA.debugLine="precision = \"1\"";
parent._precision = "1";
if (true) break;
case 438:
//C
this.state = 439;
- //BA.debugLineNum = 1190;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 1212;BA.debugLine="gest.Visible = False";
parent._gest.setVisible(parent.__c.False);
- //BA.debugLineNum = 1191;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1213;BA.debugLine="b_preventa2.Visible = False";
parent._b_preventa2.setVisible(parent.__c.False);
- //BA.debugLineNum = 1192;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1214;BA.debugLine="Tels.Visible = False";
parent._tels.setVisible(parent.__c.False);
- //BA.debugLineNum = 1193;BA.debugLine="If b_Inicio_Fin_venta.IsInitialized Then";
+ //BA.debugLineNum = 1215;BA.debugLine="If b_Inicio_Fin_venta.IsInitialized Then";
if (true) break;
case 439:
@@ -5893,7 +6038,7 @@ this.state = 441;
case 441:
//C
this.state = 442;
- //BA.debugLineNum = 1195;BA.debugLine="b_Inicio_Fin_venta.Visible = False";
+ //BA.debugLineNum = 1217;BA.debugLine="b_Inicio_Fin_venta.Visible = False";
parent._b_inicio_fin_venta.setVisible(parent.__c.False);
if (true) break;
@@ -5907,11 +6052,11 @@ case 443:
//C
this.state = 444;
;
- //BA.debugLineNum = 1199;BA.debugLine="gest.Typeface =Typeface.CreateNew(Typeface.FONTAW";
+ //BA.debugLineNum = 1221;BA.debugLine="gest.Typeface =Typeface.CreateNew(Typeface.FONTAW";
parent._gest.setTypeface(parent.__c.Typeface.CreateNew(parent.__c.Typeface.getFONTAWESOME(),parent.__c.Typeface.STYLE_BOLD));
- //BA.debugLineNum = 1200;BA.debugLine="gest.Text = \" Preventa\"";
+ //BA.debugLineNum = 1222;BA.debugLine="gest.Text = \" Preventa\"";
parent._gest.setText(BA.ObjectToCharSequence(" Preventa"));
- //BA.debugLineNum = 1201;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Then gest.Tex";
+ //BA.debugLineNum = 1223;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Then gest.Tex";
if (true) break;
case 444:
@@ -5931,7 +6076,7 @@ case 449:
//C
this.state = 450;
;
- //BA.debugLineNum = 1203;BA.debugLine="If la_cuenta.Text.trim = \"0\" Then gest.Text = \"Ca";
+ //BA.debugLineNum = 1225;BA.debugLine="If la_cuenta.Text.trim = \"0\" Then gest.Text = \"Ca";
if (true) break;
case 450:
@@ -5951,9 +6096,9 @@ case 455:
//C
this.state = 456;
;
- //BA.debugLineNum = 1205;BA.debugLine="Log(Subs.traeRuta)";
-parent.__c.LogImpl("714156430",parent._subs._traeruta /*String*/ (ba),0);
- //BA.debugLineNum = 1206;BA.debugLine="If Subs.hayPedido Then";
+ //BA.debugLineNum = 1227;BA.debugLine="Log(Subs.traeRuta)";
+parent.__c.LogImpl("414221968",parent._subs._traeruta /*String*/ (ba),0);
+ //BA.debugLineNum = 1228;BA.debugLine="If Subs.hayPedido Then";
if (true) break;
case 456:
@@ -5968,22 +6113,22 @@ this.state = 460;
case 458:
//C
this.state = 461;
- //BA.debugLineNum = 1207;BA.debugLine="B_IMP.Enabled = True";
+ //BA.debugLineNum = 1229;BA.debugLine="B_IMP.Enabled = True";
parent._b_imp.setEnabled(parent.__c.True);
- //BA.debugLineNum = 1208;BA.debugLine="b_enviarTicket.Enabled = False";
+ //BA.debugLineNum = 1230;BA.debugLine="b_enviarTicket.Enabled = False";
parent._b_enviarticket.setEnabled(parent.__c.False);
if (true) break;
case 460:
//C
this.state = 461;
- //BA.debugLineNum = 1210;BA.debugLine="B_IMP.Enabled = False";
+ //BA.debugLineNum = 1232;BA.debugLine="B_IMP.Enabled = False";
parent._b_imp.setEnabled(parent.__c.False);
- //BA.debugLineNum = 1211;BA.debugLine="b_enviarTicket.Enabled = False";
+ //BA.debugLineNum = 1233;BA.debugLine="b_enviarTicket.Enabled = False";
parent._b_enviarticket.setEnabled(parent.__c.False);
if (true) break;
;
- //BA.debugLineNum = 1214;BA.debugLine="If ALMACEN = 46 Or ALMACEN = 6 Then";
+ //BA.debugLineNum = 1236;BA.debugLine="If ALMACEN = 46 Or ALMACEN = 6 Then";
case 461:
//if
@@ -5997,9 +6142,9 @@ this.state = 477;
case 463:
//C
this.state = 464;
- //BA.debugLineNum = 1215;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IfNull(PL_BAN";
+ //BA.debugLineNum = 1237;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT IfNull(PL_BAN";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT IfNull(PL_BANDERA, 0) AS PL_BANDERA FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 1216;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1238;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 464:
@@ -6014,9 +6159,9 @@ this.state = 474;
case 466:
//C
this.state = 467;
- //BA.debugLineNum = 1217;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1239;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 1218;BA.debugLine="If c.GetString(\"PL_BANDERA\") = 0 Then";
+ //BA.debugLineNum = 1240;BA.debugLine="If c.GetString(\"PL_BANDERA\") = 0 Then";
if (true) break;
case 467:
@@ -6031,14 +6176,14 @@ this.state = 471;
case 469:
//C
this.state = 472;
- //BA.debugLineNum = 1219;BA.debugLine="btnPlanLealtad.Visible = True";
+ //BA.debugLineNum = 1241;BA.debugLine="btnPlanLealtad.Visible = True";
parent._btnplanlealtad.setVisible(parent.__c.True);
if (true) break;
case 471:
//C
this.state = 472;
- //BA.debugLineNum = 1221;BA.debugLine="btnPlanLealtad.Visible = False";
+ //BA.debugLineNum = 1243;BA.debugLine="btnPlanLealtad.Visible = False";
parent._btnplanlealtad.setVisible(parent.__c.False);
if (true) break;
@@ -6051,7 +6196,7 @@ this.state = 475;
case 474:
//C
this.state = 475;
- //BA.debugLineNum = 1224;BA.debugLine="btnPlanLealtad.Visible = True";
+ //BA.debugLineNum = 1246;BA.debugLine="btnPlanLealtad.Visible = True";
parent._btnplanlealtad.setVisible(parent.__c.True);
if (true) break;
@@ -6064,11 +6209,11 @@ this.state = 478;
case 477:
//C
this.state = 478;
- //BA.debugLineNum = 1227;BA.debugLine="btnPlanLealtad.Visible = False";
+ //BA.debugLineNum = 1249;BA.debugLine="btnPlanLealtad.Visible = False";
parent._btnplanlealtad.setVisible(parent.__c.False);
if (true) break;
;
- //BA.debugLineNum = 1238;BA.debugLine="If ALMACEN = 88 Then";
+ //BA.debugLineNum = 1260;BA.debugLine="If ALMACEN = 88 Then";
case 478:
//if
@@ -6080,7 +6225,7 @@ this.state = 480;
case 480:
//C
this.state = 481;
- //BA.debugLineNum = 1239;BA.debugLine="If Not(Subs.TraeMontoProd) Then";
+ //BA.debugLineNum = 1261;BA.debugLine="If Not(Subs.TraeMontoProd) Then";
if (true) break;
case 481:
@@ -6093,12 +6238,12 @@ this.state = 483;
case 483:
//C
this.state = 484;
- //BA.debugLineNum = 1240;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr";
+ //BA.debugLineNum = 1262;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fr";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis = 'MYKONOS_01' and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._tipo_venta)}));
- //BA.debugLineNum = 1242;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 1264;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Exe";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{"","null"})));
- //BA.debugLineNum = 1244;BA.debugLine="If s3.RowCount > 0 Then";
+ //BA.debugLineNum = 1266;BA.debugLine="If s3.RowCount > 0 Then";
if (true) break;
case 484:
@@ -6113,18 +6258,18 @@ this.state = 498;
case 486:
//C
this.state = 487;
- //BA.debugLineNum = 1245;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT";
+ //BA.debugLineNum = 1267;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1246;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iF";
+ //BA.debugLineNum = 1268;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select iF";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"})));
- //BA.debugLineNum = 1247;BA.debugLine="s.Position=0";
+ //BA.debugLineNum = 1269;BA.debugLine="s.Position=0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 1248;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.";
+ //BA.debugLineNum = 1270;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and (PE_RECALCULO <> ? or PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL)",new String[]{"","null"})));
- //BA.debugLineNum = 1249;BA.debugLine="s5.Position = 0";
+ //BA.debugLineNum = 1271;BA.debugLine="s5.Position = 0";
_s5.setPosition((int) (0));
- //BA.debugLineNum = 1250;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1272;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 487:
@@ -6137,9 +6282,9 @@ this.state = 489;
case 489:
//C
this.state = 490;
- //BA.debugLineNum = 1251;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1273;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 1252;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
+ //BA.debugLineNum = 1274;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
if (true) break;
case 490:
@@ -6154,14 +6299,14 @@ this.state = 494;
case 492:
//C
this.state = 495;
- //BA.debugLineNum = 1253;BA.debugLine="l_total.Text = 0";
+ //BA.debugLineNum = 1275;BA.debugLine="l_total.Text = 0";
parent._l_total.setText(BA.ObjectToCharSequence(0));
if (true) break;
case 494:
//C
this.state = 495;
- //BA.debugLineNum = 1255;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TO";
+ //BA.debugLineNum = 1277;BA.debugLine="l_total.Text =NumberFormat2((s.GetString(\"TO";
parent._l_total.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE")))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
if (true) break;
@@ -6169,7 +6314,7 @@ case 495:
//C
this.state = 496;
;
- //BA.debugLineNum = 1257;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s";
+ //BA.debugLineNum = 1279;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\") + s";
parent._total_cliente = BA.NumberToString((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE"))));
if (true) break;
@@ -6182,13 +6327,13 @@ this.state = 509;
case 498:
//C
this.state = 499;
- //BA.debugLineNum = 1260;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT";
+ //BA.debugLineNum = 1282;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1261;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum";
+ //BA.debugLineNum = 1283;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 1262;BA.debugLine="s.Position=0";
+ //BA.debugLineNum = 1284;BA.debugLine="s.Position=0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 1263;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1285;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 499:
@@ -6201,9 +6346,9 @@ this.state = 501;
case 501:
//C
this.state = 502;
- //BA.debugLineNum = 1264;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 1286;BA.debugLine="c.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 1265;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
+ //BA.debugLineNum = 1287;BA.debugLine="If s.GetString(\"TOTAL_CLIE\") = Null Then";
if (true) break;
case 502:
@@ -6218,14 +6363,14 @@ this.state = 506;
case 504:
//C
this.state = 507;
- //BA.debugLineNum = 1266;BA.debugLine="l_total.Text = 0";
+ //BA.debugLineNum = 1288;BA.debugLine="l_total.Text = 0";
parent._l_total.setText(BA.ObjectToCharSequence(0));
if (true) break;
case 506:
//C
this.state = 507;
- //BA.debugLineNum = 1268;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOT";
+ //BA.debugLineNum = 1290;BA.debugLine="l_total.Text =NumberFormat2(s.GetString(\"TOT";
parent._l_total.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2((double)(Double.parseDouble(parent._s.GetString("TOTAL_CLIE"))),(int) (0),(int) (2),(int) (2),parent.__c.False)));
if (true) break;
@@ -6233,7 +6378,7 @@ case 507:
//C
this.state = 508;
;
- //BA.debugLineNum = 1270;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
+ //BA.debugLineNum = 1292;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
parent._total_cliente = parent._s.GetString("TOTAL_CLIE");
if (true) break;
@@ -6259,46 +6404,46 @@ case 511:
//C
this.state = 512;
;
- //BA.debugLineNum = 1276;BA.debugLine="Log(\"============================================";
-parent.__c.LogImpl("714156501","============================================================",0);
- //BA.debugLineNum = 1277;BA.debugLine="Log(\"============================================";
-parent.__c.LogImpl("714156502","============================================================",0);
- //BA.debugLineNum = 1278;BA.debugLine="Log(\"============================================";
-parent.__c.LogImpl("714156503","============================================================",0);
- //BA.debugLineNum = 1280;BA.debugLine="l_total.Text = Subs.calculaTotalConPromoXRango(Su";
+ //BA.debugLineNum = 1298;BA.debugLine="Log(\"============================================";
+parent.__c.LogImpl("414222039","============================================================",0);
+ //BA.debugLineNum = 1299;BA.debugLine="Log(\"============================================";
+parent.__c.LogImpl("414222040","============================================================",0);
+ //BA.debugLineNum = 1300;BA.debugLine="Log(\"============================================";
+parent.__c.LogImpl("414222041","============================================================",0);
+ //BA.debugLineNum = 1302;BA.debugLine="l_total.Text = Subs.calculaTotalConPromoXRango(Su";
parent._l_total.setText(BA.ObjectToCharSequence(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))));
- //BA.debugLineNum = 1283;BA.debugLine="SV_ENCUESTA.Visible = False";
+ //BA.debugLineNum = 1305;BA.debugLine="SV_ENCUESTA.Visible = False";
parent._sv_encuesta.setVisible(parent.__c.False);
- //BA.debugLineNum = 1284;BA.debugLine="P_gallina.Visible = False";
+ //BA.debugLineNum = 1306;BA.debugLine="P_gallina.Visible = False";
parent._p_gallina.setVisible(parent.__c.False);
- //BA.debugLineNum = 1285;BA.debugLine="p_pregunta1.Visible = False";
+ //BA.debugLineNum = 1307;BA.debugLine="p_pregunta1.Visible = False";
parent._p_pregunta1.setVisible(parent.__c.False);
- //BA.debugLineNum = 1286;BA.debugLine="p_camara.Visible = False";
+ //BA.debugLineNum = 1308;BA.debugLine="p_camara.Visible = False";
parent._p_camara.setVisible(parent.__c.False);
- //BA.debugLineNum = 1287;BA.debugLine="Panel2.Visible = False";
+ //BA.debugLineNum = 1309;BA.debugLine="Panel2.Visible = False";
parent._panel2.setVisible(parent.__c.False);
- //BA.debugLineNum = 1288;BA.debugLine="p_comentario.Visible = False";
+ //BA.debugLineNum = 1310;BA.debugLine="p_comentario.Visible = False";
parent._p_comentario.setVisible(parent.__c.False);
- //BA.debugLineNum = 1289;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
+ //BA.debugLineNum = 1311;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
parent._p_transparenteticketimpreso.setVisible(parent.__c.False);
- //BA.debugLineNum = 1290;BA.debugLine="p_encuesta.Visible = False";
+ //BA.debugLineNum = 1312;BA.debugLine="p_encuesta.Visible = False";
parent._p_encuesta.setVisible(parent.__c.False);
- //BA.debugLineNum = 1291;BA.debugLine="pnlPlanLealtad.Visible = False";
+ //BA.debugLineNum = 1313;BA.debugLine="pnlPlanLealtad.Visible = False";
parent._pnlplanlealtad.setVisible(parent.__c.False);
- //BA.debugLineNum = 1292;BA.debugLine="Panel10.Visible = False";
+ //BA.debugLineNum = 1314;BA.debugLine="Panel10.Visible = False";
parent._panel10.setVisible(parent.__c.False);
- //BA.debugLineNum = 1293;BA.debugLine="p_transparentePDF.Visible = False";
+ //BA.debugLineNum = 1315;BA.debugLine="p_transparentePDF.Visible = False";
parent._p_transparentepdf.setVisible(parent.__c.False);
- //BA.debugLineNum = 1294;BA.debugLine="CH_FACTURA.Checked = False";
+ //BA.debugLineNum = 1316;BA.debugLine="CH_FACTURA.Checked = False";
parent._ch_factura.setChecked(parent.__c.False);
- //BA.debugLineNum = 1295;BA.debugLine="Dim fac As Cursor=B4XPages.MainPage.skmt.ExecQuer";
+ //BA.debugLineNum = 1317;BA.debugLine="Dim fac As Cursor=B4XPages.MainPage.skmt.ExecQuer";
_fac = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fac = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select ifnull(SUM(PE_COSTO_TOT), 0) As TOTAL_CLIE, SUM(PE_CANT) As CANT_CLIE, PC_FACTURA FROM PEDIDO_CLIENTE INNER JOIN PEDIDO ON PEDIDO_CLIENTE.PC_CLIENTE = PEDIDO.PE_CLIENTE WHERE (PE_CLIENTE IN (Select cuenta from cuentaa))")));
- //BA.debugLineNum = 1296;BA.debugLine="fac.Position = 0";
+ //BA.debugLineNum = 1318;BA.debugLine="fac.Position = 0";
_fac.setPosition((int) (0));
- //BA.debugLineNum = 1297;BA.debugLine="Private factura As String = 0";
+ //BA.debugLineNum = 1319;BA.debugLine="Private factura As String = 0";
_factura = BA.NumberToString(0);
- //BA.debugLineNum = 1298;BA.debugLine="If fac.GetString(\"PC_FACTURA\") <> Null And IsNumb";
+ //BA.debugLineNum = 1320;BA.debugLine="If fac.GetString(\"PC_FACTURA\") <> Null And IsNumb";
if (true) break;
case 512:
@@ -6318,7 +6463,7 @@ case 517:
//C
this.state = 518;
;
- //BA.debugLineNum = 1299;BA.debugLine="If factura = \"1\" Then CH_FACTURA.Checked = True";
+ //BA.debugLineNum = 1321;BA.debugLine="If factura = \"1\" Then CH_FACTURA.Checked = True";
if (true) break;
case 518:
@@ -6338,11 +6483,11 @@ case 523:
//C
this.state = 524;
;
- //BA.debugLineNum = 1302;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
+ //BA.debugLineNum = 1324;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1303;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1325;BA.debugLine="c.Position = 0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 1304;BA.debugLine="If c.GetInt(\"CAT_CL_BCREDITO\") = 1 Then";
+ //BA.debugLineNum = 1326;BA.debugLine="If c.GetInt(\"CAT_CL_BCREDITO\") = 1 Then";
if (true) break;
case 524:
@@ -6357,10 +6502,10 @@ this.state = 540;
case 526:
//C
this.state = 527;
- //BA.debugLineNum = 1306;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 1328;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt";
_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 1307;BA.debugLine="If pagarepen.RowCount > 0 Then";
+ //BA.debugLineNum = 1329;BA.debugLine="If pagarepen.RowCount > 0 Then";
if (true) break;
case 527:
@@ -6375,28 +6520,28 @@ this.state = 537;
case 529:
//C
this.state = 530;
- //BA.debugLineNum = 1308;BA.debugLine="pagarepen.Position = 0";
+ //BA.debugLineNum = 1330;BA.debugLine="pagarepen.Position = 0";
_pagarepen.setPosition((int) (0));
- //BA.debugLineNum = 1309;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
+ //BA.debugLineNum = 1331;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 1310;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString";
+ //BA.debugLineNum = 1332;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString";
_fechainicio = _pagarepen.GetString("FECHA");
- //BA.debugLineNum = 1312;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
-parent.__c.LogImpl("714156537",_pagarepen.GetString("FECHA"),0);
- //BA.debugLineNum = 1314;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fe";
+ //BA.debugLineNum = 1334;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
+parent.__c.LogImpl("414222075",_pagarepen.GetString("FECHA"),0);
+ //BA.debugLineNum = 1336;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fe";
_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio);
- //BA.debugLineNum = 1315;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateT";
+ //BA.debugLineNum = 1337;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateT";
_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()));
- //BA.debugLineNum = 1318;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIn";
+ //BA.debugLineNum = 1340;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIn";
_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay);
- //BA.debugLineNum = 1321;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
-parent.__c.LogImpl("714156546",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
- //BA.debugLineNum = 1323;BA.debugLine="Dim c4 As Cursor=B4XPages.MainPage.skmt.ExecQue";
+ //BA.debugLineNum = 1343;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
+parent.__c.LogImpl("414222084",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
+ //BA.debugLineNum = 1345;BA.debugLine="Dim c4 As Cursor=B4XPages.MainPage.skmt.ExecQue";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1324;BA.debugLine="c4.Position = 0";
+ //BA.debugLineNum = 1346;BA.debugLine="c4.Position = 0";
_c4.setPosition((int) (0));
- //BA.debugLineNum = 1326;BA.debugLine="If DiferenciaDias <= c4.GetInt(\"CAT_CL_DIASCRED";
+ //BA.debugLineNum = 1348;BA.debugLine="If DiferenciaDias <= c4.GetInt(\"CAT_CL_DIASCRED";
if (true) break;
case 530:
@@ -6411,18 +6556,18 @@ this.state = 534;
case 532:
//C
this.state = 535;
- //BA.debugLineNum = 1327;BA.debugLine="l_credito.Color = Colors.Green";
+ //BA.debugLineNum = 1349;BA.debugLine="l_credito.Color = Colors.Green";
parent._l_credito.setColor(parent.__c.Colors.Green);
- //BA.debugLineNum = 1328;BA.debugLine="l_limite.Color = Colors.Green";
+ //BA.debugLineNum = 1350;BA.debugLine="l_limite.Color = Colors.Green";
parent._l_limite.setColor(parent.__c.Colors.Green);
if (true) break;
case 534:
//C
this.state = 535;
- //BA.debugLineNum = 1330;BA.debugLine="l_credito.Color = Colors.Red";
+ //BA.debugLineNum = 1352;BA.debugLine="l_credito.Color = Colors.Red";
parent._l_credito.setColor(parent.__c.Colors.Red);
- //BA.debugLineNum = 1331;BA.debugLine="l_limite.Color = Colors.Red";
+ //BA.debugLineNum = 1353;BA.debugLine="l_limite.Color = Colors.Red";
parent._l_limite.setColor(parent.__c.Colors.Red);
if (true) break;
@@ -6435,9 +6580,9 @@ this.state = 538;
case 537:
//C
this.state = 538;
- //BA.debugLineNum = 1334;BA.debugLine="l_credito.Color = Colors.Transparent";
+ //BA.debugLineNum = 1356;BA.debugLine="l_credito.Color = Colors.Transparent";
parent._l_credito.setColor(parent.__c.Colors.Transparent);
- //BA.debugLineNum = 1335;BA.debugLine="l_limite.Color = Colors.Transparent";
+ //BA.debugLineNum = 1357;BA.debugLine="l_limite.Color = Colors.Transparent";
parent._l_limite.setColor(parent.__c.Colors.Transparent);
if (true) break;
@@ -6445,20 +6590,20 @@ case 538:
//C
this.state = 541;
;
- //BA.debugLineNum = 1337;BA.debugLine="l_credito.Visible = True";
+ //BA.debugLineNum = 1359;BA.debugLine="l_credito.Visible = True";
parent._l_credito.setVisible(parent.__c.True);
- //BA.debugLineNum = 1338;BA.debugLine="l_limite.Visible = True";
+ //BA.debugLineNum = 1360;BA.debugLine="l_limite.Visible = True";
parent._l_limite.setVisible(parent.__c.True);
- //BA.debugLineNum = 1339;BA.debugLine="l_limite.Text = c.GetInt(\"CAT_CL_LIMITECREDITO\"";
+ //BA.debugLineNum = 1361;BA.debugLine="l_limite.Text = c.GetInt(\"CAT_CL_LIMITECREDITO\"";
parent._l_limite.setText(BA.ObjectToCharSequence(parent._c.GetInt("CAT_CL_LIMITECREDITO")));
if (true) break;
case 540:
//C
this.state = 541;
- //BA.debugLineNum = 1341;BA.debugLine="l_credito.Visible = False";
+ //BA.debugLineNum = 1363;BA.debugLine="l_credito.Visible = False";
parent._l_credito.setVisible(parent.__c.False);
- //BA.debugLineNum = 1342;BA.debugLine="l_limite.Visible = False";
+ //BA.debugLineNum = 1364;BA.debugLine="l_limite.Visible = False";
parent._l_limite.setVisible(parent.__c.False);
if (true) break;
@@ -6466,24 +6611,24 @@ case 541:
//C
this.state = 542;
;
- //BA.debugLineNum = 1346;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1368;BA.debugLine="Tels.Visible = False";
parent._tels.setVisible(parent.__c.False);
- //BA.debugLineNum = 1347;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 1369;BA.debugLine="gest.Visible = False";
parent._gest.setVisible(parent.__c.False);
- //BA.debugLineNum = 1348;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1370;BA.debugLine="b_preventa2.Visible = False";
parent._b_preventa2.setVisible(parent.__c.False);
- //BA.debugLineNum = 1350;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 1372;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt";
_coloressaldo = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coloressaldo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR3,0) AS CAT_CL_CLASIFICADOR3, IFNULL(CAT_CL_CLASIFICADOR4,0) AS CAT_CL_CLASIFICADOR4, IFNULL(CAT_CL_CLASIFICADOR2,'') AS CAT_CL_CLASIFICADOR2 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1351;BA.debugLine="coloressaldo.Position = 0";
+ //BA.debugLineNum = 1373;BA.debugLine="coloressaldo.Position = 0";
_coloressaldo.setPosition((int) (0));
- //BA.debugLineNum = 1352;BA.debugLine="la_saldooper.Text = NumberFormat2(coloressaldo.Ge";
+ //BA.debugLineNum = 1374;BA.debugLine="la_saldooper.Text = NumberFormat2(coloressaldo.Ge";
parent._la_saldooper.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(_coloressaldo.GetDouble("CAT_CL_CLASIFICADOR3"),(int) (0),(int) (0),(int) (0),parent.__c.False)));
- //BA.debugLineNum = 1353;BA.debugLine="l_cajetillas.Text = NumberFormat2(coloressaldo.Ge";
+ //BA.debugLineNum = 1375;BA.debugLine="l_cajetillas.Text = NumberFormat2(coloressaldo.Ge";
parent._l_cajetillas.setText(BA.ObjectToCharSequence(parent.__c.NumberFormat2(_coloressaldo.GetDouble("CAT_CL_CLASIFICADOR4"),(int) (0),(int) (0),(int) (0),parent.__c.False)));
- //BA.debugLineNum = 1354;BA.debugLine="l_animal.Text = coloressaldo.GetString(\"CAT_CL_CL";
+ //BA.debugLineNum = 1376;BA.debugLine="l_animal.Text = coloressaldo.GetString(\"CAT_CL_CL";
parent._l_animal.setText(BA.ObjectToCharSequence(_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")));
- //BA.debugLineNum = 1355;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\")";
+ //BA.debugLineNum = 1377;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\")";
if (true) break;
case 542:
@@ -6504,45 +6649,45 @@ this.state = 552;
case 544:
//C
this.state = 553;
- //BA.debugLineNum = 1356;BA.debugLine="l_animal.Color = Colors.RGB(84,255,172)";
+ //BA.debugLineNum = 1378;BA.debugLine="l_animal.Color = Colors.RGB(84,255,172)";
parent._l_animal.setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (172)));
- //BA.debugLineNum = 1357;BA.debugLine="Label22.Color = Colors.RGB(84,255,172)";
+ //BA.debugLineNum = 1379;BA.debugLine="Label22.Color = Colors.RGB(84,255,172)";
parent._label22.setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (172)));
if (true) break;
case 546:
//C
this.state = 553;
- //BA.debugLineNum = 1359;BA.debugLine="l_animal.Color = Colors.RGB(84,255,245)";
+ //BA.debugLineNum = 1381;BA.debugLine="l_animal.Color = Colors.RGB(84,255,245)";
parent._l_animal.setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (245)));
- //BA.debugLineNum = 1360;BA.debugLine="Label22.Color = Colors.RGB(84,255,245)";
+ //BA.debugLineNum = 1382;BA.debugLine="Label22.Color = Colors.RGB(84,255,245)";
parent._label22.setColor(parent.__c.Colors.RGB((int) (84),(int) (255),(int) (245)));
if (true) break;
case 548:
//C
this.state = 553;
- //BA.debugLineNum = 1362;BA.debugLine="l_animal.Color = Colors.RGB(255,123,84)";
+ //BA.debugLineNum = 1384;BA.debugLine="l_animal.Color = Colors.RGB(255,123,84)";
parent._l_animal.setColor(parent.__c.Colors.RGB((int) (255),(int) (123),(int) (84)));
- //BA.debugLineNum = 1363;BA.debugLine="Label22.Color = Colors.RGB(255,123,84)";
+ //BA.debugLineNum = 1385;BA.debugLine="Label22.Color = Colors.RGB(255,123,84)";
parent._label22.setColor(parent.__c.Colors.RGB((int) (255),(int) (123),(int) (84)));
if (true) break;
case 550:
//C
this.state = 553;
- //BA.debugLineNum = 1365;BA.debugLine="l_animal.Color = Colors.RGB(255,250,140)";
+ //BA.debugLineNum = 1387;BA.debugLine="l_animal.Color = Colors.RGB(255,250,140)";
parent._l_animal.setColor(parent.__c.Colors.RGB((int) (255),(int) (250),(int) (140)));
- //BA.debugLineNum = 1366;BA.debugLine="Label22.Color = Colors.RGB(255,250,140)";
+ //BA.debugLineNum = 1388;BA.debugLine="Label22.Color = Colors.RGB(255,250,140)";
parent._label22.setColor(parent.__c.Colors.RGB((int) (255),(int) (250),(int) (140)));
if (true) break;
case 552:
//C
this.state = 553;
- //BA.debugLineNum = 1368;BA.debugLine="l_animal.Color = Colors.Transparent";
+ //BA.debugLineNum = 1390;BA.debugLine="l_animal.Color = Colors.Transparent";
parent._l_animal.setColor(parent.__c.Colors.Transparent);
- //BA.debugLineNum = 1369;BA.debugLine="Label22.Color = Colors.Transparent";
+ //BA.debugLineNum = 1391;BA.debugLine="Label22.Color = Colors.Transparent";
parent._label22.setColor(parent.__c.Colors.Transparent);
if (true) break;
@@ -6550,7 +6695,7 @@ case 553:
//C
this.state = -1;
;
- //BA.debugLineNum = 1374;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1396;BA.debugLine="End Sub";
if (true) break;
}
@@ -6581,100 +6726,113 @@ parent.__c.ReturnFromResumableSub(this,null);return;}
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 2945;BA.debugLine="cuest.encuestaIniciada = False";
+ //BA.debugLineNum = 3245;BA.debugLine="cuest.encuestaIniciada = False";
parent._cuest._encuestainiciada /*boolean*/ = parent.__c.False;
- //BA.debugLineNum = 2946;BA.debugLine="cuest.ocultPanelPregunta";
+ //BA.debugLineNum = 3246;BA.debugLine="cuest.ocultPanelPregunta";
parent._cuest._ocultpanelpregunta /*String*/ ();
- //BA.debugLineNum = 2947;BA.debugLine="If bitacora.p_transparenteInicioFin2.Visible And";
+ //BA.debugLineNum = 3247;BA.debugLine="If bitacora.p_transparenteInicioFin2.Visible And";
if (true) break;
case 1:
//if
-this.state = 16;
+this.state = 18;
if (parent._bitacora._p_transparenteiniciofin2 /*anywheresoftware.b4a.objects.PanelWrapper*/ .getVisible() && (parent._bitacora._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .getText()).equals("TERMINAR VISITA")) {
this.state = 3;
}else if(parent._subs._haypedido /*boolean*/ (ba)) {
this.state = 5;
}else if(parent._p_encuesta.getVisible()) {
this.state = 7;
-}else if(parent._p_camara.getVisible()) {
+}else if(parent._scv_bat.getVisible()) {
this.state = 9;
-}else if(parent._p_pregunta1.getVisible()) {
+}else if(parent._p_camara.getVisible()) {
this.state = 11;
-}else if(parent._sv_encuesta.getVisible()) {
+}else if(parent._p_pregunta1.getVisible()) {
this.state = 13;
-}else {
+}else if(parent._sv_encuesta.getVisible()) {
this.state = 15;
+}else {
+this.state = 17;
}if (true) break;
case 3:
//C
-this.state = 16;
- //BA.debugLineNum = 2948;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de";
+this.state = 18;
+ //BA.debugLineNum = 3248;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor presione el botón de TERMINAR VISITA"),parent.__c.True);
- //BA.debugLineNum = 2949;BA.debugLine="Return False";
+ //BA.debugLineNum = 3249;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
if (true) break;
case 5:
//C
-this.state = 16;
- //BA.debugLineNum = 2951;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de";
+this.state = 18;
+ //BA.debugLineNum = 3251;BA.debugLine="ToastMessageShow(\"Por favor presione el botón de";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor presione el botón de GUARDAR"),parent.__c.True);
- //BA.debugLineNum = 2952;BA.debugLine="Return False";
+ //BA.debugLineNum = 3252;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
if (true) break;
case 7:
//C
-this.state = 16;
- //BA.debugLineNum = 2954;BA.debugLine="p_encuesta.Visible = False";
+this.state = 18;
+ //BA.debugLineNum = 3254;BA.debugLine="p_encuesta.Visible = False";
parent._p_encuesta.setVisible(parent.__c.False);
if (true) break;
case 9:
//C
-this.state = 16;
- //BA.debugLineNum = 2956;BA.debugLine="Return False";
-if (true) {
-parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
+this.state = 18;
+ //BA.debugLineNum = 3256;BA.debugLine="scv_bat.Visible = False";
+parent._scv_bat.setVisible(parent.__c.False);
if (true) break;
case 11:
//C
-this.state = 16;
- //BA.debugLineNum = 2960;BA.debugLine="p_pregunta1.Visible = False";
-parent._p_pregunta1.setVisible(parent.__c.False);
+this.state = 18;
+ //BA.debugLineNum = 3258;BA.debugLine="p_camara.Visible = False";
+parent._p_camara.setVisible(parent.__c.False);
+ //BA.debugLineNum = 3259;BA.debugLine="StopCamera2";
+parent._stopcamera2();
+ //BA.debugLineNum = 3260;BA.debugLine="Return False";
+if (true) {
+parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
if (true) break;
case 13:
//C
-this.state = 16;
- //BA.debugLineNum = 2962;BA.debugLine="SV_ENCUESTA.visible = False";
-parent._sv_encuesta.setVisible(parent.__c.False);
- //BA.debugLineNum = 2963;BA.debugLine="p_cliente.Visible = True";
-parent._p_cliente.setVisible(parent.__c.True);
+this.state = 18;
+ //BA.debugLineNum = 3262;BA.debugLine="p_pregunta1.Visible = False";
+parent._p_pregunta1.setVisible(parent.__c.False);
if (true) break;
case 15:
//C
-this.state = 16;
- //BA.debugLineNum = 2966;BA.debugLine="Starter.enCliente = False";
+this.state = 18;
+ //BA.debugLineNum = 3264;BA.debugLine="SV_ENCUESTA.visible = False";
+parent._sv_encuesta.setVisible(parent.__c.False);
+ //BA.debugLineNum = 3265;BA.debugLine="p_cliente.Visible = True";
+parent._p_cliente.setVisible(parent.__c.True);
+ if (true) break;
+
+case 17:
+//C
+this.state = 18;
+ //BA.debugLineNum = 3268;BA.debugLine="Starter.enCliente = False";
parent._starter._encliente /*boolean*/ = parent.__c.False;
- //BA.debugLineNum = 2967;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
+ //BA.debugLineNum = 3269;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
parent._b4xpages._showpage /*String*/ (ba,"Clientes");
if (true) break;
-case 16:
+case 18:
//C
this.state = -1;
;
- //BA.debugLineNum = 2970;BA.debugLine="Return False";
+ //BA.debugLineNum = 3272;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
- //BA.debugLineNum = 2971;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3273;BA.debugLine="End Sub";
if (true) break;
}
@@ -6682,190 +6840,190 @@ if (true) break;
}
}
public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{
- //BA.debugLineNum = 488;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
- //BA.debugLineNum = 489;BA.debugLine="Root = Root1";
+ //BA.debugLineNum = 508;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
+ //BA.debugLineNum = 509;BA.debugLine="Root = Root1";
_root = _root1;
- //BA.debugLineNum = 492;BA.debugLine="Root.LoadLayout(\"cliente\")";
+ //BA.debugLineNum = 512;BA.debugLine="Root.LoadLayout(\"cliente\")";
_root.LoadLayout("cliente",ba);
- //BA.debugLineNum = 493;BA.debugLine="ruta = File.DirInternal";
+ //BA.debugLineNum = 513;BA.debugLine="ruta = File.DirInternal";
_ruta = __c.File.getDirInternal();
- //BA.debugLineNum = 494;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then";
+ //BA.debugLineNum = 514;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then";
if (__c.File.Exists(_ruta,"kmt.db")==__c.False) {
- //BA.debugLineNum = 495;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d";
+ //BA.debugLineNum = 515;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d";
__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db");
};
- //BA.debugLineNum = 497;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
+ //BA.debugLineNum = 517;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
_skmt.Initialize(_ruta,"kmt.db",__c.True);
- //BA.debugLineNum = 498;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL";
+ //BA.debugLineNum = 518;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 499;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe";
+ //BA.debugLineNum = 519;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe";
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 500;BA.debugLine="s.Position=0";
+ //BA.debugLineNum = 520;BA.debugLine="s.Position=0";
_s.setPosition((int) (0));
- //BA.debugLineNum = 501;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 521;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 502;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 522;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 503;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
+ //BA.debugLineNum = 523;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")";
_la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")));
- //BA.debugLineNum = 504;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")";
+ //BA.debugLineNum = 524;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")";
_cuenta = _c.GetString("CAT_CL_CODIGO");
- //BA.debugLineNum = 505;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
+ //BA.debugLineNum = 525;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")";
_la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE")));
- //BA.debugLineNum = 506;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.";
+ //BA.debugLineNum = 526;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c.";
_la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+_c.GetString("CAT_CL_NOEXT")));
- //BA.debugLineNum = 507;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
+ //BA.debugLineNum = 527;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")";
_la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA")));
- //BA.debugLineNum = 508;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
+ //BA.debugLineNum = 528;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")";
_la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO")));
- //BA.debugLineNum = 510;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
+ //BA.debugLineNum = 530;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")";
_l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1")));
- //BA.debugLineNum = 511;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
+ //BA.debugLineNum = 531;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")";
_l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2")));
- //BA.debugLineNum = 512;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
+ //BA.debugLineNum = 532;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")";
_l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1")));
- //BA.debugLineNum = 513;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
+ //BA.debugLineNum = 533;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")";
_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2")));
- //BA.debugLineNum = 514;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\"";
+ //BA.debugLineNum = 534;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\"";
_la_saldotot.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO")));
- //BA.debugLineNum = 515;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")";
+ //BA.debugLineNum = 535;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")";
_la_saldooper.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EMAIL")));
- //BA.debugLineNum = 516;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")";
+ //BA.debugLineNum = 536;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")";
_l_total.setText(BA.ObjectToCharSequence(_s.GetString("TOTAL_CLIE")));
- //BA.debugLineNum = 517;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
+ //BA.debugLineNum = 537;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")";
_total_cliente = _s.GetString("TOTAL_CLIE");
- //BA.debugLineNum = 518;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")";
+ //BA.debugLineNum = 538;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")";
_monto_compra = _c.GetString("CAT_CL_MTOCOMPRA");
};
- //BA.debugLineNum = 520;BA.debugLine="c.Close";
+ //BA.debugLineNum = 540;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 521;BA.debugLine="s.Close";
+ //BA.debugLineNum = 541;BA.debugLine="s.Close";
_s.Close();
- //BA.debugLineNum = 522;BA.debugLine="File.Copy(File.DirAssets,\"guna-fondo.jpg\",xui.Def";
+ //BA.debugLineNum = 542;BA.debugLine="File.Copy(File.DirAssets,\"guna-fondo.jpg\",xui.Def";
__c.File.Copy(__c.File.getDirAssets(),"guna-fondo.jpg",_xui.getDefaultFolder(),"guna-fondo.jpg");
- //BA.debugLineNum = 523;BA.debugLine="TOMAR_FOTO = 0";
+ //BA.debugLineNum = 543;BA.debugLine="TOMAR_FOTO = 0";
_tomar_foto = BA.NumberToString(0);
- //BA.debugLineNum = 524;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")";
+ //BA.debugLineNum = 544;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")";
_btadmin.Initialize(ba,"BlueTeeth");
- //BA.debugLineNum = 525;BA.debugLine="cmp20.Initialize(\"Printer\")";
+ //BA.debugLineNum = 545;BA.debugLine="cmp20.Initialize(\"Printer\")";
_cmp20.Initialize("Printer");
- //BA.debugLineNum = 526;BA.debugLine="SV_ENCUESTA.Height = Root.Height";
+ //BA.debugLineNum = 546;BA.debugLine="SV_ENCUESTA.Height = Root.Height";
_sv_encuesta.setHeight(_root.getHeight());
- //BA.debugLineNum = 527;BA.debugLine="SV_ENCUESTA.Width = Root.Height";
+ //BA.debugLineNum = 547;BA.debugLine="SV_ENCUESTA.Width = Root.Height";
_sv_encuesta.setWidth(_root.getHeight());
- //BA.debugLineNum = 528;BA.debugLine="p_pregunta1.Height = Root.Height";
+ //BA.debugLineNum = 548;BA.debugLine="p_pregunta1.Height = Root.Height";
_p_pregunta1.setHeight(_root.getHeight());
- //BA.debugLineNum = 529;BA.debugLine="p_pregunta1.Width = Root.Height";
+ //BA.debugLineNum = 549;BA.debugLine="p_pregunta1.Width = Root.Height";
_p_pregunta1.setWidth(_root.getHeight());
- //BA.debugLineNum = 530;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar";
+ //BA.debugLineNum = 550;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar";
_p_transparenteticketimpreso.setLeft((int) (0));
- //BA.debugLineNum = 530;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar";
+ //BA.debugLineNum = 550;BA.debugLine="p_transparenteTicketImpreso.Left = 0 : p_transpar";
_p_transparenteticketimpreso.setTop((int) (0));
- //BA.debugLineNum = 531;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to";
+ //BA.debugLineNum = 551;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to";
_p_transparentepdf.setLeft((int) (0));
- //BA.debugLineNum = 531;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to";
+ //BA.debugLineNum = 551;BA.debugLine="p_transparentePDF.Left = 0 : p_transparentePDF.to";
_p_transparentepdf.setTop((int) (0));
- //BA.debugLineNum = 532;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :";
+ //BA.debugLineNum = 552;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :";
_p_transparenteticketimpreso.setWidth(_root.getWidth());
- //BA.debugLineNum = 532;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :";
+ //BA.debugLineNum = 552;BA.debugLine="p_transparenteTicketImpreso.Width = Root.Width :";
_p_transparenteticketimpreso.setHeight(_root.getHeight());
- //BA.debugLineNum = 533;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar";
+ //BA.debugLineNum = 553;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar";
_p_transparentepdf.setWidth(_root.getWidth());
- //BA.debugLineNum = 533;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar";
+ //BA.debugLineNum = 553;BA.debugLine="p_transparentePDF.Width = Root.Width : p_transpar";
_p_transparentepdf.setHeight(_root.getHeight());
- //BA.debugLineNum = 534;BA.debugLine="Subs.centraPanel(p_ticketImpreso, p_transparenteT";
+ //BA.debugLineNum = 554;BA.debugLine="Subs.centraPanel(p_ticketImpreso, p_transparenteT";
_subs._centrapanel /*String*/ (ba,_p_ticketimpreso,_p_transparenteticketimpreso.getWidth());
- //BA.debugLineNum = 535;BA.debugLine="Subs.centraPanel(p_envioPDF, p_transparentePDF.Wi";
+ //BA.debugLineNum = 555;BA.debugLine="Subs.centraPanel(p_envioPDF, p_transparentePDF.Wi";
_subs._centrapanel /*String*/ (ba,_p_enviopdf,_p_transparentepdf.getWidth());
- //BA.debugLineNum = 536;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0";
+ //BA.debugLineNum = 556;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0";
_p_comentario.setLeft((int) (0));
- //BA.debugLineNum = 536;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0";
+ //BA.debugLineNum = 556;BA.debugLine="p_comentario.Left = 0 : p_comentario.top = 0";
_p_comentario.setTop((int) (0));
- //BA.debugLineNum = 537;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He";
+ //BA.debugLineNum = 557;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He";
_p_comentario.setWidth(_root.getWidth());
- //BA.debugLineNum = 537;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He";
+ //BA.debugLineNum = 557;BA.debugLine="p_comentario.Width = Root.Width : p_comentario.He";
_p_comentario.setHeight(_root.getHeight());
- //BA.debugLineNum = 538;BA.debugLine="Subs.centraPanel(p_comentarios, p_comentario.Widt";
+ //BA.debugLineNum = 558;BA.debugLine="Subs.centraPanel(p_comentarios, p_comentario.Widt";
_subs._centrapanel /*String*/ (ba,_p_comentarios,_p_comentario.getWidth());
- //BA.debugLineNum = 539;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 559;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 540;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 560;BA.debugLine="gest.Visible = False";
_gest.setVisible(__c.False);
- //BA.debugLineNum = 541;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 561;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 542;BA.debugLine="l_version.Left = Root.Width - (l_version.Width +";
+ //BA.debugLineNum = 562;BA.debugLine="l_version.Left = Root.Width - (l_version.Width +";
_l_version.setLeft((int) (_root.getWidth()-(_l_version.getWidth()+10)));
- //BA.debugLineNum = 543;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, B4XPages.Main";
+ //BA.debugLineNum = 563;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, B4XPages.Main";
_cuest._initialize /*Object*/ (ba,this,"cuest",_root,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ );
- //BA.debugLineNum = 544;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,";
+ //BA.debugLineNum = 564;BA.debugLine="bitacora.Initialize(\"bitacora\", \"bitacora\", Root,";
_bitacora._initialize /*Object*/ (ba,(Object)("bitacora"),"bitacora",_root,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ ,_reqmanager);
- //BA.debugLineNum = 545;BA.debugLine="l_version.Left = Root.Width - l_version.Width";
+ //BA.debugLineNum = 565;BA.debugLine="l_version.Left = Root.Width - l_version.Width";
_l_version.setLeft((int) (_root.getWidth()-_l_version.getWidth()));
- //BA.debugLineNum = 547;BA.debugLine="End Sub";
+ //BA.debugLineNum = 567;BA.debugLine="End Sub";
return "";
}
public String _bt_qr_click() throws Exception{
- //BA.debugLineNum = 3085;BA.debugLine="Sub BT_QR_Click";
- //BA.debugLineNum = 3086;BA.debugLine="sc.isportrait = True";
+ //BA.debugLineNum = 3387;BA.debugLine="Sub BT_QR_Click";
+ //BA.debugLineNum = 3388;BA.debugLine="sc.isportrait = True";
_sc.isportrait = __c.True;
- //BA.debugLineNum = 3087;BA.debugLine="sc.timeoutDuration = 45";
+ //BA.debugLineNum = 3389;BA.debugLine="sc.timeoutDuration = 45";
_sc.timeoutDuration = (int) (45);
- //BA.debugLineNum = 3088;BA.debugLine="sc.theViewFinderXfactor = 0.7";
+ //BA.debugLineNum = 3390;BA.debugLine="sc.theViewFinderXfactor = 0.7";
_sc.theViewFinderXfactor = 0.7;
- //BA.debugLineNum = 3089;BA.debugLine="sc.theViewFinderYfactor = 0.5";
+ //BA.debugLineNum = 3391;BA.debugLine="sc.theViewFinderYfactor = 0.5";
_sc.theViewFinderYfactor = 0.5;
- //BA.debugLineNum = 3090;BA.debugLine="sc.theResultColor = Colors.Green";
+ //BA.debugLineNum = 3392;BA.debugLine="sc.theResultColor = Colors.Green";
_sc.theResultColor = __c.Colors.Green;
- //BA.debugLineNum = 3091;BA.debugLine="sc.mustVibrate = True";
+ //BA.debugLineNum = 3393;BA.debugLine="sc.mustVibrate = True";
_sc.mustVibrate = __c.True;
- //BA.debugLineNum = 3092;BA.debugLine="sc.BeginScan(\"sc\")";
+ //BA.debugLineNum = 3394;BA.debugLine="sc.BeginScan(\"sc\")";
_sc.BeginScan(ba,"sc");
- //BA.debugLineNum = 3093;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3395;BA.debugLine="End Sub";
return "";
}
public String _btnaceptaplanlealtad_click() throws Exception{
- //BA.debugLineNum = 7546;BA.debugLine="Private Sub btnAceptaPlanLealtad_Click";
- //BA.debugLineNum = 7548;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM PLAN_LE";
+ //BA.debugLineNum = 7877;BA.debugLine="Private Sub btnAceptaPlanLealtad_Click";
+ //BA.debugLineNum = 7879;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM PLAN_LE";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PLAN_LEALTAD WHERE PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 7549;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 7880;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 7550;BA.debugLine="If c.RowCount = 0 Then";
+ //BA.debugLineNum = 7881;BA.debugLine="If c.RowCount = 0 Then";
if (_c.getRowCount()==0) {
- //BA.debugLineNum = 7552;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert int";
+ //BA.debugLineNum = 7883;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert int";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into PLAN_LEALTAD (PL_BANDERA, PL_CLIENTE) values ('1','"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"')"));
- //BA.debugLineNum = 7553;BA.debugLine="pnlPlanLealtad.Visible = False";
+ //BA.debugLineNum = 7884;BA.debugLine="pnlPlanLealtad.Visible = False";
_pnlplanlealtad.setVisible(__c.False);
- //BA.debugLineNum = 7554;BA.debugLine="Log(\"AQUI\")";
-__c.LogImpl("726804232","AQUI",0);
- //BA.debugLineNum = 7555;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 7885;BA.debugLine="Log(\"AQUI\")";
+__c.LogImpl("426935304","AQUI",0);
+ //BA.debugLineNum = 7886;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
}else {
- //BA.debugLineNum = 7557;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE PLAN_LEALTAD";
+ //BA.debugLineNum = 7888;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE PLAN_LEALTAD";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE PLAN_LEALTAD SET PL_BANDERA = 1 where PL_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"));
- //BA.debugLineNum = 7558;BA.debugLine="pnlPlanLealtad.Visible = False";
+ //BA.debugLineNum = 7889;BA.debugLine="pnlPlanLealtad.Visible = False";
_pnlplanlealtad.setVisible(__c.False);
- //BA.debugLineNum = 7559;BA.debugLine="Log(\"AQUI2\")";
-__c.LogImpl("726804237","AQUI2",0);
- //BA.debugLineNum = 7560;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 7890;BA.debugLine="Log(\"AQUI2\")";
+__c.LogImpl("426935309","AQUI2",0);
+ //BA.debugLineNum = 7891;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
};
- //BA.debugLineNum = 7562;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7893;BA.debugLine="End Sub";
return "";
}
public String _btncancelarplanlealtad_click() throws Exception{
- //BA.debugLineNum = 7542;BA.debugLine="Private Sub btnCancelarPlanLealtad_Click";
- //BA.debugLineNum = 7543;BA.debugLine="pnlPlanLealtad.Visible = False";
+ //BA.debugLineNum = 7873;BA.debugLine="Private Sub btnCancelarPlanLealtad_Click";
+ //BA.debugLineNum = 7874;BA.debugLine="pnlPlanLealtad.Visible = False";
_pnlplanlealtad.setVisible(__c.False);
- //BA.debugLineNum = 7544;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7875;BA.debugLine="End Sub";
return "";
}
public String _btnplanlealtad_click() throws Exception{
- //BA.debugLineNum = 7537;BA.debugLine="Private Sub btnPlanLealtad_Click";
- //BA.debugLineNum = 7538;BA.debugLine="Subs.centraPanel(pnl_btns, pnlPlanLealtad.Width)";
+ //BA.debugLineNum = 7868;BA.debugLine="Private Sub btnPlanLealtad_Click";
+ //BA.debugLineNum = 7869;BA.debugLine="Subs.centraPanel(pnl_btns, pnlPlanLealtad.Width)";
_subs._centrapanel /*String*/ (ba,_pnl_btns,_pnlplanlealtad.getWidth());
- //BA.debugLineNum = 7539;BA.debugLine="pnlPlanLealtad.Visible = True";
+ //BA.debugLineNum = 7870;BA.debugLine="pnlPlanLealtad.Visible = True";
_pnlplanlealtad.setVisible(__c.True);
- //BA.debugLineNum = 7540;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7871;BA.debugLine="End Sub";
return "";
}
public String _calc_ean_checksum(String _number) throws Exception{
@@ -6874,36 +7032,36 @@ char _co = '\0';
int _soma = 0;
int _n = 0;
float _digit = 0f;
- //BA.debugLineNum = 3128;BA.debugLine="Sub calc_ean_checksum(number As String) As String";
- //BA.debugLineNum = 3129;BA.debugLine="Dim i As Int";
+ //BA.debugLineNum = 3430;BA.debugLine="Sub calc_ean_checksum(number As String) As String";
+ //BA.debugLineNum = 3431;BA.debugLine="Dim i As Int";
_i = 0;
- //BA.debugLineNum = 3130;BA.debugLine="Dim cO As Char";
+ //BA.debugLineNum = 3432;BA.debugLine="Dim cO As Char";
_co = '\0';
- //BA.debugLineNum = 3131;BA.debugLine="Dim soma As Int";
+ //BA.debugLineNum = 3433;BA.debugLine="Dim soma As Int";
_soma = 0;
- //BA.debugLineNum = 3132;BA.debugLine="Dim n As Int";
+ //BA.debugLineNum = 3434;BA.debugLine="Dim n As Int";
_n = 0;
- //BA.debugLineNum = 3133;BA.debugLine="Dim digit As Float";
+ //BA.debugLineNum = 3435;BA.debugLine="Dim digit As Float";
_digit = 0f;
- //BA.debugLineNum = 3134;BA.debugLine="soma = 0";
+ //BA.debugLineNum = 3436;BA.debugLine="soma = 0";
_soma = (int) (0);
- //BA.debugLineNum = 3135;BA.debugLine="For i=0 To number.Length - 1";
+ //BA.debugLineNum = 3437;BA.debugLine="For i=0 To number.Length - 1";
{
final int step7 = 1;
final int limit7 = (int) (_number.length()-1);
_i = (int) (0) ;
for (;_i <= limit7 ;_i = _i + step7 ) {
- //BA.debugLineNum = 3136;BA.debugLine="digit = number.SubString2(i,i+1)";
+ //BA.debugLineNum = 3438;BA.debugLine="digit = number.SubString2(i,i+1)";
_digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1))));
- //BA.debugLineNum = 3137;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)";
+ //BA.debugLineNum = 3439;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)";
_n = (int) (_digit*((_i%2)*2+1));
- //BA.debugLineNum = 3138;BA.debugLine="soma=soma+n";
+ //BA.debugLineNum = 3440;BA.debugLine="soma=soma+n";
_soma = (int) (_soma+_n);
}
};
- //BA.debugLineNum = 3140;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10";
+ //BA.debugLineNum = 3442;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10";
if (true) return _number+BA.NumberToString(((10-(_soma%10))%10));
- //BA.debugLineNum = 3141;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3443;BA.debugLine="End Sub";
return "";
}
public String _camera1_picturetaken(byte[] _data) throws Exception{
@@ -6913,1580 +7071,1650 @@ String _dir = "";
String _dir2 = "";
anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null;
anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null;
- //BA.debugLineNum = 7754;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)";
- //BA.debugLineNum = 7756;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\"";
+ //BA.debugLineNum = 8085;BA.debugLine="Sub Camera1_PictureTaken (Data()As Byte)";
+ //BA.debugLineNum = 8087;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\"";
__c.DateTime.setDateFormat("ddMMyyyyHHmmss");
- //BA.debugLineNum = 7757;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\"";
+ //BA.debugLineNum = 8088;BA.debugLine="nombrefoto = DateTime.Now & \"_FOTO1.jpg\"";
_nombrefoto = BA.NumberToString(__c.DateTime.getNow())+"_FOTO1.jpg";
- //BA.debugLineNum = 7758;BA.debugLine="teclado.HideKeyboard";
+ //BA.debugLineNum = 8089;BA.debugLine="teclado.HideKeyboard";
_teclado.HideKeyboard(ba);
- //BA.debugLineNum = 7759;BA.debugLine="fototomada = nombrefoto";
+ //BA.debugLineNum = 8090;BA.debugLine="fototomada = nombrefoto";
_fototomada = _nombrefoto;
- //BA.debugLineNum = 7762;BA.debugLine="Log(\"tome foto\")";
-__c.LogImpl("727525128","tome foto",0);
- //BA.debugLineNum = 7763;BA.debugLine="Dim filename As String = fototomada";
+ //BA.debugLineNum = 8093;BA.debugLine="Log(\"tome foto\")";
+__c.LogImpl("427656200","tome foto",0);
+ //BA.debugLineNum = 8094;BA.debugLine="Dim filename As String = fototomada";
_filename = _fototomada;
- //BA.debugLineNum = 7764;BA.debugLine="Dim Dirp As String = File.DirInternal";
+ //BA.debugLineNum = 8095;BA.debugLine="Dim Dirp As String = File.DirInternal";
_dirp = __c.File.getDirInternal();
- //BA.debugLineNum = 7765;BA.debugLine="Dim Dir As String";
+ //BA.debugLineNum = 8096;BA.debugLine="Dim Dir As String";
_dir = "";
- //BA.debugLineNum = 7766;BA.debugLine="Dim Dir2 As String";
+ //BA.debugLineNum = 8097;BA.debugLine="Dim Dir2 As String";
_dir2 = "";
- //BA.debugLineNum = 7767;BA.debugLine="Try";
-try { //BA.debugLineNum = 7768;BA.debugLine="File.MakeDir(Dirp,\"/md\")";
+ //BA.debugLineNum = 8098;BA.debugLine="Try";
+try { //BA.debugLineNum = 8099;BA.debugLine="File.MakeDir(Dirp,\"/md\")";
__c.File.MakeDir(_dirp,"/md");
- //BA.debugLineNum = 7769;BA.debugLine="Dir = \"/md\"";
+ //BA.debugLineNum = 8100;BA.debugLine="Dir = \"/md\"";
_dir = "/md";
- //BA.debugLineNum = 7770;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)";
-__c.LogImpl("727525136","creado en promotoria "+_dirp+_dir,0);
+ //BA.debugLineNum = 8101;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir)";
+__c.LogImpl("427656208","creado en promotoria "+_dirp+_dir,0);
}
catch (Exception e15) {
- ba.setLastException(e15); //BA.debugLineNum = 7772;BA.debugLine="Dir = \"\"";
+ ba.setLastException(e15); //BA.debugLineNum = 8103;BA.debugLine="Dir = \"\"";
_dir = "";
- //BA.debugLineNum = 7773;BA.debugLine="Log(\"creado en raiz\")";
-__c.LogImpl("727525139","creado en raiz",0);
+ //BA.debugLineNum = 8104;BA.debugLine="Log(\"creado en raiz\")";
+__c.LogImpl("427656211","creado en raiz",0);
};
- //BA.debugLineNum = 7776;BA.debugLine="Try";
-try { //BA.debugLineNum = 7777;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")";
+ //BA.debugLineNum = 8107;BA.debugLine="Try";
+try { //BA.debugLineNum = 8108;BA.debugLine="File.MakeDir(Dirp & Dir,\"/reduccion\")";
__c.File.MakeDir(_dirp+_dir,"/reduccion");
- //BA.debugLineNum = 7778;BA.debugLine="Dir2 = \"/reduccion\"";
+ //BA.debugLineNum = 8109;BA.debugLine="Dir2 = \"/reduccion\"";
_dir2 = "/reduccion";
- //BA.debugLineNum = 7779;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)";
-__c.LogImpl("727525145","creado en promotoria "+_dirp+_dir+_dir2,0);
+ //BA.debugLineNum = 8110;BA.debugLine="Log(\"creado en promotoria \" & Dirp & Dir & Dir2)";
+__c.LogImpl("427656217","creado en promotoria "+_dirp+_dir+_dir2,0);
}
catch (Exception e23) {
- ba.setLastException(e23); //BA.debugLineNum = 7781;BA.debugLine="Dir = \"\"";
+ ba.setLastException(e23); //BA.debugLineNum = 8112;BA.debugLine="Dir = \"\"";
_dir = "";
- //BA.debugLineNum = 7782;BA.debugLine="Log(\"creado en raiz\")";
-__c.LogImpl("727525148","creado en raiz",0);
+ //BA.debugLineNum = 8113;BA.debugLine="Log(\"creado en raiz\")";
+__c.LogImpl("427656220","creado en raiz",0);
};
- //BA.debugLineNum = 7785;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)";
+ //BA.debugLineNum = 8116;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&Dir, filename)";
_camex._savepicturetofile /*String*/ (_data,_dirp+_dir,_filename);
- //BA.debugLineNum = 7786;BA.debugLine="camEx.StartPreview 'restart preview";
+ //BA.debugLineNum = 8117;BA.debugLine="camEx.StartPreview 'restart preview";
_camex._startpreview /*String*/ ();
- //BA.debugLineNum = 7788;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi";
-__c.LogImpl("727525154","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0);
- //BA.debugLineNum = 7789;BA.debugLine="p_camara.Visible = False";
+ //BA.debugLineNum = 8119;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & Fi";
+__c.LogImpl("427656226","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0);
+ //BA.debugLineNum = 8120;BA.debugLine="p_camara.Visible = False";
_p_camara.setVisible(__c.False);
- //BA.debugLineNum = 7791;BA.debugLine="Log(nombrefoto)";
-__c.LogImpl("727525157",_nombrefoto,0);
- //BA.debugLineNum = 7793;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File.";
+ //BA.debugLineNum = 8122;BA.debugLine="Log(nombrefoto)";
+__c.LogImpl("427656229",_nombrefoto,0);
+ //BA.debugLineNum = 8124;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File.";
_img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper();
_img = _xui.LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (225),(int) (300),__c.True);
- //BA.debugLineNum = 7794;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di";
+ //BA.debugLineNum = 8125;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di";
_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper();
_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False);
- //BA.debugLineNum = 7795;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")";
+ //BA.debugLineNum = 8126;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")";
_img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG"));
- //BA.debugLineNum = 7798;BA.debugLine="out.Close";
+ //BA.debugLineNum = 8129;BA.debugLine="out.Close";
_out.Close();
- //BA.debugLineNum = 7799;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal &";
+ //BA.debugLineNum = 8130;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirInternal &";
_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto).getObject()));
- //BA.debugLineNum = 7801;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET foto = (";
+ //BA.debugLineNum = 8132;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET foto = (";
_skmt.ExecNonQuery2("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_nombrefoto))}));
- //BA.debugLineNum = 7802;BA.debugLine="StopCamera2";
+ //BA.debugLineNum = 8133;BA.debugLine="StopCamera2";
_stopcamera2();
- //BA.debugLineNum = 7804;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8135;BA.debugLine="End Sub";
return "";
}
public String _camera1_ready(boolean _success) throws Exception{
- //BA.debugLineNum = 7740;BA.debugLine="Sub Camera1_Ready (Success As Boolean)";
- //BA.debugLineNum = 7741;BA.debugLine="Log(\"Camara ready\")";
-__c.LogImpl("727459585","Camara ready",0);
- //BA.debugLineNum = 7742;BA.debugLine="If Success Then";
+ //BA.debugLineNum = 8071;BA.debugLine="Sub Camera1_Ready (Success As Boolean)";
+ //BA.debugLineNum = 8072;BA.debugLine="Log(\"Camara ready\")";
+__c.LogImpl("427590657","Camara ready",0);
+ //BA.debugLineNum = 8073;BA.debugLine="If Success Then";
if (_success) {
- //BA.debugLineNum = 7743;BA.debugLine="camEx.SetJpegQuality(90)";
+ //BA.debugLineNum = 8074;BA.debugLine="camEx.SetJpegQuality(90)";
_camex._setjpegquality /*String*/ ((int) (90));
- //BA.debugLineNum = 7744;BA.debugLine="camEx.SetContinuousAutoFocus";
+ //BA.debugLineNum = 8075;BA.debugLine="camEx.SetContinuousAutoFocus";
_camex._setcontinuousautofocus /*String*/ ();
- //BA.debugLineNum = 7745;BA.debugLine="camEx.CommitParameters";
+ //BA.debugLineNum = 8076;BA.debugLine="camEx.CommitParameters";
_camex._commitparameters /*String*/ ();
- //BA.debugLineNum = 7746;BA.debugLine="camEx.StartPreview";
+ //BA.debugLineNum = 8077;BA.debugLine="camEx.StartPreview";
_camex._startpreview /*String*/ ();
- //BA.debugLineNum = 7747;BA.debugLine="Log(camEx.GetPreviewSize)";
-__c.LogImpl("727459591",BA.ObjectToString(_camex._getpreviewsize /*gunav2.keymon.com.mx.cameraexclass._camerasize*/ ()),0);
+ //BA.debugLineNum = 8078;BA.debugLine="Log(camEx.GetPreviewSize)";
+__c.LogImpl("427590663",BA.ObjectToString(_camex._getpreviewsize /*gunav2.keymon.com.mx.cameraexclass._camerasize*/ ()),0);
}else {
- //BA.debugLineNum = 7749;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
+ //BA.debugLineNum = 8080;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True);
- //BA.debugLineNum = 7750;BA.debugLine="Log(\"Cannot open camera\")";
-__c.LogImpl("727459594","Cannot open camera",0);
+ //BA.debugLineNum = 8081;BA.debugLine="Log(\"Cannot open camera\")";
+__c.LogImpl("427590666","Cannot open camera",0);
};
- //BA.debugLineNum = 7752;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8083;BA.debugLine="End Sub";
return "";
}
public String _cb_p1_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2776;BA.debugLine="Private Sub cb_p1_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2777;BA.debugLine="itemselect8 = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 3076;BA.debugLine="Private Sub cb_p1_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3077;BA.debugLine="itemselect8 = Sender.As(B4XComboBox).SelectedItem";
_itemselect8 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2778;BA.debugLine="Log(itemselect8)";
-__c.LogImpl("715794178",_itemselect8,0);
- //BA.debugLineNum = 2779;BA.debugLine="Log(Index)";
-__c.LogImpl("715794179",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2780;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3078;BA.debugLine="Log(itemselect8)";
+__c.LogImpl("415925250",_itemselect8,0);
+ //BA.debugLineNum = 3079;BA.debugLine="Log(Index)";
+__c.LogImpl("415925251",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3080;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p1_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8506;BA.debugLine="Private Sub cb_p1_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8507;BA.debugLine="e_1 = Sender.As(B4XComboBox).SelectedItem";
+_e_1 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8508;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p10_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8470;BA.debugLine="Private Sub cb_p10_SelectedIndexChanged (Index As";
+ //BA.debugLineNum = 8471;BA.debugLine="e_10 = Sender.As(B4XComboBox).SelectedItem";
+_e_10 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8472;BA.debugLine="End Sub";
return "";
}
public String _cb_p2_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2782;BA.debugLine="Private Sub cb_p2_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2783;BA.debugLine="itemselect9 = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 3082;BA.debugLine="Private Sub cb_p2_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3083;BA.debugLine="itemselect9 = Sender.As(B4XComboBox).SelectedItem";
_itemselect9 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2784;BA.debugLine="Log(itemselect9)";
-__c.LogImpl("715859714",_itemselect9,0);
- //BA.debugLineNum = 2785;BA.debugLine="Log(Index)";
-__c.LogImpl("715859715",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2786;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3084;BA.debugLine="Log(itemselect9)";
+__c.LogImpl("415990786",_itemselect9,0);
+ //BA.debugLineNum = 3085;BA.debugLine="Log(Index)";
+__c.LogImpl("415990787",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3086;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p2_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8502;BA.debugLine="Private Sub cb_p2_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8503;BA.debugLine="e_2 = Sender.As(B4XComboBox).SelectedItem";
+_e_2 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8504;BA.debugLine="End Sub";
return "";
}
public String _cb_p3_m4_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2740;BA.debugLine="Private Sub cb_p3_m4_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2741;BA.debugLine="itemselect2 = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 3040;BA.debugLine="Private Sub cb_p3_m4_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3041;BA.debugLine="itemselect2 = Sender.As(B4XComboBox).SelectedItem";
_itemselect2 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2742;BA.debugLine="Log(itemselect2)";
-__c.LogImpl("715400962",_itemselect2,0);
- //BA.debugLineNum = 2743;BA.debugLine="Log(Index)";
-__c.LogImpl("715400963",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2744;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3042;BA.debugLine="Log(itemselect2)";
+__c.LogImpl("415532034",_itemselect2,0);
+ //BA.debugLineNum = 3043;BA.debugLine="Log(Index)";
+__c.LogImpl("415532035",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3044;BA.debugLine="End Sub";
return "";
}
public String _cb_p3_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2788;BA.debugLine="Private Sub cb_p3_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2789;BA.debugLine="itemselect10 = Sender.As(B4XComboBox).SelectedIte";
+ //BA.debugLineNum = 3088;BA.debugLine="Private Sub cb_p3_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3089;BA.debugLine="itemselect10 = Sender.As(B4XComboBox).SelectedIte";
_itemselect10 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2790;BA.debugLine="Log(itemselect10)";
-__c.LogImpl("715925250",_itemselect10,0);
- //BA.debugLineNum = 2791;BA.debugLine="Log(Index)";
-__c.LogImpl("715925251",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2792;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3090;BA.debugLine="Log(itemselect10)";
+__c.LogImpl("416056322",_itemselect10,0);
+ //BA.debugLineNum = 3091;BA.debugLine="Log(Index)";
+__c.LogImpl("416056323",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3092;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p3_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8498;BA.debugLine="Private Sub cb_p3_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8499;BA.debugLine="e_3 = Sender.As(B4XComboBox).SelectedItem";
+_e_3 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8500;BA.debugLine="End Sub";
return "";
}
public String _cb_p4_1_m4_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2746;BA.debugLine="Private Sub cb_p4_1_m4_SelectedIndexChanged (Index";
- //BA.debugLineNum = 2747;BA.debugLine="itemselect3 = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 3046;BA.debugLine="Private Sub cb_p4_1_m4_SelectedIndexChanged (Index";
+ //BA.debugLineNum = 3047;BA.debugLine="itemselect3 = Sender.As(B4XComboBox).SelectedItem";
_itemselect3 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2748;BA.debugLine="Log(itemselect3)";
-__c.LogImpl("715466498",_itemselect3,0);
- //BA.debugLineNum = 2749;BA.debugLine="Log(Index)";
-__c.LogImpl("715466499",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2750;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3048;BA.debugLine="Log(itemselect3)";
+__c.LogImpl("415597570",_itemselect3,0);
+ //BA.debugLineNum = 3049;BA.debugLine="Log(Index)";
+__c.LogImpl("415597571",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3050;BA.debugLine="End Sub";
return "";
}
public String _cb_p4_2_m4_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2752;BA.debugLine="Private Sub cb_p4_2_m4_SelectedIndexChanged (Index";
- //BA.debugLineNum = 2753;BA.debugLine="itemselect4 = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 3052;BA.debugLine="Private Sub cb_p4_2_m4_SelectedIndexChanged (Index";
+ //BA.debugLineNum = 3053;BA.debugLine="itemselect4 = Sender.As(B4XComboBox).SelectedItem";
_itemselect4 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2754;BA.debugLine="Log(itemselect4)";
-__c.LogImpl("715532034",_itemselect4,0);
- //BA.debugLineNum = 2755;BA.debugLine="Log(Index)";
-__c.LogImpl("715532035",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2756;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3054;BA.debugLine="Log(itemselect4)";
+__c.LogImpl("415663106",_itemselect4,0);
+ //BA.debugLineNum = 3055;BA.debugLine="Log(Index)";
+__c.LogImpl("415663107",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3056;BA.debugLine="End Sub";
return "";
}
public String _cb_p4_3_m4_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2758;BA.debugLine="Private Sub cb_p4_3_m4_SelectedIndexChanged (Index";
- //BA.debugLineNum = 2759;BA.debugLine="itemselect5 = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 3058;BA.debugLine="Private Sub cb_p4_3_m4_SelectedIndexChanged (Index";
+ //BA.debugLineNum = 3059;BA.debugLine="itemselect5 = Sender.As(B4XComboBox).SelectedItem";
_itemselect5 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2760;BA.debugLine="Log(itemselect5)";
-__c.LogImpl("715597570",_itemselect5,0);
- //BA.debugLineNum = 2761;BA.debugLine="Log(Index)";
-__c.LogImpl("715597571",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2762;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3060;BA.debugLine="Log(itemselect5)";
+__c.LogImpl("415728642",_itemselect5,0);
+ //BA.debugLineNum = 3061;BA.debugLine="Log(Index)";
+__c.LogImpl("415728643",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3062;BA.debugLine="End Sub";
return "";
}
public String _cb_p4_4_m4_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2764;BA.debugLine="Private Sub cb_p4_4_m4_SelectedIndexChanged (Index";
- //BA.debugLineNum = 2765;BA.debugLine="itemselect6 = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 3064;BA.debugLine="Private Sub cb_p4_4_m4_SelectedIndexChanged (Index";
+ //BA.debugLineNum = 3065;BA.debugLine="itemselect6 = Sender.As(B4XComboBox).SelectedItem";
_itemselect6 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2766;BA.debugLine="Log(itemselect6)";
-__c.LogImpl("715663106",_itemselect6,0);
- //BA.debugLineNum = 2767;BA.debugLine="Log(Index)";
-__c.LogImpl("715663107",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2768;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3066;BA.debugLine="Log(itemselect6)";
+__c.LogImpl("415794178",_itemselect6,0);
+ //BA.debugLineNum = 3067;BA.debugLine="Log(Index)";
+__c.LogImpl("415794179",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3068;BA.debugLine="End Sub";
return "";
}
public String _cb_p4_5_m4_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2770;BA.debugLine="Private Sub cb_p4_5_m4_SelectedIndexChanged (Index";
- //BA.debugLineNum = 2771;BA.debugLine="itemselect7 = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 3070;BA.debugLine="Private Sub cb_p4_5_m4_SelectedIndexChanged (Index";
+ //BA.debugLineNum = 3071;BA.debugLine="itemselect7 = Sender.As(B4XComboBox).SelectedItem";
_itemselect7 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2772;BA.debugLine="Log(itemselect7)";
-__c.LogImpl("715728642",_itemselect7,0);
- //BA.debugLineNum = 2773;BA.debugLine="Log(Index)";
-__c.LogImpl("715728643",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2774;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3072;BA.debugLine="Log(itemselect7)";
+__c.LogImpl("415859714",_itemselect7,0);
+ //BA.debugLineNum = 3073;BA.debugLine="Log(Index)";
+__c.LogImpl("415859715",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3074;BA.debugLine="End Sub";
return "";
}
public String _cb_p4_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2794;BA.debugLine="Private Sub cb_p4_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2795;BA.debugLine="itemselect11 = Sender.As(B4XComboBox).SelectedIte";
+ //BA.debugLineNum = 3094;BA.debugLine="Private Sub cb_p4_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3095;BA.debugLine="itemselect11 = Sender.As(B4XComboBox).SelectedIte";
_itemselect11 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2796;BA.debugLine="Log(itemselect11)";
-__c.LogImpl("715990786",_itemselect11,0);
- //BA.debugLineNum = 2797;BA.debugLine="Log(Index)";
-__c.LogImpl("715990787",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2798;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3096;BA.debugLine="Log(itemselect11)";
+__c.LogImpl("416121858",_itemselect11,0);
+ //BA.debugLineNum = 3097;BA.debugLine="Log(Index)";
+__c.LogImpl("416121859",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3098;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p4_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8494;BA.debugLine="Private Sub cb_p4_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8495;BA.debugLine="e_4 = Sender.As(B4XComboBox).SelectedItem";
+_e_4 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8496;BA.debugLine="End Sub";
return "";
}
public String _cb_p5_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2800;BA.debugLine="Private Sub cb_p5_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2801;BA.debugLine="itemselect12 = Sender.As(B4XComboBox).SelectedIte";
+ //BA.debugLineNum = 3100;BA.debugLine="Private Sub cb_p5_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3101;BA.debugLine="itemselect12 = Sender.As(B4XComboBox).SelectedIte";
_itemselect12 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2802;BA.debugLine="Log(itemselect12)";
-__c.LogImpl("716056322",_itemselect12,0);
- //BA.debugLineNum = 2803;BA.debugLine="Log(Index)";
-__c.LogImpl("716056323",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2804;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3102;BA.debugLine="Log(itemselect12)";
+__c.LogImpl("416187394",_itemselect12,0);
+ //BA.debugLineNum = 3103;BA.debugLine="Log(Index)";
+__c.LogImpl("416187395",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3104;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p5_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8490;BA.debugLine="Private Sub cb_p5_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8491;BA.debugLine="e_5 = Sender.As(B4XComboBox).SelectedItem";
+_e_5 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8492;BA.debugLine="End Sub";
return "";
}
public String _cb_p6_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2806;BA.debugLine="Private Sub cb_p6_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2807;BA.debugLine="itemselect13 = Sender.As(B4XComboBox).SelectedIte";
+ //BA.debugLineNum = 3106;BA.debugLine="Private Sub cb_p6_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3107;BA.debugLine="itemselect13 = Sender.As(B4XComboBox).SelectedIte";
_itemselect13 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2808;BA.debugLine="Log(itemselect13)";
-__c.LogImpl("716121858",_itemselect13,0);
- //BA.debugLineNum = 2809;BA.debugLine="Log(Index)";
-__c.LogImpl("716121859",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2810;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3108;BA.debugLine="Log(itemselect13)";
+__c.LogImpl("416252930",_itemselect13,0);
+ //BA.debugLineNum = 3109;BA.debugLine="Log(Index)";
+__c.LogImpl("416252931",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3110;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p6_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8486;BA.debugLine="Private Sub cb_p6_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8487;BA.debugLine="e_6 = Sender.As(B4XComboBox).SelectedItem";
+_e_6 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8488;BA.debugLine="End Sub";
return "";
}
public String _cb_p7_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2812;BA.debugLine="Private Sub cb_p7_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2813;BA.debugLine="itemselect14 = Sender.As(B4XComboBox).SelectedIte";
+ //BA.debugLineNum = 3112;BA.debugLine="Private Sub cb_p7_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3113;BA.debugLine="itemselect14 = Sender.As(B4XComboBox).SelectedIte";
_itemselect14 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2814;BA.debugLine="Log(itemselect14)";
-__c.LogImpl("716187394",_itemselect14,0);
- //BA.debugLineNum = 2815;BA.debugLine="Log(Index)";
-__c.LogImpl("716187395",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2816;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3114;BA.debugLine="Log(itemselect14)";
+__c.LogImpl("416318466",_itemselect14,0);
+ //BA.debugLineNum = 3115;BA.debugLine="Log(Index)";
+__c.LogImpl("416318467",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3116;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p7_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8482;BA.debugLine="Private Sub cb_p7_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8483;BA.debugLine="e_7 = Sender.As(B4XComboBox).SelectedItem";
+_e_7 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8484;BA.debugLine="End Sub";
return "";
}
public String _cb_p8_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2818;BA.debugLine="Private Sub cb_p8_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2819;BA.debugLine="itemselect15 = Sender.As(B4XComboBox).SelectedIte";
+ //BA.debugLineNum = 3118;BA.debugLine="Private Sub cb_p8_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3119;BA.debugLine="itemselect15 = Sender.As(B4XComboBox).SelectedIte";
_itemselect15 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2820;BA.debugLine="Log(itemselect15)";
-__c.LogImpl("716252930",_itemselect15,0);
- //BA.debugLineNum = 2821;BA.debugLine="Log(Index)";
-__c.LogImpl("716252931",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2822;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3120;BA.debugLine="Log(itemselect15)";
+__c.LogImpl("416384002",_itemselect15,0);
+ //BA.debugLineNum = 3121;BA.debugLine="Log(Index)";
+__c.LogImpl("416384003",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3122;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p8_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8478;BA.debugLine="Private Sub cb_p8_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8479;BA.debugLine="e_8 = Sender.As(B4XComboBox).SelectedItem";
+_e_8 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8480;BA.debugLine="End Sub";
return "";
}
public String _cb_p9_m5_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2824;BA.debugLine="Private Sub cb_p9_m5_SelectedIndexChanged (Index A";
- //BA.debugLineNum = 2825;BA.debugLine="itemselect16 = Sender.As(B4XComboBox).SelectedIte";
+ //BA.debugLineNum = 3124;BA.debugLine="Private Sub cb_p9_m5_SelectedIndexChanged (Index A";
+ //BA.debugLineNum = 3125;BA.debugLine="itemselect16 = Sender.As(B4XComboBox).SelectedIte";
_itemselect16 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2826;BA.debugLine="Log(itemselect16)";
-__c.LogImpl("716318466",_itemselect16,0);
- //BA.debugLineNum = 2827;BA.debugLine="Log(Index)";
-__c.LogImpl("716318467",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2828;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3126;BA.debugLine="Log(itemselect16)";
+__c.LogImpl("416449538",_itemselect16,0);
+ //BA.debugLineNum = 3127;BA.debugLine="Log(Index)";
+__c.LogImpl("416449539",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 3128;BA.debugLine="End Sub";
+return "";
+}
+public String _cb_p9_selectedindexchanged(int _index) throws Exception{
+ //BA.debugLineNum = 8474;BA.debugLine="Private Sub cb_p9_SelectedIndexChanged (Index As I";
+ //BA.debugLineNum = 8475;BA.debugLine="e_9 = Sender.As(B4XComboBox).SelectedItem";
+_e_9 = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
+ //BA.debugLineNum = 8476;BA.debugLine="End Sub";
return "";
}
public String _cb_pregunta_selectedindexchanged(int _index) throws Exception{
- //BA.debugLineNum = 2407;BA.debugLine="Private Sub cb_pregunta_SelectedIndexChanged (Inde";
- //BA.debugLineNum = 2408;BA.debugLine="girotienda = Sender.As(B4XComboBox).SelectedItem";
+ //BA.debugLineNum = 2707;BA.debugLine="Private Sub cb_pregunta_SelectedIndexChanged (Inde";
+ //BA.debugLineNum = 2708;BA.debugLine="girotienda = Sender.As(B4XComboBox).SelectedItem";
_girotienda = ((gunav2.keymon.com.mx.b4xcombobox)(__c.Sender(ba)))._getselecteditem /*String*/ ();
- //BA.debugLineNum = 2409;BA.debugLine="Log(girotienda)";
-__c.LogImpl("715269890",_girotienda,0);
- //BA.debugLineNum = 2410;BA.debugLine="Log(Index)";
-__c.LogImpl("715269891",BA.NumberToString(_index),0);
- //BA.debugLineNum = 2411;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2709;BA.debugLine="Log(girotienda)";
+__c.LogImpl("415400962",_girotienda,0);
+ //BA.debugLineNum = 2710;BA.debugLine="Log(Index)";
+__c.LogImpl("415400963",BA.NumberToString(_index),0);
+ //BA.debugLineNum = 2711;BA.debugLine="End Sub";
return "";
}
public String _cb1_p3_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5732;BA.debugLine="Private Sub CB1_P3_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5733;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6063;BA.debugLine="Private Sub CB1_P3_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6064;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
- //BA.debugLineNum = 5734;BA.debugLine="If CB1_P3_M2.Checked Then";
+ //BA.debugLineNum = 6065;BA.debugLine="If CB1_P3_M2.Checked Then";
if (_cb1_p3_m2.getChecked()) {
- //BA.debugLineNum = 5735;BA.debugLine="textemp2 = CB1_P3_M2.Text";
+ //BA.debugLineNum = 6066;BA.debugLine="textemp2 = CB1_P3_M2.Text";
_textemp2 = _cb1_p3_m2.getText();
}else {
- //BA.debugLineNum = 5737;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6068;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
};
- //BA.debugLineNum = 5739;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6070;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb2_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb2_p3_m2.getText();};
- //BA.debugLineNum = 5740;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6071;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb3_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb3_p3_m2.getText();};
- //BA.debugLineNum = 5741;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6072;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb4_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb4_p3_m2.getText();};
- //BA.debugLineNum = 5742;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6073;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb5_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb5_p3_m2.getText();};
- //BA.debugLineNum = 5743;BA.debugLine="Log(textemp2)";
-__c.LogImpl("722085643",_textemp2,0);
- //BA.debugLineNum = 5744;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6074;BA.debugLine="Log(textemp2)";
+__c.LogImpl("422216715",_textemp2,0);
+ //BA.debugLineNum = 6075;BA.debugLine="End Sub";
return "";
}
public String _cb1_p3_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5859;BA.debugLine="Private Sub CB1_P3_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5860;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6190;BA.debugLine="Private Sub CB1_P3_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6191;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
- //BA.debugLineNum = 5861;BA.debugLine="If CB1_P3_M3.Checked Then";
+ //BA.debugLineNum = 6192;BA.debugLine="If CB1_P3_M3.Checked Then";
if (_cb1_p3_m3.getChecked()) {
- //BA.debugLineNum = 5862;BA.debugLine="textemp4 = CB1_P3_M3.Text";
+ //BA.debugLineNum = 6193;BA.debugLine="textemp4 = CB1_P3_M3.Text";
_textemp4 = _cb1_p3_m3.getText();
}else {
- //BA.debugLineNum = 5864;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6195;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
};
- //BA.debugLineNum = 5866;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6197;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb2_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb2_p3_m3.getText();};
- //BA.debugLineNum = 5867;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6198;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb3_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb3_p3_m3.getText();};
- //BA.debugLineNum = 5868;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6199;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb4_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb4_p3_m3.getText();};
- //BA.debugLineNum = 5869;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6200;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb5_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb5_p3_m3.getText();};
- //BA.debugLineNum = 5870;BA.debugLine="Log(textemp4)";
-__c.LogImpl("722675467",_textemp4,0);
- //BA.debugLineNum = 5871;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6201;BA.debugLine="Log(textemp4)";
+__c.LogImpl("422806539",_textemp4,0);
+ //BA.debugLineNum = 6202;BA.debugLine="End Sub";
return "";
}
public String _cb1_p4_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5804;BA.debugLine="Private Sub CB1_P4_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5805;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 6135;BA.debugLine="Private Sub CB1_P4_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6136;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
- //BA.debugLineNum = 5806;BA.debugLine="If CB1_P4_M2.Checked Then";
+ //BA.debugLineNum = 6137;BA.debugLine="If CB1_P4_M2.Checked Then";
if (_cb1_p4_m2.getChecked()) {
- //BA.debugLineNum = 5807;BA.debugLine="textemp3 = CB1_P4_M2.Text";
+ //BA.debugLineNum = 6138;BA.debugLine="textemp3 = CB1_P4_M2.Text";
_textemp3 = _cb1_p4_m2.getText();
}else {
- //BA.debugLineNum = 5809;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 6140;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
};
- //BA.debugLineNum = 5811;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6142;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb2_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb2_p4_m2.getText();};
- //BA.debugLineNum = 5812;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6143;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb3_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb3_p4_m2.getText();};
- //BA.debugLineNum = 5813;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6144;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb4_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb4_p4_m2.getText();};
- //BA.debugLineNum = 5814;BA.debugLine="Log(textemp3)";
-__c.LogImpl("722413322",_textemp3,0);
- //BA.debugLineNum = 5815;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6145;BA.debugLine="Log(textemp3)";
+__c.LogImpl("422544394",_textemp3,0);
+ //BA.debugLineNum = 6146;BA.debugLine="End Sub";
return "";
}
public String _cb1_p4_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5931;BA.debugLine="Private Sub CB1_P4_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5932;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6262;BA.debugLine="Private Sub CB1_P4_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6263;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
- //BA.debugLineNum = 5933;BA.debugLine="CB5_P4_M3.Checked = False";
+ //BA.debugLineNum = 6264;BA.debugLine="CB5_P4_M3.Checked = False";
_cb5_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5934;BA.debugLine="If CB1_P4_M3.Checked Then";
+ //BA.debugLineNum = 6265;BA.debugLine="If CB1_P4_M3.Checked Then";
if (_cb1_p4_m3.getChecked()) {
- //BA.debugLineNum = 5935;BA.debugLine="textemp5 = CB1_P4_M3.Text";
+ //BA.debugLineNum = 6266;BA.debugLine="textemp5 = CB1_P4_M3.Text";
_textemp5 = _cb1_p4_m3.getText();
}else {
- //BA.debugLineNum = 5937;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6268;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
};
- //BA.debugLineNum = 5939;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6270;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb2_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb2_p4_m3.getText();};
- //BA.debugLineNum = 5940;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6271;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb3_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb3_p4_m3.getText();};
- //BA.debugLineNum = 5941;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6272;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb4_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb4_p4_m3.getText();};
- //BA.debugLineNum = 5942;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6273;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb5_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb5_p4_m3.getText();};
- //BA.debugLineNum = 5943;BA.debugLine="Log(textemp5)";
-__c.LogImpl("723003148",_textemp5,0);
- //BA.debugLineNum = 5944;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6274;BA.debugLine="Log(textemp5)";
+__c.LogImpl("423134220",_textemp5,0);
+ //BA.debugLineNum = 6275;BA.debugLine="End Sub";
return "";
}
public String _cb1_p6_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6012;BA.debugLine="Private Sub CB1_P6_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6013;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6343;BA.debugLine="Private Sub CB1_P6_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6344;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
- //BA.debugLineNum = 6014;BA.debugLine="If CB1_P6_M3.Checked Then";
+ //BA.debugLineNum = 6345;BA.debugLine="If CB1_P6_M3.Checked Then";
if (_cb1_p6_m3.getChecked()) {
- //BA.debugLineNum = 6015;BA.debugLine="textemp6 = CB1_P6_M3.Text";
+ //BA.debugLineNum = 6346;BA.debugLine="textemp6 = CB1_P6_M3.Text";
_textemp6 = _cb1_p6_m3.getText();
}else {
- //BA.debugLineNum = 6017;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6348;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
};
- //BA.debugLineNum = 6019;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6350;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb2_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();};
- //BA.debugLineNum = 6020;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6351;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb3_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();};
- //BA.debugLineNum = 6021;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6352;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb4_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();};
- //BA.debugLineNum = 6022;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6353;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb5_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();};
- //BA.debugLineNum = 6023;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6354;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb6_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();};
- //BA.debugLineNum = 6024;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6355;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb7_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();};
- //BA.debugLineNum = 6025;BA.debugLine="Log(textemp6)";
-__c.LogImpl("723330829",_textemp6,0);
- //BA.debugLineNum = 6026;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6356;BA.debugLine="Log(textemp6)";
+__c.LogImpl("423461901",_textemp6,0);
+ //BA.debugLineNum = 6357;BA.debugLine="End Sub";
return "";
}
public String _cb1_p7_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6124;BA.debugLine="Private Sub CB1_P7_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6125;BA.debugLine="textemp7 = \"\"";
+ //BA.debugLineNum = 6455;BA.debugLine="Private Sub CB1_P7_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6456;BA.debugLine="textemp7 = \"\"";
_textemp7 = "";
- //BA.debugLineNum = 6126;BA.debugLine="If CB1_P7_M3.Checked Then";
+ //BA.debugLineNum = 6457;BA.debugLine="If CB1_P7_M3.Checked Then";
if (_cb1_p7_m3.getChecked()) {
- //BA.debugLineNum = 6127;BA.debugLine="textemp7 = CB1_P7_M3.Text";
+ //BA.debugLineNum = 6458;BA.debugLine="textemp7 = CB1_P7_M3.Text";
_textemp7 = _cb1_p7_m3.getText();
}else {
- //BA.debugLineNum = 6129;BA.debugLine="textemp7 = \"\"";
+ //BA.debugLineNum = 6460;BA.debugLine="textemp7 = \"\"";
_textemp7 = "";
};
- //BA.debugLineNum = 6131;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6462;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb2_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb2_p7_m3.getText();};
- //BA.debugLineNum = 6132;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6463;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb3_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb3_p7_m3.getText();};
- //BA.debugLineNum = 6133;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6464;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb4_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb4_p7_m3.getText();};
- //BA.debugLineNum = 6134;BA.debugLine="Log(textemp7)";
-__c.LogImpl("723789578",_textemp7,0);
- //BA.debugLineNum = 6135;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6465;BA.debugLine="Log(textemp7)";
+__c.LogImpl("423920650",_textemp7,0);
+ //BA.debugLineNum = 6466;BA.debugLine="End Sub";
return "";
}
public String _cb1_p8_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6181;BA.debugLine="Private Sub CB1_P8_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6182;BA.debugLine="textemp8 = \"\"";
+ //BA.debugLineNum = 6512;BA.debugLine="Private Sub CB1_P8_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6513;BA.debugLine="textemp8 = \"\"";
_textemp8 = "";
- //BA.debugLineNum = 6183;BA.debugLine="textemp8 = CB1_P8_M3.Text";
+ //BA.debugLineNum = 6514;BA.debugLine="textemp8 = CB1_P8_M3.Text";
_textemp8 = _cb1_p8_m3.getText();
- //BA.debugLineNum = 6184;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6515;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb2_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb2_p8_m3.getText();};
- //BA.debugLineNum = 6185;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6516;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb3_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb3_p8_m3.getText();};
- //BA.debugLineNum = 6186;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6517;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb4_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb4_p8_m3.getText();};
- //BA.debugLineNum = 6187;BA.debugLine="Log(textemp8)";
-__c.LogImpl("724051718",_textemp8,0);
- //BA.debugLineNum = 6188;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6518;BA.debugLine="Log(textemp8)";
+__c.LogImpl("424182790",_textemp8,0);
+ //BA.debugLineNum = 6519;BA.debugLine="End Sub";
return "";
}
public String _cb2_p3_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5746;BA.debugLine="Private Sub CB2_P3_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5747;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6077;BA.debugLine="Private Sub CB2_P3_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6078;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
- //BA.debugLineNum = 5748;BA.debugLine="If CB2_P3_M2.Checked Then";
+ //BA.debugLineNum = 6079;BA.debugLine="If CB2_P3_M2.Checked Then";
if (_cb2_p3_m2.getChecked()) {
- //BA.debugLineNum = 5749;BA.debugLine="textemp2 = CB2_P3_M2.Text";
+ //BA.debugLineNum = 6080;BA.debugLine="textemp2 = CB2_P3_M2.Text";
_textemp2 = _cb2_p3_m2.getText();
}else {
- //BA.debugLineNum = 5751;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6082;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
};
- //BA.debugLineNum = 5753;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6084;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb1_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb1_p3_m2.getText();};
- //BA.debugLineNum = 5754;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6085;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb3_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb3_p3_m2.getText();};
- //BA.debugLineNum = 5755;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6086;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb4_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb4_p3_m2.getText();};
- //BA.debugLineNum = 5756;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6087;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb5_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb5_p3_m2.getText();};
- //BA.debugLineNum = 5757;BA.debugLine="Log(textemp2)";
-__c.LogImpl("722151179",_textemp2,0);
- //BA.debugLineNum = 5758;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6088;BA.debugLine="Log(textemp2)";
+__c.LogImpl("422282251",_textemp2,0);
+ //BA.debugLineNum = 6089;BA.debugLine="End Sub";
return "";
}
public String _cb2_p3_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5873;BA.debugLine="Private Sub CB2_P3_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5874;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6204;BA.debugLine="Private Sub CB2_P3_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6205;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
- //BA.debugLineNum = 5875;BA.debugLine="If CB2_P3_M3.Checked Then";
+ //BA.debugLineNum = 6206;BA.debugLine="If CB2_P3_M3.Checked Then";
if (_cb2_p3_m3.getChecked()) {
- //BA.debugLineNum = 5876;BA.debugLine="textemp4 = CB2_P3_M3.Text";
+ //BA.debugLineNum = 6207;BA.debugLine="textemp4 = CB2_P3_M3.Text";
_textemp4 = _cb2_p3_m3.getText();
}else {
- //BA.debugLineNum = 5878;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6209;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
};
- //BA.debugLineNum = 5880;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6211;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb1_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb1_p3_m3.getText();};
- //BA.debugLineNum = 5881;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6212;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb3_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb3_p3_m3.getText();};
- //BA.debugLineNum = 5882;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6213;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb4_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb4_p3_m3.getText();};
- //BA.debugLineNum = 5883;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6214;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb5_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb5_p3_m3.getText();};
- //BA.debugLineNum = 5884;BA.debugLine="Log(textemp4)";
-__c.LogImpl("722741003",_textemp4,0);
- //BA.debugLineNum = 5885;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6215;BA.debugLine="Log(textemp4)";
+__c.LogImpl("422872075",_textemp4,0);
+ //BA.debugLineNum = 6216;BA.debugLine="End Sub";
return "";
}
public String _cb2_p4_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5817;BA.debugLine="Private Sub CB2_P4_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5818;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 6148;BA.debugLine="Private Sub CB2_P4_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6149;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
- //BA.debugLineNum = 5819;BA.debugLine="If CB2_P4_M2.Checked Then";
+ //BA.debugLineNum = 6150;BA.debugLine="If CB2_P4_M2.Checked Then";
if (_cb2_p4_m2.getChecked()) {
- //BA.debugLineNum = 5820;BA.debugLine="textemp3 = CB2_P4_M2.Text";
+ //BA.debugLineNum = 6151;BA.debugLine="textemp3 = CB2_P4_M2.Text";
_textemp3 = _cb2_p4_m2.getText();
}else {
- //BA.debugLineNum = 5822;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 6153;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
};
- //BA.debugLineNum = 5824;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6155;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb1_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb1_p4_m2.getText();};
- //BA.debugLineNum = 5825;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6156;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb3_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb3_p4_m2.getText();};
- //BA.debugLineNum = 5826;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6157;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb4_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb4_p4_m2.getText();};
- //BA.debugLineNum = 5827;BA.debugLine="Log(textemp3)";
-__c.LogImpl("722478858",_textemp3,0);
- //BA.debugLineNum = 5828;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6158;BA.debugLine="Log(textemp3)";
+__c.LogImpl("422609930",_textemp3,0);
+ //BA.debugLineNum = 6159;BA.debugLine="End Sub";
return "";
}
public String _cb2_p4_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5946;BA.debugLine="Private Sub CB2_P4_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5947;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6277;BA.debugLine="Private Sub CB2_P4_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6278;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
- //BA.debugLineNum = 5948;BA.debugLine="CB5_P4_M3.Checked = False";
+ //BA.debugLineNum = 6279;BA.debugLine="CB5_P4_M3.Checked = False";
_cb5_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5949;BA.debugLine="If CB2_P4_M3.Checked Then";
+ //BA.debugLineNum = 6280;BA.debugLine="If CB2_P4_M3.Checked Then";
if (_cb2_p4_m3.getChecked()) {
- //BA.debugLineNum = 5950;BA.debugLine="textemp5 = CB2_P4_M3.Text";
+ //BA.debugLineNum = 6281;BA.debugLine="textemp5 = CB2_P4_M3.Text";
_textemp5 = _cb2_p4_m3.getText();
}else {
- //BA.debugLineNum = 5952;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6283;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
};
- //BA.debugLineNum = 5954;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6285;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb1_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb1_p4_m3.getText();};
- //BA.debugLineNum = 5955;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6286;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb3_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb3_p4_m3.getText();};
- //BA.debugLineNum = 5956;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6287;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb4_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb4_p4_m3.getText();};
- //BA.debugLineNum = 5957;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6288;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb5_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb5_p4_m3.getText();};
- //BA.debugLineNum = 5958;BA.debugLine="Log(textemp5)";
-__c.LogImpl("723068684",_textemp5,0);
- //BA.debugLineNum = 5959;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6289;BA.debugLine="Log(textemp5)";
+__c.LogImpl("423199756",_textemp5,0);
+ //BA.debugLineNum = 6290;BA.debugLine="End Sub";
return "";
}
public String _cb2_p6_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6028;BA.debugLine="Private Sub CB2_P6_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6029;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6359;BA.debugLine="Private Sub CB2_P6_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6360;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
- //BA.debugLineNum = 6030;BA.debugLine="If CB2_P6_M3.Checked Then";
+ //BA.debugLineNum = 6361;BA.debugLine="If CB2_P6_M3.Checked Then";
if (_cb2_p6_m3.getChecked()) {
- //BA.debugLineNum = 6031;BA.debugLine="textemp6 = CB2_P6_M3.Text";
+ //BA.debugLineNum = 6362;BA.debugLine="textemp6 = CB2_P6_M3.Text";
_textemp6 = _cb2_p6_m3.getText();
}else {
- //BA.debugLineNum = 6033;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6364;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
};
- //BA.debugLineNum = 6035;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6366;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb1_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();};
- //BA.debugLineNum = 6036;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6367;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb3_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();};
- //BA.debugLineNum = 6037;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6368;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb4_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();};
- //BA.debugLineNum = 6038;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6369;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb5_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();};
- //BA.debugLineNum = 6039;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6370;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb6_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();};
- //BA.debugLineNum = 6040;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6371;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb7_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();};
- //BA.debugLineNum = 6041;BA.debugLine="Log(textemp6)";
-__c.LogImpl("723396365",_textemp6,0);
- //BA.debugLineNum = 6042;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6372;BA.debugLine="Log(textemp6)";
+__c.LogImpl("423527437",_textemp6,0);
+ //BA.debugLineNum = 6373;BA.debugLine="End Sub";
return "";
}
public String _cb2_p7_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6137;BA.debugLine="Private Sub CB2_P7_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6138;BA.debugLine="textemp7 = \"\"";
+ //BA.debugLineNum = 6468;BA.debugLine="Private Sub CB2_P7_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6469;BA.debugLine="textemp7 = \"\"";
_textemp7 = "";
- //BA.debugLineNum = 6139;BA.debugLine="If CB2_P7_M3.Checked Then";
+ //BA.debugLineNum = 6470;BA.debugLine="If CB2_P7_M3.Checked Then";
if (_cb2_p7_m3.getChecked()) {
- //BA.debugLineNum = 6140;BA.debugLine="textemp7 = CB2_P7_M3.Text";
+ //BA.debugLineNum = 6471;BA.debugLine="textemp7 = CB2_P7_M3.Text";
_textemp7 = _cb2_p7_m3.getText();
}else {
- //BA.debugLineNum = 6142;BA.debugLine="textemp7 = \"\"";
+ //BA.debugLineNum = 6473;BA.debugLine="textemp7 = \"\"";
_textemp7 = "";
};
- //BA.debugLineNum = 6144;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6475;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb1_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb1_p7_m3.getText();};
- //BA.debugLineNum = 6145;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6476;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb3_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb3_p7_m3.getText();};
- //BA.debugLineNum = 6146;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6477;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb4_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb4_p7_m3.getText();};
- //BA.debugLineNum = 6147;BA.debugLine="Log(textemp7)";
-__c.LogImpl("723855114",_textemp7,0);
- //BA.debugLineNum = 6148;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6478;BA.debugLine="Log(textemp7)";
+__c.LogImpl("423986186",_textemp7,0);
+ //BA.debugLineNum = 6479;BA.debugLine="End Sub";
return "";
}
public String _cb2_p8_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6190;BA.debugLine="Private Sub CB2_P8_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6191;BA.debugLine="textemp8 = \"\"";
+ //BA.debugLineNum = 6521;BA.debugLine="Private Sub CB2_P8_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6522;BA.debugLine="textemp8 = \"\"";
_textemp8 = "";
- //BA.debugLineNum = 6192;BA.debugLine="textemp8 = CB2_P8_M3.Text";
+ //BA.debugLineNum = 6523;BA.debugLine="textemp8 = CB2_P8_M3.Text";
_textemp8 = _cb2_p8_m3.getText();
- //BA.debugLineNum = 6193;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6524;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb1_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb1_p8_m3.getText();};
- //BA.debugLineNum = 6194;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6525;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb3_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb3_p8_m3.getText();};
- //BA.debugLineNum = 6195;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6526;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb4_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb4_p8_m3.getText();};
- //BA.debugLineNum = 6196;BA.debugLine="Log(textemp8)";
-__c.LogImpl("724117254",_textemp8,0);
- //BA.debugLineNum = 6197;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6527;BA.debugLine="Log(textemp8)";
+__c.LogImpl("424248326",_textemp8,0);
+ //BA.debugLineNum = 6528;BA.debugLine="End Sub";
return "";
}
public String _cb3_p3_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5760;BA.debugLine="Private Sub CB3_P3_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5761;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6091;BA.debugLine="Private Sub CB3_P3_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6092;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
- //BA.debugLineNum = 5762;BA.debugLine="If CB3_P3_M2.Checked Then";
+ //BA.debugLineNum = 6093;BA.debugLine="If CB3_P3_M2.Checked Then";
if (_cb3_p3_m2.getChecked()) {
- //BA.debugLineNum = 5763;BA.debugLine="textemp2 = CB3_P3_M2.Text";
+ //BA.debugLineNum = 6094;BA.debugLine="textemp2 = CB3_P3_M2.Text";
_textemp2 = _cb3_p3_m2.getText();
}else {
- //BA.debugLineNum = 5765;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6096;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
};
- //BA.debugLineNum = 5767;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6098;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb1_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb1_p3_m2.getText();};
- //BA.debugLineNum = 5768;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6099;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb2_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb2_p3_m2.getText();};
- //BA.debugLineNum = 5769;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6100;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb4_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb4_p3_m2.getText();};
- //BA.debugLineNum = 5770;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6101;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb5_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb5_p3_m2.getText();};
- //BA.debugLineNum = 5771;BA.debugLine="Log(textemp2)";
-__c.LogImpl("722216715",_textemp2,0);
- //BA.debugLineNum = 5772;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6102;BA.debugLine="Log(textemp2)";
+__c.LogImpl("422347787",_textemp2,0);
+ //BA.debugLineNum = 6103;BA.debugLine="End Sub";
return "";
}
public String _cb3_p3_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5887;BA.debugLine="Private Sub CB3_P3_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5888;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6218;BA.debugLine="Private Sub CB3_P3_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6219;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
- //BA.debugLineNum = 5889;BA.debugLine="If CB3_P3_M3.Checked Then";
+ //BA.debugLineNum = 6220;BA.debugLine="If CB3_P3_M3.Checked Then";
if (_cb3_p3_m3.getChecked()) {
- //BA.debugLineNum = 5890;BA.debugLine="textemp4 = CB3_P3_M3.Text";
+ //BA.debugLineNum = 6221;BA.debugLine="textemp4 = CB3_P3_M3.Text";
_textemp4 = _cb3_p3_m3.getText();
}else {
- //BA.debugLineNum = 5892;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6223;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
};
- //BA.debugLineNum = 5894;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6225;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb1_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb1_p3_m3.getText();};
- //BA.debugLineNum = 5895;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6226;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb2_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb2_p3_m3.getText();};
- //BA.debugLineNum = 5896;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6227;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb4_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb4_p3_m3.getText();};
- //BA.debugLineNum = 5897;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6228;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb5_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb5_p3_m3.getText();};
- //BA.debugLineNum = 5898;BA.debugLine="Log(textemp4)";
-__c.LogImpl("722806539",_textemp4,0);
- //BA.debugLineNum = 5899;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6229;BA.debugLine="Log(textemp4)";
+__c.LogImpl("422937611",_textemp4,0);
+ //BA.debugLineNum = 6230;BA.debugLine="End Sub";
return "";
}
public String _cb3_p4_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5830;BA.debugLine="Private Sub CB3_P4_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5831;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 6161;BA.debugLine="Private Sub CB3_P4_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6162;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
- //BA.debugLineNum = 5832;BA.debugLine="If CB3_P4_M2.Checked Then";
+ //BA.debugLineNum = 6163;BA.debugLine="If CB3_P4_M2.Checked Then";
if (_cb3_p4_m2.getChecked()) {
- //BA.debugLineNum = 5833;BA.debugLine="textemp3 = CB3_P4_M2.Text";
+ //BA.debugLineNum = 6164;BA.debugLine="textemp3 = CB3_P4_M2.Text";
_textemp3 = _cb3_p4_m2.getText();
}else {
- //BA.debugLineNum = 5835;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 6166;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
};
- //BA.debugLineNum = 5837;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6168;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb1_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb1_p4_m2.getText();};
- //BA.debugLineNum = 5838;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6169;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb2_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb2_p4_m2.getText();};
- //BA.debugLineNum = 5839;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6170;BA.debugLine="If CB4_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb4_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb4_p4_m2.getText();};
- //BA.debugLineNum = 5840;BA.debugLine="Log(textemp3)";
-__c.LogImpl("722544394",_textemp3,0);
- //BA.debugLineNum = 5841;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6171;BA.debugLine="Log(textemp3)";
+__c.LogImpl("422675466",_textemp3,0);
+ //BA.debugLineNum = 6172;BA.debugLine="End Sub";
return "";
}
public String _cb3_p4_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5961;BA.debugLine="Private Sub CB3_P4_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5962;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6292;BA.debugLine="Private Sub CB3_P4_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6293;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
- //BA.debugLineNum = 5963;BA.debugLine="CB5_P4_M3.Checked = False";
+ //BA.debugLineNum = 6294;BA.debugLine="CB5_P4_M3.Checked = False";
_cb5_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5964;BA.debugLine="If CB3_P4_M3.Checked Then";
+ //BA.debugLineNum = 6295;BA.debugLine="If CB3_P4_M3.Checked Then";
if (_cb3_p4_m3.getChecked()) {
- //BA.debugLineNum = 5965;BA.debugLine="textemp5 = CB3_P4_M3.Text";
+ //BA.debugLineNum = 6296;BA.debugLine="textemp5 = CB3_P4_M3.Text";
_textemp5 = _cb3_p4_m3.getText();
}else {
- //BA.debugLineNum = 5967;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6298;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
};
- //BA.debugLineNum = 5969;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6300;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb1_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb1_p4_m3.getText();};
- //BA.debugLineNum = 5970;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6301;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb2_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb2_p4_m3.getText();};
- //BA.debugLineNum = 5971;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6302;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb4_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb4_p4_m3.getText();};
- //BA.debugLineNum = 5972;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6303;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb5_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb5_p4_m3.getText();};
- //BA.debugLineNum = 5973;BA.debugLine="Log(textemp5)";
-__c.LogImpl("723134220",_textemp5,0);
- //BA.debugLineNum = 5974;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6304;BA.debugLine="Log(textemp5)";
+__c.LogImpl("423265292",_textemp5,0);
+ //BA.debugLineNum = 6305;BA.debugLine="End Sub";
return "";
}
public String _cb3_p6_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6044;BA.debugLine="Private Sub CB3_P6_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6045;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6375;BA.debugLine="Private Sub CB3_P6_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6376;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
- //BA.debugLineNum = 6046;BA.debugLine="If CB3_P6_M3.Checked Then";
+ //BA.debugLineNum = 6377;BA.debugLine="If CB3_P6_M3.Checked Then";
if (_cb3_p6_m3.getChecked()) {
- //BA.debugLineNum = 6047;BA.debugLine="textemp6 = CB3_P6_M3.Text";
+ //BA.debugLineNum = 6378;BA.debugLine="textemp6 = CB3_P6_M3.Text";
_textemp6 = _cb3_p6_m3.getText();
}else {
- //BA.debugLineNum = 6049;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6380;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
};
- //BA.debugLineNum = 6051;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6382;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb1_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();};
- //BA.debugLineNum = 6052;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6383;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb2_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();};
- //BA.debugLineNum = 6053;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6384;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb4_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();};
- //BA.debugLineNum = 6054;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6385;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb5_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();};
- //BA.debugLineNum = 6055;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6386;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb6_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();};
- //BA.debugLineNum = 6056;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6387;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb7_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();};
- //BA.debugLineNum = 6057;BA.debugLine="Log(textemp6)";
-__c.LogImpl("723461901",_textemp6,0);
- //BA.debugLineNum = 6058;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6388;BA.debugLine="Log(textemp6)";
+__c.LogImpl("423592973",_textemp6,0);
+ //BA.debugLineNum = 6389;BA.debugLine="End Sub";
return "";
}
public String _cb3_p7_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6150;BA.debugLine="Private Sub CB3_P7_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6151;BA.debugLine="textemp7 = \"\"";
+ //BA.debugLineNum = 6481;BA.debugLine="Private Sub CB3_P7_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6482;BA.debugLine="textemp7 = \"\"";
_textemp7 = "";
- //BA.debugLineNum = 6152;BA.debugLine="If CB3_P7_M3.Checked Then";
+ //BA.debugLineNum = 6483;BA.debugLine="If CB3_P7_M3.Checked Then";
if (_cb3_p7_m3.getChecked()) {
- //BA.debugLineNum = 6153;BA.debugLine="textemp7 = CB3_P7_M3.Text";
+ //BA.debugLineNum = 6484;BA.debugLine="textemp7 = CB3_P7_M3.Text";
_textemp7 = _cb3_p7_m3.getText();
}else {
- //BA.debugLineNum = 6155;BA.debugLine="textemp7 = \"\"";
+ //BA.debugLineNum = 6486;BA.debugLine="textemp7 = \"\"";
_textemp7 = "";
};
- //BA.debugLineNum = 6157;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6488;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb1_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb1_p7_m3.getText();};
- //BA.debugLineNum = 6158;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6489;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb2_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb2_p7_m3.getText();};
- //BA.debugLineNum = 6159;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6490;BA.debugLine="If CB4_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb4_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb4_p7_m3.getText();};
- //BA.debugLineNum = 6160;BA.debugLine="Log(textemp7)";
-__c.LogImpl("723920650",_textemp7,0);
- //BA.debugLineNum = 6161;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6491;BA.debugLine="Log(textemp7)";
+__c.LogImpl("424051722",_textemp7,0);
+ //BA.debugLineNum = 6492;BA.debugLine="End Sub";
return "";
}
public String _cb3_p8_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6199;BA.debugLine="Private Sub CB3_P8_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6200;BA.debugLine="textemp8 = \"\"";
+ //BA.debugLineNum = 6530;BA.debugLine="Private Sub CB3_P8_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6531;BA.debugLine="textemp8 = \"\"";
_textemp8 = "";
- //BA.debugLineNum = 6201;BA.debugLine="textemp8 = CB3_P8_M3.Text";
+ //BA.debugLineNum = 6532;BA.debugLine="textemp8 = CB3_P8_M3.Text";
_textemp8 = _cb3_p8_m3.getText();
- //BA.debugLineNum = 6202;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6533;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb1_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb1_p8_m3.getText();};
- //BA.debugLineNum = 6203;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6534;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb2_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb2_p8_m3.getText();};
- //BA.debugLineNum = 6204;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6535;BA.debugLine="If CB4_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb4_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb4_p8_m3.getText();};
- //BA.debugLineNum = 6205;BA.debugLine="Log(textemp8)";
-__c.LogImpl("724182790",_textemp8,0);
- //BA.debugLineNum = 6206;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6536;BA.debugLine="Log(textemp8)";
+__c.LogImpl("424313862",_textemp8,0);
+ //BA.debugLineNum = 6537;BA.debugLine="End Sub";
return "";
}
public String _cb4_p3_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5774;BA.debugLine="Private Sub CB4_P3_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5775;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6105;BA.debugLine="Private Sub CB4_P3_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6106;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
- //BA.debugLineNum = 5776;BA.debugLine="If CB4_P3_M2.Checked Then";
+ //BA.debugLineNum = 6107;BA.debugLine="If CB4_P3_M2.Checked Then";
if (_cb4_p3_m2.getChecked()) {
- //BA.debugLineNum = 5777;BA.debugLine="textemp2 = CB4_P3_M2.Text";
+ //BA.debugLineNum = 6108;BA.debugLine="textemp2 = CB4_P3_M2.Text";
_textemp2 = _cb4_p3_m2.getText();
}else {
- //BA.debugLineNum = 5779;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6110;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
};
- //BA.debugLineNum = 5781;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6112;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb1_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb1_p3_m2.getText();};
- //BA.debugLineNum = 5782;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6113;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb2_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb2_p3_m2.getText();};
- //BA.debugLineNum = 5783;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6114;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb3_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb3_p3_m2.getText();};
- //BA.debugLineNum = 5784;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6115;BA.debugLine="If CB5_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb5_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb5_p3_m2.getText();};
- //BA.debugLineNum = 5785;BA.debugLine="Log(textemp2)";
-__c.LogImpl("722282251",_textemp2,0);
- //BA.debugLineNum = 5786;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6116;BA.debugLine="Log(textemp2)";
+__c.LogImpl("422413323",_textemp2,0);
+ //BA.debugLineNum = 6117;BA.debugLine="End Sub";
return "";
}
public String _cb4_p3_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5901;BA.debugLine="Private Sub CB4_P3_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5902;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6232;BA.debugLine="Private Sub CB4_P3_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6233;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
- //BA.debugLineNum = 5903;BA.debugLine="If CB4_P3_M3.Checked Then";
+ //BA.debugLineNum = 6234;BA.debugLine="If CB4_P3_M3.Checked Then";
if (_cb4_p3_m3.getChecked()) {
- //BA.debugLineNum = 5904;BA.debugLine="textemp4 = CB4_P3_M3.Text";
+ //BA.debugLineNum = 6235;BA.debugLine="textemp4 = CB4_P3_M3.Text";
_textemp4 = _cb4_p3_m3.getText();
}else {
- //BA.debugLineNum = 5906;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6237;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
};
- //BA.debugLineNum = 5908;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6239;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb1_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb1_p3_m3.getText();};
- //BA.debugLineNum = 5909;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6240;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb2_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb2_p3_m3.getText();};
- //BA.debugLineNum = 5910;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6241;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb3_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb3_p3_m3.getText();};
- //BA.debugLineNum = 5911;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6242;BA.debugLine="If CB5_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb5_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb5_p3_m3.getText();};
- //BA.debugLineNum = 5912;BA.debugLine="Log(textemp4)";
-__c.LogImpl("722872075",_textemp4,0);
- //BA.debugLineNum = 5913;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6243;BA.debugLine="Log(textemp4)";
+__c.LogImpl("423003147",_textemp4,0);
+ //BA.debugLineNum = 6244;BA.debugLine="End Sub";
return "";
}
public String _cb4_p4_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5843;BA.debugLine="Private Sub CB4_P4_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5844;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 6174;BA.debugLine="Private Sub CB4_P4_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6175;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
- //BA.debugLineNum = 5845;BA.debugLine="If CB4_P4_M2.Checked Then";
+ //BA.debugLineNum = 6176;BA.debugLine="If CB4_P4_M2.Checked Then";
if (_cb4_p4_m2.getChecked()) {
- //BA.debugLineNum = 5846;BA.debugLine="textemp3 = CB4_P4_M2.Text";
+ //BA.debugLineNum = 6177;BA.debugLine="textemp3 = CB4_P4_M2.Text";
_textemp3 = _cb4_p4_m2.getText();
}else {
- //BA.debugLineNum = 5848;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 6179;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
};
- //BA.debugLineNum = 5850;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6181;BA.debugLine="If CB1_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb1_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb1_p4_m2.getText();};
- //BA.debugLineNum = 5851;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6182;BA.debugLine="If CB2_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb2_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb2_p4_m2.getText();};
- //BA.debugLineNum = 5852;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
+ //BA.debugLineNum = 6183;BA.debugLine="If CB3_P4_M2.Checked Then textemp3 = textemp3 & \"";
if (_cb3_p4_m2.getChecked()) {
_textemp3 = _textemp3+", "+_cb3_p4_m2.getText();};
- //BA.debugLineNum = 5853;BA.debugLine="Log(textemp3)";
-__c.LogImpl("722609930",_textemp3,0);
- //BA.debugLineNum = 5854;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6184;BA.debugLine="Log(textemp3)";
+__c.LogImpl("422741002",_textemp3,0);
+ //BA.debugLineNum = 6185;BA.debugLine="End Sub";
return "";
}
public String _cb4_p4_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5976;BA.debugLine="Private Sub CB4_P4_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5977;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6307;BA.debugLine="Private Sub CB4_P4_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6308;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
- //BA.debugLineNum = 5978;BA.debugLine="CB5_P4_M3.Checked = False";
+ //BA.debugLineNum = 6309;BA.debugLine="CB5_P4_M3.Checked = False";
_cb5_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5979;BA.debugLine="If CB4_P4_M3.Checked Then";
+ //BA.debugLineNum = 6310;BA.debugLine="If CB4_P4_M3.Checked Then";
if (_cb4_p4_m3.getChecked()) {
- //BA.debugLineNum = 5980;BA.debugLine="textemp5 = CB4_P4_M3.Text";
+ //BA.debugLineNum = 6311;BA.debugLine="textemp5 = CB4_P4_M3.Text";
_textemp5 = _cb4_p4_m3.getText();
}else {
- //BA.debugLineNum = 5982;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6313;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
};
- //BA.debugLineNum = 5984;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6315;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb1_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb1_p4_m3.getText();};
- //BA.debugLineNum = 5985;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6316;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb2_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb2_p4_m3.getText();};
- //BA.debugLineNum = 5986;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6317;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb3_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb3_p4_m3.getText();};
- //BA.debugLineNum = 5987;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6318;BA.debugLine="If CB5_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb5_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb5_p4_m3.getText();};
- //BA.debugLineNum = 5988;BA.debugLine="Log(textemp5)";
-__c.LogImpl("723199756",_textemp5,0);
- //BA.debugLineNum = 5989;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6319;BA.debugLine="Log(textemp5)";
+__c.LogImpl("423330828",_textemp5,0);
+ //BA.debugLineNum = 6320;BA.debugLine="End Sub";
return "";
}
public String _cb4_p6_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6060;BA.debugLine="Private Sub CB4_P6_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6061;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6391;BA.debugLine="Private Sub CB4_P6_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6392;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
- //BA.debugLineNum = 6062;BA.debugLine="If CB4_P6_M3.Checked Then";
+ //BA.debugLineNum = 6393;BA.debugLine="If CB4_P6_M3.Checked Then";
if (_cb4_p6_m3.getChecked()) {
- //BA.debugLineNum = 6063;BA.debugLine="textemp6 = CB4_P6_M3.Text";
+ //BA.debugLineNum = 6394;BA.debugLine="textemp6 = CB4_P6_M3.Text";
_textemp6 = _cb4_p6_m3.getText();
}else {
- //BA.debugLineNum = 6065;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6396;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
};
- //BA.debugLineNum = 6067;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6398;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb1_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();};
- //BA.debugLineNum = 6068;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6399;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb2_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();};
- //BA.debugLineNum = 6069;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6400;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb3_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();};
- //BA.debugLineNum = 6070;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6401;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb5_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();};
- //BA.debugLineNum = 6071;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6402;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb6_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();};
- //BA.debugLineNum = 6072;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6403;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb7_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();};
- //BA.debugLineNum = 6073;BA.debugLine="Log(textemp6)";
-__c.LogImpl("723527437",_textemp6,0);
- //BA.debugLineNum = 6074;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6404;BA.debugLine="Log(textemp6)";
+__c.LogImpl("423658509",_textemp6,0);
+ //BA.debugLineNum = 6405;BA.debugLine="End Sub";
return "";
}
public String _cb4_p7_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6163;BA.debugLine="Private Sub CB4_P7_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6164;BA.debugLine="textemp7 = \"\"";
+ //BA.debugLineNum = 6494;BA.debugLine="Private Sub CB4_P7_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6495;BA.debugLine="textemp7 = \"\"";
_textemp7 = "";
- //BA.debugLineNum = 6165;BA.debugLine="If CB4_P7_M3.Checked Then";
+ //BA.debugLineNum = 6496;BA.debugLine="If CB4_P7_M3.Checked Then";
if (_cb4_p7_m3.getChecked()) {
- //BA.debugLineNum = 6166;BA.debugLine="textemp7 = CB4_P7_M3.Text";
+ //BA.debugLineNum = 6497;BA.debugLine="textemp7 = CB4_P7_M3.Text";
_textemp7 = _cb4_p7_m3.getText();
}else {
- //BA.debugLineNum = 6168;BA.debugLine="textemp7 = \"\"";
+ //BA.debugLineNum = 6499;BA.debugLine="textemp7 = \"\"";
_textemp7 = "";
};
- //BA.debugLineNum = 6170;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6501;BA.debugLine="If CB1_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb1_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb1_p7_m3.getText();};
- //BA.debugLineNum = 6171;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6502;BA.debugLine="If CB2_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb2_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb2_p7_m3.getText();};
- //BA.debugLineNum = 6172;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
+ //BA.debugLineNum = 6503;BA.debugLine="If CB3_P7_M3.Checked Then textemp7 = textemp7 & \"";
if (_cb3_p7_m3.getChecked()) {
_textemp7 = _textemp7+", "+_cb3_p7_m3.getText();};
- //BA.debugLineNum = 6173;BA.debugLine="Log(textemp7)";
-__c.LogImpl("723986186",_textemp7,0);
- //BA.debugLineNum = 6174;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6504;BA.debugLine="Log(textemp7)";
+__c.LogImpl("424117258",_textemp7,0);
+ //BA.debugLineNum = 6505;BA.debugLine="End Sub";
return "";
}
public String _cb4_p8_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6208;BA.debugLine="Private Sub CB4_P8_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6209;BA.debugLine="textemp8 = \"\"";
+ //BA.debugLineNum = 6539;BA.debugLine="Private Sub CB4_P8_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6540;BA.debugLine="textemp8 = \"\"";
_textemp8 = "";
- //BA.debugLineNum = 6210;BA.debugLine="textemp8 = CB4_P8_M3.Text";
+ //BA.debugLineNum = 6541;BA.debugLine="textemp8 = CB4_P8_M3.Text";
_textemp8 = _cb4_p8_m3.getText();
- //BA.debugLineNum = 6211;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6542;BA.debugLine="If CB1_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb1_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb1_p8_m3.getText();};
- //BA.debugLineNum = 6212;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6543;BA.debugLine="If CB2_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb2_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb2_p8_m3.getText();};
- //BA.debugLineNum = 6213;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
+ //BA.debugLineNum = 6544;BA.debugLine="If CB3_P8_M3.Checked Then textemp8 = textemp8 & \"";
if (_cb3_p8_m3.getChecked()) {
_textemp8 = _textemp8+", "+_cb3_p8_m3.getText();};
- //BA.debugLineNum = 6214;BA.debugLine="Log(textemp8)";
-__c.LogImpl("724248326",_textemp8,0);
- //BA.debugLineNum = 6215;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6545;BA.debugLine="Log(textemp8)";
+__c.LogImpl("424379398",_textemp8,0);
+ //BA.debugLineNum = 6546;BA.debugLine="End Sub";
return "";
}
public String _cb5_p3_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5788;BA.debugLine="Private Sub CB5_P3_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5789;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6119;BA.debugLine="Private Sub CB5_P3_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6120;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
- //BA.debugLineNum = 5790;BA.debugLine="If CB5_P3_M2.Checked Then";
+ //BA.debugLineNum = 6121;BA.debugLine="If CB5_P3_M2.Checked Then";
if (_cb5_p3_m2.getChecked()) {
- //BA.debugLineNum = 5791;BA.debugLine="textemp2 = CB5_P3_M2.Text";
+ //BA.debugLineNum = 6122;BA.debugLine="textemp2 = CB5_P3_M2.Text";
_textemp2 = _cb5_p3_m2.getText();
}else {
- //BA.debugLineNum = 5793;BA.debugLine="textemp2 = \"\"";
+ //BA.debugLineNum = 6124;BA.debugLine="textemp2 = \"\"";
_textemp2 = "";
};
- //BA.debugLineNum = 5795;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6126;BA.debugLine="If CB1_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb1_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb1_p3_m2.getText();};
- //BA.debugLineNum = 5796;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6127;BA.debugLine="If CB2_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb2_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb2_p3_m2.getText();};
- //BA.debugLineNum = 5797;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6128;BA.debugLine="If CB3_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb3_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb3_p3_m2.getText();};
- //BA.debugLineNum = 5798;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
+ //BA.debugLineNum = 6129;BA.debugLine="If CB4_P3_M2.Checked Then textemp2 = textemp2 & \"";
if (_cb4_p3_m2.getChecked()) {
_textemp2 = _textemp2+", "+_cb4_p3_m2.getText();};
- //BA.debugLineNum = 5799;BA.debugLine="Log(textemp2)";
-__c.LogImpl("722347787",_textemp2,0);
- //BA.debugLineNum = 5800;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6130;BA.debugLine="Log(textemp2)";
+__c.LogImpl("422478859",_textemp2,0);
+ //BA.debugLineNum = 6131;BA.debugLine="End Sub";
return "";
}
public String _cb5_p3_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5915;BA.debugLine="Private Sub CB5_P3_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5916;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6246;BA.debugLine="Private Sub CB5_P3_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6247;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
- //BA.debugLineNum = 5917;BA.debugLine="If CB5_P3_M3.Checked Then";
+ //BA.debugLineNum = 6248;BA.debugLine="If CB5_P3_M3.Checked Then";
if (_cb5_p3_m3.getChecked()) {
- //BA.debugLineNum = 5918;BA.debugLine="textemp4 = CB5_P3_M3.Text";
+ //BA.debugLineNum = 6249;BA.debugLine="textemp4 = CB5_P3_M3.Text";
_textemp4 = _cb5_p3_m3.getText();
}else {
- //BA.debugLineNum = 5920;BA.debugLine="textemp4 = \"\"";
+ //BA.debugLineNum = 6251;BA.debugLine="textemp4 = \"\"";
_textemp4 = "";
};
- //BA.debugLineNum = 5922;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6253;BA.debugLine="If CB1_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb1_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb1_p3_m3.getText();};
- //BA.debugLineNum = 5923;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6254;BA.debugLine="If CB2_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb2_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb2_p3_m3.getText();};
- //BA.debugLineNum = 5924;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6255;BA.debugLine="If CB3_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb3_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb3_p3_m3.getText();};
- //BA.debugLineNum = 5925;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
+ //BA.debugLineNum = 6256;BA.debugLine="If CB4_P3_M3.Checked Then textemp4 = textemp4 & \"";
if (_cb4_p3_m3.getChecked()) {
_textemp4 = _textemp4+", "+_cb4_p3_m3.getText();};
- //BA.debugLineNum = 5926;BA.debugLine="Log(textemp4)";
-__c.LogImpl("722937611",_textemp4,0);
- //BA.debugLineNum = 5927;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6257;BA.debugLine="Log(textemp4)";
+__c.LogImpl("423068683",_textemp4,0);
+ //BA.debugLineNum = 6258;BA.debugLine="End Sub";
return "";
}
public String _cb5_p4_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5991;BA.debugLine="Private Sub CB5_P4_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5992;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6322;BA.debugLine="Private Sub CB5_P4_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6323;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
- //BA.debugLineNum = 5993;BA.debugLine="CB1_P4_M3.Checked = False";
+ //BA.debugLineNum = 6324;BA.debugLine="CB1_P4_M3.Checked = False";
_cb1_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5994;BA.debugLine="CB2_P4_M3.Checked = False";
+ //BA.debugLineNum = 6325;BA.debugLine="CB2_P4_M3.Checked = False";
_cb2_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5995;BA.debugLine="CB3_P4_M3.Checked = False";
+ //BA.debugLineNum = 6326;BA.debugLine="CB3_P4_M3.Checked = False";
_cb3_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5996;BA.debugLine="CB4_P4_M3.Checked = False";
+ //BA.debugLineNum = 6327;BA.debugLine="CB4_P4_M3.Checked = False";
_cb4_p4_m3.setChecked(__c.False);
- //BA.debugLineNum = 5997;BA.debugLine="If CB5_P4_M3.Checked Then";
+ //BA.debugLineNum = 6328;BA.debugLine="If CB5_P4_M3.Checked Then";
if (_cb5_p4_m3.getChecked()) {
- //BA.debugLineNum = 5998;BA.debugLine="textemp5 = CB5_P4_M3.Text";
+ //BA.debugLineNum = 6329;BA.debugLine="textemp5 = CB5_P4_M3.Text";
_textemp5 = _cb5_p4_m3.getText();
}else {
- //BA.debugLineNum = 6000;BA.debugLine="textemp5 = \"\"";
+ //BA.debugLineNum = 6331;BA.debugLine="textemp5 = \"\"";
_textemp5 = "";
};
- //BA.debugLineNum = 6002;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6333;BA.debugLine="If CB1_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb1_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb1_p4_m3.getText();};
- //BA.debugLineNum = 6003;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6334;BA.debugLine="If CB2_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb2_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb2_p4_m3.getText();};
- //BA.debugLineNum = 6004;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6335;BA.debugLine="If CB3_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb3_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb3_p4_m3.getText();};
- //BA.debugLineNum = 6005;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
+ //BA.debugLineNum = 6336;BA.debugLine="If CB4_P4_M3.Checked Then textemp5 = textemp5 & \"";
if (_cb4_p4_m3.getChecked()) {
_textemp5 = _textemp5+", "+_cb4_p4_m3.getText();};
- //BA.debugLineNum = 6006;BA.debugLine="Log(textemp5)";
-__c.LogImpl("723265295",_textemp5,0);
- //BA.debugLineNum = 6007;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6337;BA.debugLine="Log(textemp5)";
+__c.LogImpl("423396367",_textemp5,0);
+ //BA.debugLineNum = 6338;BA.debugLine="End Sub";
return "";
}
public String _cb5_p6_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6076;BA.debugLine="Private Sub CB5_P6_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6077;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6407;BA.debugLine="Private Sub CB5_P6_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6408;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
- //BA.debugLineNum = 6078;BA.debugLine="If CB5_P6_M3.Checked Then";
+ //BA.debugLineNum = 6409;BA.debugLine="If CB5_P6_M3.Checked Then";
if (_cb5_p6_m3.getChecked()) {
- //BA.debugLineNum = 6079;BA.debugLine="textemp6 = CB5_P6_M3.Text";
+ //BA.debugLineNum = 6410;BA.debugLine="textemp6 = CB5_P6_M3.Text";
_textemp6 = _cb5_p6_m3.getText();
}else {
- //BA.debugLineNum = 6081;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6412;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
};
- //BA.debugLineNum = 6083;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6414;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb1_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();};
- //BA.debugLineNum = 6084;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6415;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb2_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();};
- //BA.debugLineNum = 6085;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6416;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb3_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();};
- //BA.debugLineNum = 6086;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6417;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb4_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();};
- //BA.debugLineNum = 6087;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6418;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb6_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();};
- //BA.debugLineNum = 6088;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6419;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb7_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();};
- //BA.debugLineNum = 6089;BA.debugLine="Log(textemp6)";
-__c.LogImpl("723592973",_textemp6,0);
- //BA.debugLineNum = 6090;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6420;BA.debugLine="Log(textemp6)";
+__c.LogImpl("423724045",_textemp6,0);
+ //BA.debugLineNum = 6421;BA.debugLine="End Sub";
return "";
}
public String _cb6_p3_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5184;BA.debugLine="Private Sub CB6_P3_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5185;BA.debugLine="If CB6_P3_M2.Checked = True Then";
+ //BA.debugLineNum = 5515;BA.debugLine="Private Sub CB6_P3_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5516;BA.debugLine="If CB6_P3_M2.Checked = True Then";
if (_cb6_p3_m2.getChecked()==__c.True) {
- //BA.debugLineNum = 5186;BA.debugLine="Panel7_M2.Visible = True";
+ //BA.debugLineNum = 5517;BA.debugLine="Panel7_M2.Visible = True";
_panel7_m2.setVisible(__c.True);
}else {
- //BA.debugLineNum = 5188;BA.debugLine="Panel7_M2.Visible = False";
+ //BA.debugLineNum = 5519;BA.debugLine="Panel7_M2.Visible = False";
_panel7_m2.setVisible(__c.False);
};
- //BA.debugLineNum = 5192;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5523;BA.debugLine="End Sub";
return "";
}
public String _cb6_p6_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6092;BA.debugLine="Private Sub CB6_P6_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6093;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6423;BA.debugLine="Private Sub CB6_P6_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6424;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
- //BA.debugLineNum = 6094;BA.debugLine="If CB6_P6_M3.Checked Then";
+ //BA.debugLineNum = 6425;BA.debugLine="If CB6_P6_M3.Checked Then";
if (_cb6_p6_m3.getChecked()) {
- //BA.debugLineNum = 6095;BA.debugLine="textemp6 = CB6_P6_M3.Text";
+ //BA.debugLineNum = 6426;BA.debugLine="textemp6 = CB6_P6_M3.Text";
_textemp6 = _cb6_p6_m3.getText();
}else {
- //BA.debugLineNum = 6097;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6428;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
};
- //BA.debugLineNum = 6099;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6430;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb1_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();};
- //BA.debugLineNum = 6100;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6431;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb2_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();};
- //BA.debugLineNum = 6101;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6432;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb3_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();};
- //BA.debugLineNum = 6102;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6433;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb4_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();};
- //BA.debugLineNum = 6103;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6434;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb5_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();};
- //BA.debugLineNum = 6104;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6435;BA.debugLine="If CB7_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb7_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb7_p6_m3.getText();};
- //BA.debugLineNum = 6105;BA.debugLine="Log(textemp6)";
-__c.LogImpl("723658509",_textemp6,0);
- //BA.debugLineNum = 6106;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6436;BA.debugLine="Log(textemp6)";
+__c.LogImpl("423789581",_textemp6,0);
+ //BA.debugLineNum = 6437;BA.debugLine="End Sub";
return "";
}
public String _cb7_p6_m3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 6108;BA.debugLine="Private Sub CB7_P6_M3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 6109;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6439;BA.debugLine="Private Sub CB7_P6_M3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 6440;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
- //BA.debugLineNum = 6110;BA.debugLine="If CB7_P6_M3.Checked Then";
+ //BA.debugLineNum = 6441;BA.debugLine="If CB7_P6_M3.Checked Then";
if (_cb7_p6_m3.getChecked()) {
- //BA.debugLineNum = 6111;BA.debugLine="textemp6 = CB7_P6_M3.Text";
+ //BA.debugLineNum = 6442;BA.debugLine="textemp6 = CB7_P6_M3.Text";
_textemp6 = _cb7_p6_m3.getText();
}else {
- //BA.debugLineNum = 6113;BA.debugLine="textemp6 = \"\"";
+ //BA.debugLineNum = 6444;BA.debugLine="textemp6 = \"\"";
_textemp6 = "";
};
- //BA.debugLineNum = 6115;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6446;BA.debugLine="If CB1_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb1_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb1_p6_m3.getText();};
- //BA.debugLineNum = 6116;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6447;BA.debugLine="If CB2_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb2_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb2_p6_m3.getText();};
- //BA.debugLineNum = 6117;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6448;BA.debugLine="If CB3_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb3_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb3_p6_m3.getText();};
- //BA.debugLineNum = 6118;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6449;BA.debugLine="If CB4_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb4_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb4_p6_m3.getText();};
- //BA.debugLineNum = 6119;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6450;BA.debugLine="If CB5_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb5_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb5_p6_m3.getText();};
- //BA.debugLineNum = 6120;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
+ //BA.debugLineNum = 6451;BA.debugLine="If CB6_P6_M3.Checked Then textemp6 = textemp6 & \"";
if (_cb6_p6_m3.getChecked()) {
_textemp6 = _textemp6+", "+_cb6_p6_m3.getText();};
- //BA.debugLineNum = 6121;BA.debugLine="Log(textemp6)";
-__c.LogImpl("723724045",_textemp6,0);
- //BA.debugLineNum = 6122;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6452;BA.debugLine="Log(textemp6)";
+__c.LogImpl("423855117",_textemp6,0);
+ //BA.debugLineNum = 6453;BA.debugLine="End Sub";
return "";
}
public int _centropantalla() throws Exception{
int _anchopantalla = 0;
- //BA.debugLineNum = 6460;BA.debugLine="Sub centroPantalla As Int";
- //BA.debugLineNum = 6461;BA.debugLine="Private anchoPantalla As Int = GetDeviceLayoutVal";
+ //BA.debugLineNum = 6791;BA.debugLine="Sub centroPantalla As Int";
+ //BA.debugLineNum = 6792;BA.debugLine="Private anchoPantalla As Int = GetDeviceLayoutVal";
_anchopantalla = __c.GetDeviceLayoutValues(ba).Width;
- //BA.debugLineNum = 6462;BA.debugLine="Private anchoPantalla As Int = Root.Width";
+ //BA.debugLineNum = 6793;BA.debugLine="Private anchoPantalla As Int = Root.Width";
_anchopantalla = _root.getWidth();
- //BA.debugLineNum = 6463;BA.debugLine="Return anchoPantalla/2";
+ //BA.debugLineNum = 6794;BA.debugLine="Return anchoPantalla/2";
if (true) return (int) (_anchopantalla/(double)2);
- //BA.debugLineNum = 6464;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6795;BA.debugLine="End Sub";
return 0;
}
public String _ch_factura_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 7854;BA.debugLine="Private Sub CH_FACTURA_CheckedChange(Checked As Bo";
- //BA.debugLineNum = 7856;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8185;BA.debugLine="Private Sub CH_FACTURA_CheckedChange(Checked As Bo";
+ //BA.debugLineNum = 8187;BA.debugLine="End Sub";
return "";
}
public String _chb_com_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 8053;BA.debugLine="Private Sub chb_com_CheckedChange(Checked As Boole";
- //BA.debugLineNum = 8055;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8384;BA.debugLine="Private Sub chb_com_CheckedChange(Checked As Boole";
+ //BA.debugLineNum = 8386;BA.debugLine="End Sub";
return "";
}
public String _checkbox1_checkedchange(boolean _checked) throws Exception{
String _textemp = "";
- //BA.debugLineNum = 4878;BA.debugLine="Private Sub CheckBox1_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 4879;BA.debugLine="Dim textemp As String =\"\"";
+ //BA.debugLineNum = 5209;BA.debugLine="Private Sub CheckBox1_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5210;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
- //BA.debugLineNum = 4880;BA.debugLine="textemp = CheckBox1.Text";
+ //BA.debugLineNum = 5211;BA.debugLine="textemp = CheckBox1.Text";
_textemp = _checkbox1.getText();
- //BA.debugLineNum = 4881;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5212;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (_checkbox2.getChecked()) {
_textemp = _textemp+", "+_checkbox2.getText();};
- //BA.debugLineNum = 4882;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5213;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (_checkbox3.getChecked()) {
_textemp = _textemp+", "+_checkbox3.getText();};
- //BA.debugLineNum = 4883;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5214;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (_checkbox4.getChecked()) {
_textemp = _textemp+", "+_checkbox4.getText();};
- //BA.debugLineNum = 4884;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5215;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (_checkbox5.getChecked()) {
_textemp = _textemp+", "+_checkbox5.getText();};
- //BA.debugLineNum = 4885;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5216;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (_checkbox6.getChecked()) {
_textemp = _textemp+", "+_checkbox6.getText();};
- //BA.debugLineNum = 4886;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5217;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (_checkbox7.getChecked()) {
_textemp = _textemp+", "+_checkbox7.getText();};
- //BA.debugLineNum = 4887;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5218;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (_checkbox8.getChecked()) {
_textemp = _textemp+", "+_checkbox8.getText();};
- //BA.debugLineNum = 4888;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
+ //BA.debugLineNum = 5219;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
_encuentasmapa.Put((Object)("P9"),(Object)(_textemp));
- //BA.debugLineNum = 4889;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720250635",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4890;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5220;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420381707",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5221;BA.debugLine="End Sub";
return "";
}
public String _checkbox2_checkedchange(boolean _checked) throws Exception{
String _textemp = "";
- //BA.debugLineNum = 4892;BA.debugLine="Private Sub CheckBox2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 4893;BA.debugLine="Dim textemp As String =\"\"";
+ //BA.debugLineNum = 5223;BA.debugLine="Private Sub CheckBox2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5224;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
- //BA.debugLineNum = 4894;BA.debugLine="textemp = CheckBox2.Text";
+ //BA.debugLineNum = 5225;BA.debugLine="textemp = CheckBox2.Text";
_textemp = _checkbox2.getText();
- //BA.debugLineNum = 4895;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5226;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (_checkbox1.getChecked()) {
_textemp = _textemp+", "+_checkbox1.getText();};
- //BA.debugLineNum = 4896;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5227;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (_checkbox3.getChecked()) {
_textemp = _textemp+", "+_checkbox3.getText();};
- //BA.debugLineNum = 4897;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5228;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (_checkbox4.getChecked()) {
_textemp = _textemp+", "+_checkbox4.getText();};
- //BA.debugLineNum = 4898;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5229;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (_checkbox5.getChecked()) {
_textemp = _textemp+", "+_checkbox5.getText();};
- //BA.debugLineNum = 4899;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5230;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (_checkbox6.getChecked()) {
_textemp = _textemp+", "+_checkbox6.getText();};
- //BA.debugLineNum = 4900;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5231;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (_checkbox7.getChecked()) {
_textemp = _textemp+", "+_checkbox7.getText();};
- //BA.debugLineNum = 4901;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5232;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (_checkbox8.getChecked()) {
_textemp = _textemp+", "+_checkbox8.getText();};
- //BA.debugLineNum = 4902;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
+ //BA.debugLineNum = 5233;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
_encuentasmapa.Put((Object)("P9"),(Object)(_textemp));
- //BA.debugLineNum = 4903;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720316171",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4904;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5234;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420447243",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5235;BA.debugLine="End Sub";
return "";
}
public String _checkbox3_checkedchange(boolean _checked) throws Exception{
String _textemp = "";
- //BA.debugLineNum = 4906;BA.debugLine="Private Sub CheckBox3_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 4907;BA.debugLine="Dim textemp As String =\"\"";
+ //BA.debugLineNum = 5237;BA.debugLine="Private Sub CheckBox3_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5238;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
- //BA.debugLineNum = 4908;BA.debugLine="textemp = CheckBox3.Text";
+ //BA.debugLineNum = 5239;BA.debugLine="textemp = CheckBox3.Text";
_textemp = _checkbox3.getText();
- //BA.debugLineNum = 4909;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5240;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (_checkbox1.getChecked()) {
_textemp = _textemp+", "+_checkbox1.getText();};
- //BA.debugLineNum = 4910;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5241;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (_checkbox2.getChecked()) {
_textemp = _textemp+", "+_checkbox2.getText();};
- //BA.debugLineNum = 4911;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5242;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (_checkbox4.getChecked()) {
_textemp = _textemp+", "+_checkbox4.getText();};
- //BA.debugLineNum = 4912;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5243;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (_checkbox5.getChecked()) {
_textemp = _textemp+", "+_checkbox5.getText();};
- //BA.debugLineNum = 4913;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5244;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (_checkbox6.getChecked()) {
_textemp = _textemp+", "+_checkbox6.getText();};
- //BA.debugLineNum = 4914;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5245;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (_checkbox7.getChecked()) {
_textemp = _textemp+", "+_checkbox7.getText();};
- //BA.debugLineNum = 4915;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5246;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (_checkbox8.getChecked()) {
_textemp = _textemp+", "+_checkbox8.getText();};
- //BA.debugLineNum = 4916;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
+ //BA.debugLineNum = 5247;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
_encuentasmapa.Put((Object)("P9"),(Object)(_textemp));
- //BA.debugLineNum = 4917;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720381707",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4918;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5248;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420512779",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5249;BA.debugLine="End Sub";
return "";
}
public String _checkbox4_checkedchange(boolean _checked) throws Exception{
String _textemp = "";
- //BA.debugLineNum = 4920;BA.debugLine="Private Sub CheckBox4_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 4921;BA.debugLine="Dim textemp As String =\"\"";
+ //BA.debugLineNum = 5251;BA.debugLine="Private Sub CheckBox4_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5252;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
- //BA.debugLineNum = 4922;BA.debugLine="textemp = CheckBox4.Text";
+ //BA.debugLineNum = 5253;BA.debugLine="textemp = CheckBox4.Text";
_textemp = _checkbox4.getText();
- //BA.debugLineNum = 4923;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5254;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (_checkbox1.getChecked()) {
_textemp = _textemp+", "+_checkbox1.getText();};
- //BA.debugLineNum = 4924;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5255;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (_checkbox2.getChecked()) {
_textemp = _textemp+", "+_checkbox2.getText();};
- //BA.debugLineNum = 4925;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5256;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (_checkbox3.getChecked()) {
_textemp = _textemp+", "+_checkbox3.getText();};
- //BA.debugLineNum = 4926;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5257;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (_checkbox5.getChecked()) {
_textemp = _textemp+", "+_checkbox5.getText();};
- //BA.debugLineNum = 4927;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5258;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (_checkbox6.getChecked()) {
_textemp = _textemp+", "+_checkbox6.getText();};
- //BA.debugLineNum = 4928;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5259;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (_checkbox7.getChecked()) {
_textemp = _textemp+", "+_checkbox7.getText();};
- //BA.debugLineNum = 4929;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5260;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (_checkbox8.getChecked()) {
_textemp = _textemp+", "+_checkbox8.getText();};
- //BA.debugLineNum = 4930;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
+ //BA.debugLineNum = 5261;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
_encuentasmapa.Put((Object)("P9"),(Object)(_textemp));
- //BA.debugLineNum = 4931;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720447243",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4932;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5262;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420578315",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5263;BA.debugLine="End Sub";
return "";
}
public String _checkbox5_checkedchange(boolean _checked) throws Exception{
String _textemp = "";
- //BA.debugLineNum = 4934;BA.debugLine="Private Sub CheckBox5_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 4935;BA.debugLine="Dim textemp As String =\"\"";
+ //BA.debugLineNum = 5265;BA.debugLine="Private Sub CheckBox5_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5266;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
- //BA.debugLineNum = 4936;BA.debugLine="textemp = CheckBox5.Text";
+ //BA.debugLineNum = 5267;BA.debugLine="textemp = CheckBox5.Text";
_textemp = _checkbox5.getText();
- //BA.debugLineNum = 4937;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5268;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (_checkbox1.getChecked()) {
_textemp = _textemp+", "+_checkbox1.getText();};
- //BA.debugLineNum = 4938;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5269;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (_checkbox2.getChecked()) {
_textemp = _textemp+", "+_checkbox2.getText();};
- //BA.debugLineNum = 4939;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5270;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (_checkbox3.getChecked()) {
_textemp = _textemp+", "+_checkbox3.getText();};
- //BA.debugLineNum = 4940;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5271;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (_checkbox4.getChecked()) {
_textemp = _textemp+", "+_checkbox4.getText();};
- //BA.debugLineNum = 4941;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5272;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (_checkbox6.getChecked()) {
_textemp = _textemp+", "+_checkbox6.getText();};
- //BA.debugLineNum = 4942;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5273;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (_checkbox7.getChecked()) {
_textemp = _textemp+", "+_checkbox7.getText();};
- //BA.debugLineNum = 4943;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5274;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (_checkbox8.getChecked()) {
_textemp = _textemp+", "+_checkbox8.getText();};
- //BA.debugLineNum = 4944;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
+ //BA.debugLineNum = 5275;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
_encuentasmapa.Put((Object)("P9"),(Object)(_textemp));
- //BA.debugLineNum = 4945;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720512779",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4946;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5276;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420643851",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5277;BA.debugLine="End Sub";
return "";
}
public String _checkbox6_checkedchange(boolean _checked) throws Exception{
String _textemp = "";
- //BA.debugLineNum = 4948;BA.debugLine="Private Sub CheckBox6_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 4949;BA.debugLine="Dim textemp As String =\"\"";
+ //BA.debugLineNum = 5279;BA.debugLine="Private Sub CheckBox6_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5280;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
- //BA.debugLineNum = 4950;BA.debugLine="textemp = CheckBox6.Text";
+ //BA.debugLineNum = 5281;BA.debugLine="textemp = CheckBox6.Text";
_textemp = _checkbox6.getText();
- //BA.debugLineNum = 4951;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5282;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (_checkbox1.getChecked()) {
_textemp = _textemp+", "+_checkbox1.getText();};
- //BA.debugLineNum = 4952;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5283;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (_checkbox2.getChecked()) {
_textemp = _textemp+", "+_checkbox2.getText();};
- //BA.debugLineNum = 4953;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5284;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (_checkbox3.getChecked()) {
_textemp = _textemp+", "+_checkbox3.getText();};
- //BA.debugLineNum = 4954;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5285;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (_checkbox4.getChecked()) {
_textemp = _textemp+", "+_checkbox4.getText();};
- //BA.debugLineNum = 4955;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5286;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (_checkbox5.getChecked()) {
_textemp = _textemp+", "+_checkbox5.getText();};
- //BA.debugLineNum = 4956;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5287;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (_checkbox7.getChecked()) {
_textemp = _textemp+", "+_checkbox7.getText();};
- //BA.debugLineNum = 4957;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5288;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (_checkbox8.getChecked()) {
_textemp = _textemp+", "+_checkbox8.getText();};
- //BA.debugLineNum = 4958;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
+ //BA.debugLineNum = 5289;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
_encuentasmapa.Put((Object)("P9"),(Object)(_textemp));
- //BA.debugLineNum = 4959;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720578315",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4960;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5290;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420709387",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5291;BA.debugLine="End Sub";
return "";
}
public String _checkbox7_checkedchange(boolean _checked) throws Exception{
String _textemp = "";
- //BA.debugLineNum = 4962;BA.debugLine="Private Sub CheckBox7_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 4963;BA.debugLine="Dim textemp As String =\"\"";
+ //BA.debugLineNum = 5293;BA.debugLine="Private Sub CheckBox7_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5294;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
- //BA.debugLineNum = 4964;BA.debugLine="textemp = CheckBox7.Text";
+ //BA.debugLineNum = 5295;BA.debugLine="textemp = CheckBox7.Text";
_textemp = _checkbox7.getText();
- //BA.debugLineNum = 4965;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5296;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (_checkbox1.getChecked()) {
_textemp = _textemp+", "+_checkbox1.getText();};
- //BA.debugLineNum = 4966;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5297;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (_checkbox2.getChecked()) {
_textemp = _textemp+", "+_checkbox2.getText();};
- //BA.debugLineNum = 4967;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5298;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (_checkbox3.getChecked()) {
_textemp = _textemp+", "+_checkbox3.getText();};
- //BA.debugLineNum = 4968;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5299;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (_checkbox4.getChecked()) {
_textemp = _textemp+", "+_checkbox4.getText();};
- //BA.debugLineNum = 4969;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5300;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (_checkbox5.getChecked()) {
_textemp = _textemp+", "+_checkbox5.getText();};
- //BA.debugLineNum = 4970;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5301;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (_checkbox6.getChecked()) {
_textemp = _textemp+", "+_checkbox6.getText();};
- //BA.debugLineNum = 4971;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5302;BA.debugLine="If CheckBox8.Checked Then textemp = textemp & \",";
if (_checkbox8.getChecked()) {
_textemp = _textemp+", "+_checkbox8.getText();};
- //BA.debugLineNum = 4972;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
+ //BA.debugLineNum = 5303;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
_encuentasmapa.Put((Object)("P9"),(Object)(_textemp));
- //BA.debugLineNum = 4973;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720643851",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4974;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5304;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420774923",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5305;BA.debugLine="End Sub";
return "";
}
public String _checkbox8_checkedchange(boolean _checked) throws Exception{
String _textemp = "";
- //BA.debugLineNum = 4976;BA.debugLine="Private Sub CheckBox8_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 4977;BA.debugLine="Dim textemp As String =\"\"";
+ //BA.debugLineNum = 5307;BA.debugLine="Private Sub CheckBox8_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5308;BA.debugLine="Dim textemp As String =\"\"";
_textemp = "";
- //BA.debugLineNum = 4978;BA.debugLine="textemp = CheckBox8.Text";
+ //BA.debugLineNum = 5309;BA.debugLine="textemp = CheckBox8.Text";
_textemp = _checkbox8.getText();
- //BA.debugLineNum = 4979;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5310;BA.debugLine="If CheckBox1.Checked Then textemp = textemp & \",";
if (_checkbox1.getChecked()) {
_textemp = _textemp+", "+_checkbox1.getText();};
- //BA.debugLineNum = 4980;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5311;BA.debugLine="If CheckBox2.Checked Then textemp = textemp & \",";
if (_checkbox2.getChecked()) {
_textemp = _textemp+", "+_checkbox2.getText();};
- //BA.debugLineNum = 4981;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5312;BA.debugLine="If CheckBox3.Checked Then textemp = textemp & \",";
if (_checkbox3.getChecked()) {
_textemp = _textemp+", "+_checkbox3.getText();};
- //BA.debugLineNum = 4982;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5313;BA.debugLine="If CheckBox4.Checked Then textemp = textemp & \",";
if (_checkbox4.getChecked()) {
_textemp = _textemp+", "+_checkbox4.getText();};
- //BA.debugLineNum = 4983;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5314;BA.debugLine="If CheckBox5.Checked Then textemp = textemp & \",";
if (_checkbox5.getChecked()) {
_textemp = _textemp+", "+_checkbox5.getText();};
- //BA.debugLineNum = 4984;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5315;BA.debugLine="If CheckBox6.Checked Then textemp = textemp & \",";
if (_checkbox6.getChecked()) {
_textemp = _textemp+", "+_checkbox6.getText();};
- //BA.debugLineNum = 4985;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
+ //BA.debugLineNum = 5316;BA.debugLine="If CheckBox7.Checked Then textemp = textemp & \",";
if (_checkbox7.getChecked()) {
_textemp = _textemp+", "+_checkbox7.getText();};
- //BA.debugLineNum = 4986;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
+ //BA.debugLineNum = 5317;BA.debugLine="encuentasmapa.Put(\"P9\", textemp)";
_encuentasmapa.Put((Object)("P9"),(Object)(_textemp));
- //BA.debugLineNum = 4987;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720709387",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4988;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5318;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420840459",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5319;BA.debugLine="End Sub";
return "";
}
public String _class_globals() throws Exception{
@@ -9395,231 +9623,274 @@ _totalpromos = 0;
_totalpromostotal = 0;
//BA.debugLineNum = 479;BA.debugLine="Private chb_com As CheckBox";
_chb_com = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper();
- //BA.debugLineNum = 480;BA.debugLine="End Sub";
+ //BA.debugLineNum = 481;BA.debugLine="Private P_Imagengrande As Panel";
+_p_imagengrande = new anywheresoftware.b4a.objects.PanelWrapper();
+ //BA.debugLineNum = 482;BA.debugLine="Private I_fotogrande As ImageView";
+_i_fotogrande = new anywheresoftware.b4a.objects.ImageViewWrapper();
+ //BA.debugLineNum = 485;BA.debugLine="Private scv_bat As ScrollView";
+_scv_bat = new anywheresoftware.b4a.objects.ScrollViewWrapper();
+ //BA.debugLineNum = 486;BA.debugLine="Private b_cancelencu As Button";
+_b_cancelencu = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 487;BA.debugLine="Private b_guadarenc As Button";
+_b_guadarenc = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 488;BA.debugLine="Private p_encu As Panel";
+_p_encu = new anywheresoftware.b4a.objects.PanelWrapper();
+ //BA.debugLineNum = 489;BA.debugLine="Private cb_p1 As B4XComboBox";
+_cb_p1 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 490;BA.debugLine="Private cb_p2 As B4XComboBox";
+_cb_p2 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 491;BA.debugLine="Private cb_p3 As B4XComboBox";
+_cb_p3 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 492;BA.debugLine="Private cb_p4 As B4XComboBox";
+_cb_p4 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 493;BA.debugLine="Private cb_p5 As B4XComboBox";
+_cb_p5 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 494;BA.debugLine="Dim e_1, e_2, e_3, e_4,e_5,e_6,e_7,e_8,e_9,e_10 A";
+_e_1 = "";
+_e_2 = "";
+_e_3 = "";
+_e_4 = "";
+_e_5 = "";
+_e_6 = "";
+_e_7 = "";
+_e_8 = "";
+_e_9 = "";
+_e_10 = "";
+ //BA.debugLineNum = 495;BA.debugLine="Private cb_p6 As B4XComboBox";
+_cb_p6 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 496;BA.debugLine="Private cb_p7 As B4XComboBox";
+_cb_p7 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 497;BA.debugLine="Private cb_p8 As B4XComboBox";
+_cb_p8 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 498;BA.debugLine="Private cb_p9 As B4XComboBox";
+_cb_p9 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 499;BA.debugLine="Private cb_p10 As B4XComboBox";
+_cb_p10 = new gunav2.keymon.com.mx.b4xcombobox();
+ //BA.debugLineNum = 500;BA.debugLine="End Sub";
return "";
}
public String _compra() throws Exception{
anywheresoftware.b4a.objects.collections.List _rutasencuesta = null;
anywheresoftware.b4a.objects.collections.List _alamcenesencuesta = null;
anywheresoftware.b4a.objects.collections.List _items = null;
- //BA.debugLineNum = 2232;BA.debugLine="Sub compra";
- //BA.debugLineNum = 2247;BA.debugLine="Private rutasEncuesta As List";
+ //BA.debugLineNum = 2532;BA.debugLine="Sub compra";
+ //BA.debugLineNum = 2547;BA.debugLine="Private rutasEncuesta As List";
_rutasencuesta = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 2248;BA.debugLine="rutasEncuesta.Initialize2(Array As Int(702, 703,";
+ //BA.debugLineNum = 2548;BA.debugLine="rutasEncuesta.Initialize2(Array As Int(702, 703,";
_rutasencuesta.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new int[]{(int) (702),(int) (703),(int) (707),(int) (718),(int) (730),(int) (732),(int) (733),(int) (734)}));
- //BA.debugLineNum = 2249;BA.debugLine="Private alamcenesEncuesta As List";
+ //BA.debugLineNum = 2549;BA.debugLine="Private alamcenesEncuesta As List";
_alamcenesencuesta = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 2250;BA.debugLine="alamcenesEncuesta.Initialize2(Array As Int(15, 35";
+ //BA.debugLineNum = 2550;BA.debugLine="alamcenesEncuesta.Initialize2(Array As Int(15, 35";
_alamcenesencuesta.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new int[]{(int) (15),(int) (35),(int) (43),(int) (54),(int) (56),(int) (73),(int) (75),(int) (79)}));
- //BA.debugLineNum = 2265;BA.debugLine="If TOMAR_FOTO = 0 Then";
+ //BA.debugLineNum = 2565;BA.debugLine="If TOMAR_FOTO = 0 Then";
if ((_tomar_foto).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 2266;BA.debugLine="Cuestionario";
+ //BA.debugLineNum = 2566;BA.debugLine="Cuestionario";
_cuestionario();
}else {
- //BA.debugLineNum = 2268;BA.debugLine="Dim Items As List";
+ //BA.debugLineNum = 2568;BA.debugLine="Dim Items As List";
_items = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 2269;BA.debugLine="Items.Initialize";
+ //BA.debugLineNum = 2569;BA.debugLine="Items.Initialize";
_items.Initialize();
- //BA.debugLineNum = 2270;BA.debugLine="Items.Add(\"Selecciona una opción\")";
+ //BA.debugLineNum = 2570;BA.debugLine="Items.Add(\"Selecciona una opción\")";
_items.Add((Object)("Selecciona una opción"));
- //BA.debugLineNum = 2271;BA.debugLine="Items.Add(\"Tienda de Abarrotes (Abarrotes, Misce";
+ //BA.debugLineNum = 2571;BA.debugLine="Items.Add(\"Tienda de Abarrotes (Abarrotes, Misce";
_items.Add((Object)("Tienda de Abarrotes (Abarrotes, Misceláneas, Minisupers, Particulares con Venta y Cremerías)"));
- //BA.debugLineNum = 2272;BA.debugLine="Items.Add(\"Recaudería (Frutas y Verduras)\")";
+ //BA.debugLineNum = 2572;BA.debugLine="Items.Add(\"Recaudería (Frutas y Verduras)\")";
_items.Add((Object)("Recaudería (Frutas y Verduras)"));
- //BA.debugLineNum = 2273;BA.debugLine="Items.Add(\"Vinos y Licores\")";
+ //BA.debugLineNum = 2573;BA.debugLine="Items.Add(\"Vinos y Licores\")";
_items.Add((Object)("Vinos y Licores"));
- //BA.debugLineNum = 2274;BA.debugLine="Items.Add(\"Carnicería o Pollería\")";
+ //BA.debugLineNum = 2574;BA.debugLine="Items.Add(\"Carnicería o Pollería\")";
_items.Add((Object)("Carnicería o Pollería"));
- //BA.debugLineNum = 2275;BA.debugLine="Items.Add(\"Farmacia\")";
+ //BA.debugLineNum = 2575;BA.debugLine="Items.Add(\"Farmacia\")";
_items.Add((Object)("Farmacia"));
- //BA.debugLineNum = 2276;BA.debugLine="Items.Add(\"Jarciería (Productos de Limpieza)\")";
+ //BA.debugLineNum = 2576;BA.debugLine="Items.Add(\"Jarciería (Productos de Limpieza)\")";
_items.Add((Object)("Jarciería (Productos de Limpieza)"));
- //BA.debugLineNum = 2277;BA.debugLine="Items.Add(\"Papelería y Regalos\")";
+ //BA.debugLineNum = 2577;BA.debugLine="Items.Add(\"Papelería y Regalos\")";
_items.Add((Object)("Papelería y Regalos"));
- //BA.debugLineNum = 2278;BA.debugLine="Items.Add(\"Tortillería\")";
+ //BA.debugLineNum = 2578;BA.debugLine="Items.Add(\"Tortillería\")";
_items.Add((Object)("Tortillería"));
- //BA.debugLineNum = 2279;BA.debugLine="Items.Add(\"Escuelas\")";
+ //BA.debugLineNum = 2579;BA.debugLine="Items.Add(\"Escuelas\")";
_items.Add((Object)("Escuelas"));
- //BA.debugLineNum = 2280;BA.debugLine="Items.Add(\"Estanquillos (Puestos Semifijos)\")";
+ //BA.debugLineNum = 2580;BA.debugLine="Items.Add(\"Estanquillos (Puestos Semifijos)\")";
_items.Add((Object)("Estanquillos (Puestos Semifijos)"));
- //BA.debugLineNum = 2281;BA.debugLine="Items.Add(\"Fonda, Cocina Económica, Cafetería)\")";
+ //BA.debugLineNum = 2581;BA.debugLine="Items.Add(\"Fonda, Cocina Económica, Cafetería)\")";
_items.Add((Object)("Fonda, Cocina Económica, Cafetería)"));
- //BA.debugLineNum = 2282;BA.debugLine="Items.Add(\"Tlapalería, Ferretería\")";
+ //BA.debugLineNum = 2582;BA.debugLine="Items.Add(\"Tlapalería, Ferretería\")";
_items.Add((Object)("Tlapalería, Ferretería"));
- //BA.debugLineNum = 2283;BA.debugLine="Items.Add(\"Dulcería, Materias Primas\")";
+ //BA.debugLineNum = 2583;BA.debugLine="Items.Add(\"Dulcería, Materias Primas\")";
_items.Add((Object)("Dulcería, Materias Primas"));
- //BA.debugLineNum = 2284;BA.debugLine="Items.Add(\"Semillas y Chiles Secos\")";
+ //BA.debugLineNum = 2584;BA.debugLine="Items.Add(\"Semillas y Chiles Secos\")";
_items.Add((Object)("Semillas y Chiles Secos"));
- //BA.debugLineNum = 2285;BA.debugLine="Items.Add(\"Cybercafé\")";
+ //BA.debugLineNum = 2585;BA.debugLine="Items.Add(\"Cybercafé\")";
_items.Add((Object)("Cybercafé"));
- //BA.debugLineNum = 2286;BA.debugLine="Items.Add(\"Hotel\")";
+ //BA.debugLineNum = 2586;BA.debugLine="Items.Add(\"Hotel\")";
_items.Add((Object)("Hotel"));
- //BA.debugLineNum = 2287;BA.debugLine="Items.Add(\"Veterinaria\")";
+ //BA.debugLineNum = 2587;BA.debugLine="Items.Add(\"Veterinaria\")";
_items.Add((Object)("Veterinaria"));
- //BA.debugLineNum = 2288;BA.debugLine="Items.Add(\"Tienda de Mascotas\")";
+ //BA.debugLineNum = 2588;BA.debugLine="Items.Add(\"Tienda de Mascotas\")";
_items.Add((Object)("Tienda de Mascotas"));
- //BA.debugLineNum = 2289;BA.debugLine="Items.Add(\"Otros\")";
+ //BA.debugLineNum = 2589;BA.debugLine="Items.Add(\"Otros\")";
_items.Add((Object)("Otros"));
- //BA.debugLineNum = 2290;BA.debugLine="cb_pregunta.SetItems(Items)";
+ //BA.debugLineNum = 2590;BA.debugLine="cb_pregunta.SetItems(Items)";
_cb_pregunta._setitems /*String*/ (_items);
- //BA.debugLineNum = 2291;BA.debugLine="girotienda = \"Selecciona una opcion\"";
+ //BA.debugLineNum = 2591;BA.debugLine="girotienda = \"Selecciona una opcion\"";
_girotienda = "Selecciona una opcion";
- //BA.debugLineNum = 2292;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
+ //BA.debugLineNum = 2592;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 2293;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 2593;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2294;BA.debugLine="CUENTA_MODULO = c.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 2594;BA.debugLine="CUENTA_MODULO = c.GetString(\"CUANTOS\")";
_cuenta_modulo = _c.GetString("CUANTOS");
- //BA.debugLineNum = 2295;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2595;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2296;BA.debugLine="If CUENTA_MODULO > 0 Then";
+ //BA.debugLineNum = 2596;BA.debugLine="If CUENTA_MODULO > 0 Then";
if ((double)(Double.parseDouble(_cuenta_modulo))>0) {
- //BA.debugLineNum = 2297;BA.debugLine="c=skmt.ExecQuery(\"SELECT HEC_MODULO FROM HIST_E";
+ //BA.debugLineNum = 2597;BA.debugLine="c=skmt.ExecQuery(\"SELECT HEC_MODULO FROM HIST_E";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT HEC_MODULO FROM HIST_ENCUESTA_CLIENTE WHERE HEC_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 2298;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 2598;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2299;BA.debugLine="que_modulo = c.GetString(\"HEC_MODULO\")";
+ //BA.debugLineNum = 2599;BA.debugLine="que_modulo = c.GetString(\"HEC_MODULO\")";
_que_modulo = _c.GetString("HEC_MODULO");
- //BA.debugLineNum = 2300;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2600;BA.debugLine="c.Close";
_c.Close();
};
- //BA.debugLineNum = 2302;BA.debugLine="Log(Subs.traeAlmacen)";
-__c.LogImpl("715204422",_subs._traealmacen /*String*/ (ba),0);
- //BA.debugLineNum = 2303;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
+ //BA.debugLineNum = 2602;BA.debugLine="Log(Subs.traeAlmacen)";
+__c.LogImpl("415335494",_subs._traealmacen /*String*/ (ba),0);
+ //BA.debugLineNum = 2603;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO1 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 2304;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 2604;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2305;BA.debugLine="EXISTE = c.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 2605;BA.debugLine="EXISTE = c.GetString(\"CUANTOS\")";
_existe = _c.GetString("CUANTOS");
- //BA.debugLineNum = 2306;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2606;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2308;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
+ //BA.debugLineNum = 2608;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO2 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 2309;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 2609;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2310;BA.debugLine="EXISTE2 = c.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 2610;BA.debugLine="EXISTE2 = c.GetString(\"CUANTOS\")";
_existe2 = _c.GetString("CUANTOS");
- //BA.debugLineNum = 2311;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2611;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2313;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
+ //BA.debugLineNum = 2613;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO3 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 2314;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 2614;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2315;BA.debugLine="EXISTE3 = c.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 2615;BA.debugLine="EXISTE3 = c.GetString(\"CUANTOS\")";
_existe3 = _c.GetString("CUANTOS");
- //BA.debugLineNum = 2316;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2616;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2318;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
+ //BA.debugLineNum = 2618;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO4 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 2319;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 2619;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2320;BA.debugLine="EXISTE4 = c.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 2620;BA.debugLine="EXISTE4 = c.GetString(\"CUANTOS\")";
_existe4 = _c.GetString("CUANTOS");
- //BA.debugLineNum = 2321;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2621;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2323;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
+ //BA.debugLineNum = 2623;BA.debugLine="c=skmt.ExecQuery(\"SELECT COUNT(*) AS CUANTOS FRO";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT COUNT(*) AS CUANTOS FROM ENCUESTA_MODULO5 WHERE CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 2324;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 2624;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2325;BA.debugLine="EXISTE5 = c.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 2625;BA.debugLine="EXISTE5 = c.GetString(\"CUANTOS\")";
_existe5 = _c.GetString("CUANTOS");
- //BA.debugLineNum = 2326;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2626;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2351;BA.debugLine="If EXISTE = 0 And EXISTE2 = 0 And EXISTE3 = 0 An";
+ //BA.debugLineNum = 2651;BA.debugLine="If EXISTE = 0 And EXISTE2 = 0 And EXISTE3 = 0 An";
if ((_existe).equals(BA.NumberToString(0)) && (_existe2).equals(BA.NumberToString(0)) && (_existe3).equals(BA.NumberToString(0)) && (_existe4).equals(BA.NumberToString(0)) && (_existe5).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 2352;BA.debugLine="S = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM C";
+ //BA.debugLineNum = 2652;BA.debugLine="S = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM C";
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"CUESTIONARIO"})));
- //BA.debugLineNum = 2353;BA.debugLine="S.Position = 0";
+ //BA.debugLineNum = 2653;BA.debugLine="S.Position = 0";
_s.setPosition((int) (0));
- //BA.debugLineNum = 2354;BA.debugLine="If s.GetString(\"CAT_VA_VALOR\") > \"0\" Then";
+ //BA.debugLineNum = 2654;BA.debugLine="If s.GetString(\"CAT_VA_VALOR\") > \"0\" Then";
if ((double)(Double.parseDouble(_s.GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble("0"))) {
- //BA.debugLineNum = 2356;BA.debugLine="ENCUESTA = s.GetString(\"CAT_VA_VALOR\")";
+ //BA.debugLineNum = 2656;BA.debugLine="ENCUESTA = s.GetString(\"CAT_VA_VALOR\")";
_encuesta = _s.GetString("CAT_VA_VALOR");
- //BA.debugLineNum = 2357;BA.debugLine="ENCUESTA = \"3\"";
+ //BA.debugLineNum = 2657;BA.debugLine="ENCUESTA = \"3\"";
_encuesta = "3";
}else {
- //BA.debugLineNum = 2390;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 2690;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
};
}else {
- //BA.debugLineNum = 2393;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 2693;BA.debugLine="B4XPages.ShowPage(\"productos\")";
_b4xpages._showpage /*String*/ (ba,"productos");
};
- //BA.debugLineNum = 2395;BA.debugLine="s.Close";
+ //BA.debugLineNum = 2695;BA.debugLine="s.Close";
_s.Close();
};
- //BA.debugLineNum = 2404;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2704;BA.debugLine="End Sub";
return "";
}
public String _cuest_preguntacontestada(anywheresoftware.b4a.objects.collections.Map _m) throws Exception{
- //BA.debugLineNum = 6554;BA.debugLine="Sub cuest_preguntaContestada(m As Map)";
- //BA.debugLineNum = 6556;BA.debugLine="Log(m)";
-__c.LogImpl("725296898",BA.ObjectToString(_m),0);
- //BA.debugLineNum = 6559;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le";
+ //BA.debugLineNum = 6885;BA.debugLine="Sub cuest_preguntaContestada(m As Map)";
+ //BA.debugLineNum = 6887;BA.debugLine="Log(m)";
+__c.LogImpl("425427970",BA.ObjectToString(_m),0);
+ //BA.debugLineNum = 6890;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le";
((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_m.Get((Object)("panel"))))).RemoveView();
- //BA.debugLineNum = 6560;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
+ //BA.debugLineNum = 6891;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 6561;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
+ //BA.debugLineNum = 6892;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
- //BA.debugLineNum = 6562;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from";
+ //BA.debugLineNum = 6893;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"' and Q_IDPREGUNTA = '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"'"));
- //BA.debugLineNum = 6563;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
+ //BA.debugLineNum = 6894;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("pregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idRespuesta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("respuesta")))+"', '"+__c.SmartStringFormatter("",(Object)(__c.DateTime.Date(__c.DateTime.getNow())))+" "+__c.SmartStringFormatter("",(Object)(__c.DateTime.Time(__c.DateTime.getNow())))+"')"));
- //BA.debugLineNum = 6564;BA.debugLine="Log(\">> RESP: \" & m.Get(\"respuesta\"))";
-__c.LogImpl("725296906",">> RESP: "+BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
- //BA.debugLineNum = 6565;BA.debugLine="Select Case m.Get(\"idPregunta\")";
+ //BA.debugLineNum = 6895;BA.debugLine="Log(\">> RESP: \" & m.Get(\"respuesta\"))";
+__c.LogImpl("425427978",">> RESP: "+BA.ObjectToString(_m.Get((Object)("respuesta"))),0);
+ //BA.debugLineNum = 6896;BA.debugLine="Select Case m.Get(\"idPregunta\")";
switch (BA.switchObjectToInt(_m.Get((Object)("idPregunta")),(Object)("1"),(Object)("2"),(Object)("3"),(Object)("4"),(Object)("5"),(Object)("6"),(Object)("7"))) {
case 0: {
- //BA.debugLineNum = 6567;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio";
+ //BA.debugLineNum = 6898;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio";
if ((_m.Get((Object)("respuesta"))).equals((Object)("Ninguno de los anteriores"))) {
- //BA.debugLineNum = 6570;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué produc";
+ //BA.debugLineNum = 6901;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué produc";
_cuest._agregapreguntacheckbox /*String*/ ("3","¿Qué productos de Kileo Gato encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Whiskas","KITEKAT","PAL GATO","CAT CHOW","GATINA","MININO","MI MISHI","OTROS","Ninguno de los anteriores"}));
}else {
- //BA.debugLineNum = 6573;BA.debugLine="cuest.agregaPreguntaAbierta(\"2\", \"Captura el p";
+ //BA.debugLineNum = 6904;BA.debugLine="cuest.agregaPreguntaAbierta(\"2\", \"Captura el p";
_cuest._agregapreguntaabierta /*String*/ ("2","Captura el precio por kilo de los articulos seleccionados anteriormente",_cuest._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (BA.ObjectToString(_m.Get((Object)("idRespuesta")))),_cuest._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (BA.ObjectToString(_m.Get((Object)("respuesta")))));
};
break; }
case 1: {
- //BA.debugLineNum = 6577;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué product";
+ //BA.debugLineNum = 6908;BA.debugLine="cuest.agregaPreguntaCheckbox(\"3\", \"¿Qué product";
_cuest._agregapreguntacheckbox /*String*/ ("3","¿Qué productos de Kileo Gato encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Whiskas","KITEKAT","PAL GATO","CAT CHOW","GATINA","MININO","MI MISHI","OTROS","Ninguno de los anteriores"}));
break; }
case 2: {
- //BA.debugLineNum = 6580;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio";
+ //BA.debugLineNum = 6911;BA.debugLine="If m.Get(\"respuesta\") = \"Ninguno de los anterio";
if ((_m.Get((Object)("respuesta"))).equals((Object)("Ninguno de los anteriores"))) {
- //BA.debugLineNum = 6583;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué produc";
+ //BA.debugLineNum = 6914;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué produc";
_cuest._agregapreguntacheckbox /*String*/ ("5","¿Qué productos de húmedo MARS encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Pedigree Adulto res","Pedigree Adulto Pollo","Pedigree Cachorro res","Pedigree Cachorro Pollo","Pedigree Raz Peq res","Pedigree Raz Peq Pollo","Pedigree Adulto Cordero","Pedigree Adulto Lata res","Whiskas Atún","Whiskas Pollo","Whiskas res","Whiskas Salmón","Whiskas Parrillada Mixta","Whiskas Pescado BLANCO","Whiskas Souffle","Ninguno de los anteriores"}));
}else {
- //BA.debugLineNum = 6585;BA.debugLine="cuest.agregaPreguntaAbierta(\"4\", \"Captura el p";
+ //BA.debugLineNum = 6916;BA.debugLine="cuest.agregaPreguntaAbierta(\"4\", \"Captura el p";
_cuest._agregapreguntaabierta /*String*/ ("4","Captura el precio por kilo de los articulos seleccionados anteriormente",_cuest._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (BA.ObjectToString(_m.Get((Object)("idRespuesta")))),_cuest._strtolist /*anywheresoftware.b4a.objects.collections.List*/ (BA.ObjectToString(_m.Get((Object)("respuesta")))));
};
break; }
case 3: {
- //BA.debugLineNum = 6588;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué product";
+ //BA.debugLineNum = 6919;BA.debugLine="cuest.agregaPreguntaCheckbox(\"5\", \"¿Qué product";
_cuest._agregapreguntacheckbox /*String*/ ("5","¿Qué productos de húmedo MARS encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Pedigree Adulto res","Pedigree Adulto Pollo","Pedigree Cachorro res","Pedigree Cachorro Pollo","Pedigree Raz Peq res","Pedigree Raz Peq Pollo","Pedigree Adulto Cordero","Pedigree Adulto Lata res","Whiskas Atún","Whiskas Pollo","Whiskas res","Whiskas Salmón","Whiskas Parrillada Mixta","Whiskas Pescado BLANCO","Whiskas Souffle","Ninguno de los anteriores"}));
break; }
case 4: {
- //BA.debugLineNum = 6590;BA.debugLine="cuest.agregaPreguntaCheckbox(\"6\", \"¿Qué product";
+ //BA.debugLineNum = 6921;BA.debugLine="cuest.agregaPreguntaCheckbox(\"6\", \"¿Qué product";
_cuest._agregapreguntacheckbox /*String*/ ("6","¿Qué productos de húmedo otros encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Dog Chow (cualquier sabor)","Ganador (cualquier sabor)","Felix (cualquier sabor)","Minino plus (cualquier sabor)","Cat Chow (cualquier sabor)","Beneful (cualquier sabor)","Amigo Gourmet (cualquier sabor)","Ninguno de los anteriores"}));
break; }
case 5: {
- //BA.debugLineNum = 6592;BA.debugLine="cuest.agregaPreguntaCheckbox(\"7\", \"¿Qué product";
+ //BA.debugLineNum = 6923;BA.debugLine="cuest.agregaPreguntaCheckbox(\"7\", \"¿Qué product";
_cuest._agregapreguntacheckbox /*String*/ ("7","¿Qué productos de botanas encuentras en esta tienda?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Dentastix","Biscrok","Ninguno de los anteriores"}));
break; }
case 6: {
- //BA.debugLineNum = 6595;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)";
+ //BA.debugLineNum = 6926;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)";
__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False);
- //BA.debugLineNum = 6596;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)";
-__c.LogImpl("725296938",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
- //BA.debugLineNum = 6597;BA.debugLine="cuest.encuestaIniciada = False";
+ //BA.debugLineNum = 6927;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)";
+__c.LogImpl("425428010",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
+ //BA.debugLineNum = 6928;BA.debugLine="cuest.encuestaIniciada = False";
_cuest._encuestainiciada /*boolean*/ = __c.False;
- //BA.debugLineNum = 6598;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)";
-__c.LogImpl("725296940",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
- //BA.debugLineNum = 6601;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 6929;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)";
+__c.LogImpl("425428012",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0);
+ //BA.debugLineNum = 6932;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
break; }
}
;
- //BA.debugLineNum = 6604;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6935;BA.debugLine="End Sub";
return "";
}
public void _cuestionario() throws Exception{
@@ -9655,25 +9926,25 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 6219;BA.debugLine="Log(\"Entramos a Cuestionario\")";
-parent.__c.LogImpl("724313857","Entramos a Cuestionario",0);
- //BA.debugLineNum = 6220;BA.debugLine="Private logger As Boolean = True";
+ //BA.debugLineNum = 6550;BA.debugLine="Log(\"Entramos a Cuestionario\")";
+parent.__c.LogImpl("424444929","Entramos a Cuestionario",0);
+ //BA.debugLineNum = 6551;BA.debugLine="Private logger As Boolean = True";
_logger = parent.__c.True;
- //BA.debugLineNum = 6221;BA.debugLine="b_encuesta_continuar.Visible = False";
+ //BA.debugLineNum = 6552;BA.debugLine="b_encuesta_continuar.Visible = False";
parent._b_encuesta_continuar.setVisible(parent.__c.False);
- //BA.debugLineNum = 6222;BA.debugLine="et_encuesta.Visible = False";
+ //BA.debugLineNum = 6553;BA.debugLine="et_encuesta.Visible = False";
parent._et_encuesta.setVisible(parent.__c.False);
- //BA.debugLineNum = 6223;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 6554;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
parent.__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 6224;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 6555;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 6225;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 6556;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 6226;BA.debugLine="Private fecha As String = $\"${DateTime.Date(DateT";
+ //BA.debugLineNum = 6557;BA.debugLine="Private fecha As String = $\"${DateTime.Date(DateT";
_fecha = (""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.DateTime.Date(parent.__c.DateTime.getNow())))+" "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.DateTime.Time(parent.__c.DateTime.getNow())))+"");
- //BA.debugLineNum = 6227;BA.debugLine="CUANTOS = 0";
+ //BA.debugLineNum = 6558;BA.debugLine="CUANTOS = 0";
parent._cuantos = BA.NumberToString(0);
- //BA.debugLineNum = 6229;BA.debugLine="If logger Then Log($\"Tomar_Foto = ${TOMAR_FOTO}\"$";
+ //BA.debugLineNum = 6560;BA.debugLine="If logger Then Log($\"Tomar_Foto = ${TOMAR_FOTO}\"$";
if (true) break;
case 1:
@@ -9686,14 +9957,14 @@ this.state = 3;
case 3:
//C
this.state = 6;
-parent.__c.LogImpl("724313867",("Tomar_Foto = "+parent.__c.SmartStringFormatter("",(Object)(parent._tomar_foto))+""),0);
+parent.__c.LogImpl("424444939",("Tomar_Foto = "+parent.__c.SmartStringFormatter("",(Object)(parent._tomar_foto))+""),0);
if (true) break;
case 6:
//C
this.state = 7;
;
- //BA.debugLineNum = 6230;BA.debugLine="If TOMAR_FOTO = 0 Then";
+ //BA.debugLineNum = 6561;BA.debugLine="If TOMAR_FOTO = 0 Then";
if (true) break;
case 7:
@@ -9706,21 +9977,21 @@ this.state = 9;
case 9:
//C
this.state = 10;
- //BA.debugLineNum = 6231;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU";
+ //BA.debugLineNum = 6562;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from HIST_ENCUESTA where HE_CLIE In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 6232;BA.debugLine="s.Position= 0";
+ //BA.debugLineNum = 6563;BA.debugLine="s.Position= 0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 6233;BA.debugLine="CUANTOS = s.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 6564;BA.debugLine="CUANTOS = s.GetString(\"CUANTOS\")";
parent._cuantos = parent._s.GetString("CUANTOS");
- //BA.debugLineNum = 6234;BA.debugLine="Private CUANTOS2 As Int = 0";
+ //BA.debugLineNum = 6565;BA.debugLine="Private CUANTOS2 As Int = 0";
_cuantos2 = (int) (0);
- //BA.debugLineNum = 6235;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU";
+ //BA.debugLineNum = 6566;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select COU";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS2 from HIST_ENCUESTA2 where HE_CLIENTE In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 6236;BA.debugLine="s.Position = 0";
+ //BA.debugLineNum = 6567;BA.debugLine="s.Position = 0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 6237;BA.debugLine="CUANTOS2 = s.GetString(\"CUANTOS2\")";
+ //BA.debugLineNum = 6568;BA.debugLine="CUANTOS2 = s.GetString(\"CUANTOS2\")";
_cuantos2 = (int)(Double.parseDouble(parent._s.GetString("CUANTOS2")));
- //BA.debugLineNum = 6238;BA.debugLine="If logger Then LogColor($\"Hist:encuesta=${CUANTO";
+ //BA.debugLineNum = 6569;BA.debugLine="If logger Then LogColor($\"Hist:encuesta=${CUANTO";
if (true) break;
case 10:
@@ -9733,7 +10004,7 @@ this.state = 12;
case 12:
//C
this.state = 15;
-parent.__c.LogImpl("724313876",("Hist:encuesta="+parent.__c.SmartStringFormatter("",(Object)(parent._cuantos))+", hist_encuesta2 = "+parent.__c.SmartStringFormatter("",(Object)(_cuantos2))+""),parent.__c.Colors.Magenta);
+parent.__c.LogImpl("424444948",("Hist:encuesta="+parent.__c.SmartStringFormatter("",(Object)(parent._cuantos))+", hist_encuesta2 = "+parent.__c.SmartStringFormatter("",(Object)(_cuantos2))+""),parent.__c.Colors.Magenta);
if (true) break;
case 15:
@@ -9742,7 +10013,7 @@ this.state = 16;
;
if (true) break;
;
- //BA.debugLineNum = 6242;BA.debugLine="If logger Then Log(CUANTOS & \"|\" & CUANTOS2)";
+ //BA.debugLineNum = 6573;BA.debugLine="If logger Then Log(CUANTOS & \"|\" & CUANTOS2)";
case 16:
//if
@@ -9754,14 +10025,14 @@ this.state = 18;
case 18:
//C
this.state = 21;
-parent.__c.LogImpl("724313880",parent._cuantos+"|"+BA.NumberToString(_cuantos2),0);
+parent.__c.LogImpl("424444952",parent._cuantos+"|"+BA.NumberToString(_cuantos2),0);
if (true) break;
case 21:
//C
this.state = 22;
;
- //BA.debugLineNum = 6243;BA.debugLine="If CUANTOS = 0 And CUANTOS2 = 0 Then";
+ //BA.debugLineNum = 6574;BA.debugLine="If CUANTOS = 0 And CUANTOS2 = 0 Then";
if (true) break;
case 22:
@@ -9776,10 +10047,10 @@ this.state = 223;
case 24:
//C
this.state = 25;
- //BA.debugLineNum = 6244;BA.debugLine="Private enc As Cursor = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 6575;BA.debugLine="Private enc As Cursor = B4XPages.MainPage.skmt.E";
_enc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_enc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_EP_ID, CAT_EP_IDTIPOPREGUNTA, CAT_CE_DESCRIPCION, CAT_EP_PREGUNTA, CAT_EP_RES1_PRED, CAT_EP_RES2_PRED, CAT_EP_RES3_PRED, CAT_EP_ORDEN_PREGUNTA FROM CAT_ENCUESTA_PREGUNTA ORDER BY CAT_CE_DESCRIPCION, CAST(CAT_EP_ORDEN_PREGUNTA AS DECIMAL)")));
- //BA.debugLineNum = 6245;BA.debugLine="If enc.RowCount > 0 Then";
+ //BA.debugLineNum = 6576;BA.debugLine="If enc.RowCount > 0 Then";
if (true) break;
case 25:
@@ -9794,9 +10065,9 @@ this.state = 220;
case 27:
//C
this.state = 28;
- //BA.debugLineNum = 6246;BA.debugLine="enc.position = 0";
+ //BA.debugLineNum = 6577;BA.debugLine="enc.position = 0";
_enc.setPosition((int) (0));
- //BA.debugLineNum = 6247;BA.debugLine="If logger Then Log($\"CAT_EP_ID=${enc.GetString(";
+ //BA.debugLineNum = 6578;BA.debugLine="If logger Then Log($\"CAT_EP_ID=${enc.GetString(";
if (true) break;
case 28:
@@ -9809,18 +10080,18 @@ this.state = 30;
case 30:
//C
this.state = 33;
-parent.__c.LogImpl("724313885",("CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+""),0);
+parent.__c.LogImpl("424444957",("CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+""),0);
if (true) break;
case 33:
//C
this.state = 34;
;
- //BA.debugLineNum = 6248;BA.debugLine="Private listaPreguntas As List";
+ //BA.debugLineNum = 6579;BA.debugLine="Private listaPreguntas As List";
_listapreguntas = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 6249;BA.debugLine="listaPreguntas.Initialize";
+ //BA.debugLineNum = 6580;BA.debugLine="listaPreguntas.Initialize";
_listapreguntas.Initialize();
- //BA.debugLineNum = 6250;BA.debugLine="For j = 0 To enc.RowCount - 1 'Ponemos en una l";
+ //BA.debugLineNum = 6581;BA.debugLine="For j = 0 To enc.RowCount - 1 'Ponemos en una l";
if (true) break;
case 34:
@@ -9847,14 +10118,14 @@ if (true) break;
case 36:
//C
this.state = 226;
- //BA.debugLineNum = 6251;BA.debugLine="enc.Position = j";
+ //BA.debugLineNum = 6582;BA.debugLine="enc.Position = j";
_enc.setPosition(_j);
- //BA.debugLineNum = 6252;BA.debugLine="listaPreguntas.Add(enc.GetString(\"CAT_EP_ID\"))";
+ //BA.debugLineNum = 6583;BA.debugLine="listaPreguntas.Add(enc.GetString(\"CAT_EP_ID\"))";
_listapreguntas.Add((Object)(_enc.GetString("CAT_EP_ID")));
if (true) break;
if (true) break;
;
- //BA.debugLineNum = 6254;BA.debugLine="If logger Then Log(listaPreguntas)";
+ //BA.debugLineNum = 6585;BA.debugLine="If logger Then Log(listaPreguntas)";
case 37:
//if
@@ -9866,16 +10137,16 @@ this.state = 39;
case 39:
//C
this.state = 42;
-parent.__c.LogImpl("724313892",BA.ObjectToString(_listapreguntas),0);
+parent.__c.LogImpl("424444964",BA.ObjectToString(_listapreguntas),0);
if (true) break;
case 42:
//C
this.state = 43;
;
- //BA.debugLineNum = 6255;BA.debugLine="enc.position = 0";
+ //BA.debugLineNum = 6586;BA.debugLine="enc.position = 0";
_enc.setPosition((int) (0));
- //BA.debugLineNum = 6256;BA.debugLine="For i = 0 To enc.RowCount - 1";
+ //BA.debugLineNum = 6587;BA.debugLine="For i = 0 To enc.RowCount - 1";
if (true) break;
case 43:
@@ -9902,9 +10173,9 @@ if (true) break;
case 45:
//C
this.state = 46;
- //BA.debugLineNum = 6257;BA.debugLine="Log(\"#########################################";
-parent.__c.LogImpl("724313895","########################################################",0);
- //BA.debugLineNum = 6260;BA.debugLine="If logger Then Log($\"Tipo: ${enc.GetString(\"CA";
+ //BA.debugLineNum = 6588;BA.debugLine="Log(\"#########################################";
+parent.__c.LogImpl("424444967","########################################################",0);
+ //BA.debugLineNum = 6591;BA.debugLine="If logger Then Log($\"Tipo: ${enc.GetString(\"CA";
if (true) break;
case 46:
@@ -9917,14 +10188,14 @@ this.state = 48;
case 48:
//C
this.state = 51;
-parent.__c.LogImpl("724313898",("Tipo: "+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_IDTIPOPREGUNTA")))+", CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+", CAT_EP_PREGUNTA="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_PREGUNTA")))+""),0);
+parent.__c.LogImpl("424444970",("Tipo: "+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_IDTIPOPREGUNTA")))+", CAT_EP_ID="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_ID")))+", CAT_EP_PREGUNTA="+parent.__c.SmartStringFormatter("",(Object)(_enc.GetString("CAT_EP_PREGUNTA")))+""),0);
if (true) break;
case 51:
//C
this.state = 52;
;
- //BA.debugLineNum = 6261;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") <> 4";
+ //BA.debugLineNum = 6592;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") <> 4";
if (true) break;
case 52:
@@ -9937,15 +10208,15 @@ this.state = 54;
case 54:
//C
this.state = 55;
- //BA.debugLineNum = 6262;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G";
+ //BA.debugLineNum = 6593;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G";
parent._indicepregunta = (int) (_listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_ID")))+1);
- //BA.debugLineNum = 6263;BA.debugLine="i = indicePregunta";
+ //BA.debugLineNum = 6594;BA.debugLine="i = indicePregunta";
_i = parent._indicepregunta;
- //BA.debugLineNum = 6264;BA.debugLine="Log($\"i = ${i}\"$)";
-parent.__c.LogImpl("724313902",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
+ //BA.debugLineNum = 6595;BA.debugLine="Log($\"i = ${i}\"$)";
+parent.__c.LogImpl("424444974",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
if (true) break;
;
- //BA.debugLineNum = 6266;BA.debugLine="If logger Then Log(\"indicePregunta: \" & indice";
+ //BA.debugLineNum = 6597;BA.debugLine="If logger Then Log(\"indicePregunta: \" & indice";
case 55:
//if
@@ -9957,14 +10228,14 @@ this.state = 57;
case 57:
//C
this.state = 60;
-parent.__c.LogImpl("724313904","indicePregunta: "+BA.NumberToString(parent._indicepregunta)+", TIPO: "+_enc.GetString("CAT_EP_IDTIPOPREGUNTA"),0);
+parent.__c.LogImpl("424444976","indicePregunta: "+BA.NumberToString(parent._indicepregunta)+", TIPO: "+_enc.GetString("CAT_EP_IDTIPOPREGUNTA"),0);
if (true) break;
case 60:
//C
this.state = 61;
;
- //BA.debugLineNum = 6268;BA.debugLine="If logger Then Log($\"EncuestaRes = ${encuestaR";
+ //BA.debugLineNum = 6599;BA.debugLine="If logger Then Log($\"EncuestaRes = ${encuestaR";
if (true) break;
case 61:
@@ -9977,14 +10248,14 @@ this.state = 63;
case 63:
//C
this.state = 66;
-parent.__c.LogImpl("724313906",("EncuestaRes = "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),0);
+parent.__c.LogImpl("424444978",("EncuestaRes = "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),0);
if (true) break;
case 66:
//C
this.state = 67;
;
- //BA.debugLineNum = 6269;BA.debugLine="If logger Then Log(listaPreguntas)";
+ //BA.debugLineNum = 6600;BA.debugLine="If logger Then Log(listaPreguntas)";
if (true) break;
case 67:
@@ -9997,14 +10268,14 @@ this.state = 69;
case 69:
//C
this.state = 72;
-parent.__c.LogImpl("724313907",BA.ObjectToString(_listapreguntas),0);
+parent.__c.LogImpl("424444979",BA.ObjectToString(_listapreguntas),0);
if (true) break;
case 72:
//C
this.state = 73;
;
- //BA.debugLineNum = 6270;BA.debugLine="If TOMAR_FOTO = 1 Then";
+ //BA.debugLineNum = 6601;BA.debugLine="If TOMAR_FOTO = 1 Then";
if (true) break;
case 73:
@@ -10017,7 +10288,7 @@ this.state = 75;
case 75:
//C
this.state = 76;
- //BA.debugLineNum = 6271;BA.debugLine="If CURSOR_FOTO + 1 > enc.RowCount -1 Then";
+ //BA.debugLineNum = 6602;BA.debugLine="If CURSOR_FOTO + 1 > enc.RowCount -1 Then";
if (true) break;
case 76:
@@ -10032,11 +10303,11 @@ this.state = 80;
case 78:
//C
this.state = 81;
- //BA.debugLineNum = 6272;BA.debugLine="TOMAR_FOTO = 0";
+ //BA.debugLineNum = 6603;BA.debugLine="TOMAR_FOTO = 0";
parent._tomar_foto = BA.NumberToString(0);
- //BA.debugLineNum = 6273;BA.debugLine="LogColor(\"TOMAR FOTO = 1\", Colors.Red)";
-parent.__c.LogImpl("724313911","TOMAR FOTO = 1",parent.__c.Colors.Red);
- //BA.debugLineNum = 6274;BA.debugLine="Exit";
+ //BA.debugLineNum = 6604;BA.debugLine="LogColor(\"TOMAR FOTO = 1\", Colors.Red)";
+parent.__c.LogImpl("424444983","TOMAR FOTO = 1",parent.__c.Colors.Red);
+ //BA.debugLineNum = 6605;BA.debugLine="Exit";
this.state = 218;
if (true) break;
if (true) break;
@@ -10044,11 +10315,11 @@ if (true) break;
case 80:
//C
this.state = 81;
- //BA.debugLineNum = 6276;BA.debugLine="i = CURSOR_FOTO + 1";
+ //BA.debugLineNum = 6607;BA.debugLine="i = CURSOR_FOTO + 1";
_i = (int) (parent._cursor_foto+1);
if (true) break;
;
- //BA.debugLineNum = 6278;BA.debugLine="If logger Then Log($\"i = ${i}\"$)";
+ //BA.debugLineNum = 6609;BA.debugLine="If logger Then Log($\"i = ${i}\"$)";
case 81:
//if
@@ -10060,18 +10331,18 @@ this.state = 83;
case 83:
//C
this.state = 86;
-parent.__c.LogImpl("724313916",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
+parent.__c.LogImpl("424444988",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
if (true) break;
case 86:
//C
this.state = 87;
;
- //BA.debugLineNum = 6279;BA.debugLine="TOMAR_FOTO = 0";
+ //BA.debugLineNum = 6610;BA.debugLine="TOMAR_FOTO = 0";
parent._tomar_foto = BA.NumberToString(0);
if (true) break;
;
- //BA.debugLineNum = 6281;BA.debugLine="If i > (enc.RowCount - 1) Then";
+ //BA.debugLineNum = 6612;BA.debugLine="If i > (enc.RowCount - 1) Then";
case 87:
//if
@@ -10083,9 +10354,9 @@ this.state = 89;
case 89:
//C
this.state = 90;
- //BA.debugLineNum = 6282;BA.debugLine="LogColor(\"MAS DE ${enc.RowCount - 1}\", Colors";
-parent.__c.LogImpl("724313920","MAS DE ${enc.RowCount - 1}",parent.__c.Colors.Red);
- //BA.debugLineNum = 6283;BA.debugLine="Exit ' Si se contestó la ultima pregunta, ent";
+ //BA.debugLineNum = 6613;BA.debugLine="LogColor(\"MAS DE ${enc.RowCount - 1}\", Colors";
+parent.__c.LogImpl("424444992","MAS DE ${enc.RowCount - 1}",parent.__c.Colors.Red);
+ //BA.debugLineNum = 6614;BA.debugLine="Exit ' Si se contestó la ultima pregunta, ent";
this.state = 218;
if (true) break;
if (true) break;
@@ -10094,13 +10365,13 @@ case 90:
//C
this.state = 91;
;
- //BA.debugLineNum = 6287;BA.debugLine="i = indicePregunta";
+ //BA.debugLineNum = 6618;BA.debugLine="i = indicePregunta";
_i = parent._indicepregunta;
- //BA.debugLineNum = 6289;BA.debugLine="enc.Position = i";
+ //BA.debugLineNum = 6620;BA.debugLine="enc.Position = i";
_enc.setPosition(_i);
- //BA.debugLineNum = 6290;BA.debugLine="Log($\"POSICION = ${enc.Position}\"$)";
-parent.__c.LogImpl("724313928",("POSICION = "+parent.__c.SmartStringFormatter("",(Object)(_enc.getPosition()))+""),0);
- //BA.debugLineNum = 6291;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") = 5";
+ //BA.debugLineNum = 6621;BA.debugLine="Log($\"POSICION = ${enc.Position}\"$)";
+parent.__c.LogImpl("424445000",("POSICION = "+parent.__c.SmartStringFormatter("",(Object)(_enc.getPosition()))+""),0);
+ //BA.debugLineNum = 6622;BA.debugLine="If enc.GetString(\"CAT_EP_IDTIPOPREGUNTA\") = 5";
if (true) break;
case 91:
@@ -10125,7 +10396,7 @@ this.state = 213;
case 93:
//C
this.state = 94;
- //BA.debugLineNum = 6292;BA.debugLine="If logger Then Log(\"Pregunta tipo 5\")";
+ //BA.debugLineNum = 6623;BA.debugLine="If logger Then Log(\"Pregunta tipo 5\")";
if (true) break;
case 94:
@@ -10138,35 +10409,35 @@ this.state = 96;
case 96:
//C
this.state = 99;
-parent.__c.LogImpl("724313930","Pregunta tipo 5",0);
+parent.__c.LogImpl("424445002","Pregunta tipo 5",0);
if (true) break;
case 99:
//C
this.state = 214;
;
- //BA.debugLineNum = 6293;BA.debugLine="id_encuesta = enc.GetString(\"CAT_EP_ID\")";
+ //BA.debugLineNum = 6624;BA.debugLine="id_encuesta = enc.GetString(\"CAT_EP_ID\")";
parent._id_encuesta = _enc.GetString("CAT_EP_ID");
- //BA.debugLineNum = 6294;BA.debugLine="idencuestaaguardar = enc.GetString(\"CAT_EP_ID";
+ //BA.debugLineNum = 6625;BA.debugLine="idencuestaaguardar = enc.GetString(\"CAT_EP_ID";
parent._idencuestaaguardar = _enc.GetString("CAT_EP_ID");
- //BA.debugLineNum = 6295;BA.debugLine="LogColor(idencuestaaguardar,Colors.Blue)";
-parent.__c.LogImpl("724313933",parent._idencuestaaguardar,parent.__c.Colors.Blue);
- //BA.debugLineNum = 6296;BA.debugLine="TOMAR_FOTO = 1";
+ //BA.debugLineNum = 6626;BA.debugLine="LogColor(idencuestaaguardar,Colors.Blue)";
+parent.__c.LogImpl("424445005",parent._idencuestaaguardar,parent.__c.Colors.Blue);
+ //BA.debugLineNum = 6627;BA.debugLine="TOMAR_FOTO = 1";
parent._tomar_foto = BA.NumberToString(1);
- //BA.debugLineNum = 6297;BA.debugLine="CURSOR_FOTO = i";
+ //BA.debugLineNum = 6628;BA.debugLine="CURSOR_FOTO = i";
parent._cursor_foto = _i;
- //BA.debugLineNum = 6298;BA.debugLine="LogColor(\"PREGUNTA TIPO 5 SALIMOS\", Colors.Re";
-parent.__c.LogImpl("724313936","PREGUNTA TIPO 5 SALIMOS",parent.__c.Colors.Red);
- //BA.debugLineNum = 6300;BA.debugLine="InitializeCamera2";
+ //BA.debugLineNum = 6629;BA.debugLine="LogColor(\"PREGUNTA TIPO 5 SALIMOS\", Colors.Re";
+parent.__c.LogImpl("424445008","PREGUNTA TIPO 5 SALIMOS",parent.__c.Colors.Red);
+ //BA.debugLineNum = 6631;BA.debugLine="InitializeCamera2";
parent._initializecamera2();
- //BA.debugLineNum = 6301;BA.debugLine="p_camara.Visible = True";
+ //BA.debugLineNum = 6632;BA.debugLine="p_camara.Visible = True";
parent._p_camara.setVisible(parent.__c.True);
if (true) break;
case 101:
//C
this.state = 102;
- //BA.debugLineNum = 6305;BA.debugLine="If logger Then Log(\"Pregunta tipo 3\")";
+ //BA.debugLineNum = 6636;BA.debugLine="If logger Then Log(\"Pregunta tipo 3\")";
if (true) break;
case 102:
@@ -10179,30 +10450,30 @@ this.state = 104;
case 104:
//C
this.state = 107;
-parent.__c.LogImpl("724313943","Pregunta tipo 3",0);
+parent.__c.LogImpl("424445015","Pregunta tipo 3",0);
if (true) break;
case 107:
//C
this.state = 108;
;
- //BA.debugLineNum = 6306;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
+ //BA.debugLineNum = 6637;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
parent._botonpresionado = (int) (0);
- //BA.debugLineNum = 6307;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
+ //BA.debugLineNum = 6638;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
parent._l_titencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION")));
- //BA.debugLineNum = 6308;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
+ //BA.debugLineNum = 6639;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
parent._l_txtencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
- //BA.debugLineNum = 6309;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width";
+ //BA.debugLineNum = 6640;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width";
parent._subs._centraetiqueta /*String*/ (ba,parent._l_txtencuesta,parent._root.getWidth());
- //BA.debugLineNum = 6310;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString";
+ //BA.debugLineNum = 6641;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString";
parent._muestraboton(parent._b_encuesta_1,"SI",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-350),(int) (580),(int) (300),(int) (160));
- //BA.debugLineNum = 6311;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin";
+ //BA.debugLineNum = 6642;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin";
parent._muestraboton(parent._b_encuesta_2,"NO",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()+50),(int) (580),(int) (300),(int) (160));
- //BA.debugLineNum = 6312;BA.debugLine="muestraEncuesta";
+ //BA.debugLineNum = 6643;BA.debugLine="muestraEncuesta";
parent._muestraencuesta();
- //BA.debugLineNum = 6313;BA.debugLine="Log(\"Esperamos respuesta\")";
-parent.__c.LogImpl("724313951","Esperamos respuesta",0);
- //BA.debugLineNum = 6314;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
+ //BA.debugLineNum = 6644;BA.debugLine="Log(\"Esperamos respuesta\")";
+parent.__c.LogImpl("424445023","Esperamos respuesta",0);
+ //BA.debugLineNum = 6645;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
if (true) break;
case 108:
@@ -10217,7 +10488,7 @@ if (true) break;
case 110:
//C
this.state = 108;
- //BA.debugLineNum = 6315;BA.debugLine="Sleep(0)";
+ //BA.debugLineNum = 6646;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,this,(int) (0));
this.state = 229;
return;
@@ -10227,7 +10498,7 @@ this.state = 108;
;
if (true) break;
;
- //BA.debugLineNum = 6317;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta";
+ //BA.debugLineNum = 6648;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta";
case 111:
//if
@@ -10239,14 +10510,14 @@ this.state = 113;
case 113:
//C
this.state = 116;
-parent.__c.LogImpl("724313955","encuestaRes: "+parent._encuestares,0);
+parent.__c.LogImpl("424445027","encuestaRes: "+parent._encuestares,0);
if (true) break;
case 116:
//C
this.state = 117;
;
- //BA.debugLineNum = 6318;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 3 :";
+ //BA.debugLineNum = 6649;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 3 :";
if (true) break;
case 117:
@@ -10259,23 +10530,23 @@ this.state = 119;
case 119:
//C
this.state = 122;
-parent.__c.LogImpl("724313956",("Guardamos tipo 3 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green);
+parent.__c.LogImpl("424445028",("Guardamos tipo 3 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green);
if (true) break;
case 122:
//C
this.state = 214;
;
- //BA.debugLineNum = 6319;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
+ //BA.debugLineNum = 6650;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._encuestares),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
- //BA.debugLineNum = 6320;BA.debugLine="ocultaPanelEncuesta";
+ //BA.debugLineNum = 6651;BA.debugLine="ocultaPanelEncuesta";
parent._ocultapanelencuesta();
if (true) break;
case 124:
//C
this.state = 125;
- //BA.debugLineNum = 6322;BA.debugLine="If logger Then Log(\"Pregunta tipo 4\")";
+ //BA.debugLineNum = 6653;BA.debugLine="If logger Then Log(\"Pregunta tipo 4\")";
if (true) break;
case 125:
@@ -10288,20 +10559,20 @@ this.state = 127;
case 127:
//C
this.state = 130;
-parent.__c.LogImpl("724313960","Pregunta tipo 4",0);
+parent.__c.LogImpl("424445032","Pregunta tipo 4",0);
if (true) break;
case 130:
//C
this.state = 131;
;
- //BA.debugLineNum = 6323;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
+ //BA.debugLineNum = 6654;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
parent._botonpresionado = (int) (0);
- //BA.debugLineNum = 6324;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
+ //BA.debugLineNum = 6655;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
parent._l_titencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION")));
- //BA.debugLineNum = 6325;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
+ //BA.debugLineNum = 6656;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
parent._l_txtencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
- //BA.debugLineNum = 6326;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
+ //BA.debugLineNum = 6657;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
if (true) break;
case 131:
@@ -10314,24 +10585,24 @@ this.state = 133;
case 133:
//C
this.state = 136;
-parent.__c.LogImpl("724313964",_enc.GetString("CAT_EP_PREGUNTA"),0);
+parent.__c.LogImpl("424445036",_enc.GetString("CAT_EP_PREGUNTA"),0);
if (true) break;
case 136:
//C
this.state = 137;
;
- //BA.debugLineNum = 6327;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width";
+ //BA.debugLineNum = 6658;BA.debugLine="Subs.centraEtiqueta(l_txtEncuesta, Root.Width";
parent._subs._centraetiqueta /*String*/ (ba,parent._l_txtencuesta,parent._root.getWidth());
- //BA.debugLineNum = 6328;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString";
+ //BA.debugLineNum = 6659;BA.debugLine="muestraBoton(b_encuesta_1,\"SI\", enc.GetString";
parent._muestraboton(parent._b_encuesta_1,"SI",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-350),(int) (580),(int) (300),(int) (160));
- //BA.debugLineNum = 6329;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin";
+ //BA.debugLineNum = 6660;BA.debugLine="muestraBoton(b_encuesta_2, \"NO\", enc.GetStrin";
parent._muestraboton(parent._b_encuesta_2,"NO",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()+50),(int) (580),(int) (300),(int) (160));
- //BA.debugLineNum = 6330;BA.debugLine="muestraEncuesta";
+ //BA.debugLineNum = 6661;BA.debugLine="muestraEncuesta";
parent._muestraencuesta();
- //BA.debugLineNum = 6331;BA.debugLine="Log(\"Esperamos respuesta\")";
-parent.__c.LogImpl("724313969","Esperamos respuesta",0);
- //BA.debugLineNum = 6332;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
+ //BA.debugLineNum = 6662;BA.debugLine="Log(\"Esperamos respuesta\")";
+parent.__c.LogImpl("424445041","Esperamos respuesta",0);
+ //BA.debugLineNum = 6663;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
if (true) break;
case 137:
@@ -10346,7 +10617,7 @@ if (true) break;
case 139:
//C
this.state = 137;
- //BA.debugLineNum = 6333;BA.debugLine="Sleep(0)";
+ //BA.debugLineNum = 6664;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,this,(int) (0));
this.state = 230;
return;
@@ -10356,7 +10627,7 @@ this.state = 137;
;
if (true) break;
;
- //BA.debugLineNum = 6335;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta";
+ //BA.debugLineNum = 6666;BA.debugLine="If logger Then Log(\"encuestaRes: \" & encuesta";
case 140:
//if
@@ -10368,14 +10639,14 @@ this.state = 142;
case 142:
//C
this.state = 145;
-parent.__c.LogImpl("724313973","encuestaRes: "+parent._encuestares,0);
+parent.__c.LogImpl("424445045","encuestaRes: "+parent._encuestares,0);
if (true) break;
case 145:
//C
this.state = 146;
;
- //BA.debugLineNum = 6336;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 4 :";
+ //BA.debugLineNum = 6667;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 4 :";
if (true) break;
case 146:
@@ -10388,14 +10659,14 @@ this.state = 148;
case 148:
//C
this.state = 151;
-parent.__c.LogImpl("724313974",("Guardamos tipo 4 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green);
+parent.__c.LogImpl("424445046",("Guardamos tipo 4 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green);
if (true) break;
case 151:
//C
this.state = 152;
;
- //BA.debugLineNum = 6337;BA.debugLine="If encuestaRes = \"SI\" Then";
+ //BA.debugLineNum = 6668;BA.debugLine="If encuestaRes = \"SI\" Then";
if (true) break;
case 152:
@@ -10410,30 +10681,30 @@ this.state = 156;
case 154:
//C
this.state = 161;
- //BA.debugLineNum = 6338;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
+ //BA.debugLineNum = 6669;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)("SI"),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
- //BA.debugLineNum = 6339;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.";
+ //BA.debugLineNum = 6670;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.";
parent._indicepregunta = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_RES1_PRED")));
- //BA.debugLineNum = 6340;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)";
-parent.__c.LogImpl("724313978",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(parent._indicepregunta))+""),0);
- //BA.debugLineNum = 6341;BA.debugLine="i = indicePregunta";
+ //BA.debugLineNum = 6671;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)";
+parent.__c.LogImpl("424445050",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(parent._indicepregunta))+""),0);
+ //BA.debugLineNum = 6672;BA.debugLine="i = indicePregunta";
_i = parent._indicepregunta;
if (true) break;
case 156:
//C
this.state = 157;
- //BA.debugLineNum = 6343;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
+ //BA.debugLineNum = 6674;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)("NO"),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
- //BA.debugLineNum = 6344;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.";
+ //BA.debugLineNum = 6675;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.";
parent._indicepregunta = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_RES2_PRED")));
- //BA.debugLineNum = 6345;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)";
-parent.__c.LogImpl("724313983",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(parent._indicepregunta))+""),0);
- //BA.debugLineNum = 6346;BA.debugLine="i = indicePregunta";
+ //BA.debugLineNum = 6676;BA.debugLine="Log($\"IndicePreg = ${indicePregunta}\"$)";
+parent.__c.LogImpl("424445055",("IndicePreg = "+parent.__c.SmartStringFormatter("",(Object)(parent._indicepregunta))+""),0);
+ //BA.debugLineNum = 6677;BA.debugLine="i = indicePregunta";
_i = parent._indicepregunta;
- //BA.debugLineNum = 6347;BA.debugLine="Log($\"I = ${i}\"$)";
-parent.__c.LogImpl("724313985",("I = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
- //BA.debugLineNum = 6348;BA.debugLine="If enc.GetString(\"CAT_EP_RES2_PRED\") = \"null";
+ //BA.debugLineNum = 6678;BA.debugLine="Log($\"I = ${i}\"$)";
+parent.__c.LogImpl("424445057",("I = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
+ //BA.debugLineNum = 6679;BA.debugLine="If enc.GetString(\"CAT_EP_RES2_PRED\") = \"null";
if (true) break;
case 157:
@@ -10446,7 +10717,7 @@ this.state = 159;
case 159:
//C
this.state = 160;
- //BA.debugLineNum = 6349;BA.debugLine="Exit";
+ //BA.debugLineNum = 6680;BA.debugLine="Exit";
this.state = 218;
if (true) break;
if (true) break;
@@ -10466,15 +10737,15 @@ this.state = 214;
case 163:
//C
this.state = 164;
- //BA.debugLineNum = 6353;BA.debugLine="Log(\"Pregunta tipo 2\")";
-parent.__c.LogImpl("724313991","Pregunta tipo 2",0);
- //BA.debugLineNum = 6354;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
+ //BA.debugLineNum = 6684;BA.debugLine="Log(\"Pregunta tipo 2\")";
+parent.__c.LogImpl("424445063","Pregunta tipo 2",0);
+ //BA.debugLineNum = 6685;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
parent._botonpresionado = (int) (0);
- //BA.debugLineNum = 6355;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
+ //BA.debugLineNum = 6686;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
parent._l_titencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION")));
- //BA.debugLineNum = 6356;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
+ //BA.debugLineNum = 6687;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
parent._l_txtencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
- //BA.debugLineNum = 6357;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
+ //BA.debugLineNum = 6688;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
if (true) break;
case 164:
@@ -10487,24 +10758,24 @@ this.state = 166;
case 166:
//C
this.state = 169;
-parent.__c.LogImpl("724313995",_enc.GetString("CAT_EP_PREGUNTA"),0);
+parent.__c.LogImpl("424445067",_enc.GetString("CAT_EP_PREGUNTA"),0);
if (true) break;
case 169:
//C
this.state = 170;
;
- //BA.debugLineNum = 6358;BA.debugLine="muestraBoton(b_encuesta_1, enc.GetString(\"CAT";
+ //BA.debugLineNum = 6689;BA.debugLine="muestraBoton(b_encuesta_1, enc.GetString(\"CAT";
parent._muestraboton(parent._b_encuesta_1,_enc.GetString("CAT_EP_RES1_PRED"),_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-250),(int) (580),(int) (500),(int) (160));
- //BA.debugLineNum = 6359;BA.debugLine="muestraBoton(b_encuesta_2, enc.GetString(\"CAT";
+ //BA.debugLineNum = 6690;BA.debugLine="muestraBoton(b_encuesta_2, enc.GetString(\"CAT";
parent._muestraboton(parent._b_encuesta_2,_enc.GetString("CAT_EP_RES2_PRED"),_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-250),(int) (740),(int) (500),(int) (160));
- //BA.debugLineNum = 6360;BA.debugLine="muestraBoton(b_encuesta_3, enc.GetString(\"CAT";
+ //BA.debugLineNum = 6691;BA.debugLine="muestraBoton(b_encuesta_3, enc.GetString(\"CAT";
parent._muestraboton(parent._b_encuesta_3,_enc.GetString("CAT_EP_RES3_PRED"),_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-250),(int) (900),(int) (500),(int) (160));
- //BA.debugLineNum = 6361;BA.debugLine="muestraEncuesta";
+ //BA.debugLineNum = 6692;BA.debugLine="muestraEncuesta";
parent._muestraencuesta();
- //BA.debugLineNum = 6362;BA.debugLine="Log(\"Esperamos respuesta\")";
-parent.__c.LogImpl("724314000","Esperamos respuesta",0);
- //BA.debugLineNum = 6363;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
+ //BA.debugLineNum = 6693;BA.debugLine="Log(\"Esperamos respuesta\")";
+parent.__c.LogImpl("424445072","Esperamos respuesta",0);
+ //BA.debugLineNum = 6694;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
if (true) break;
case 170:
@@ -10519,7 +10790,7 @@ if (true) break;
case 172:
//C
this.state = 170;
- //BA.debugLineNum = 6364;BA.debugLine="Sleep(0)";
+ //BA.debugLineNum = 6695;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,this,(int) (0));
this.state = 231;
return;
@@ -10533,9 +10804,9 @@ case 173:
//C
this.state = 174;
;
- //BA.debugLineNum = 6366;BA.debugLine="Log(\"encuestaRes: \" & encuestaRes)";
-parent.__c.LogImpl("724314004","encuestaRes: "+parent._encuestares,0);
- //BA.debugLineNum = 6367;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 2 :";
+ //BA.debugLineNum = 6697;BA.debugLine="Log(\"encuestaRes: \" & encuestaRes)";
+parent.__c.LogImpl("424445076","encuestaRes: "+parent._encuestares,0);
+ //BA.debugLineNum = 6698;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 2 :";
if (true) break;
case 174:
@@ -10548,20 +10819,20 @@ this.state = 176;
case 176:
//C
this.state = 179;
-parent.__c.LogImpl("724314005",("Guardamos tipo 2 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green);
+parent.__c.LogImpl("424445077",("Guardamos tipo 2 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green);
if (true) break;
case 179:
//C
this.state = 180;
;
- //BA.debugLineNum = 6368;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
+ //BA.debugLineNum = 6699;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._encuestares),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
- //BA.debugLineNum = 6370;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G";
+ //BA.debugLineNum = 6701;BA.debugLine="indicePregunta = listaPreguntas.IndexOf(enc.G";
parent._indicepregunta = _listapreguntas.IndexOf((Object)(_enc.GetString("CAT_EP_ID")));
- //BA.debugLineNum = 6371;BA.debugLine="i = indicePregunta + 1";
+ //BA.debugLineNum = 6702;BA.debugLine="i = indicePregunta + 1";
_i = (int) (parent._indicepregunta+1);
- //BA.debugLineNum = 6372;BA.debugLine="If i = enc.RowCount - 1 Then i = i - 1";
+ //BA.debugLineNum = 6703;BA.debugLine="If i = enc.RowCount - 1 Then i = i - 1";
if (true) break;
case 180:
@@ -10581,16 +10852,16 @@ case 185:
//C
this.state = 214;
;
- //BA.debugLineNum = 6373;BA.debugLine="Log($\"i = ${i}\"$)";
-parent.__c.LogImpl("724314011",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
- //BA.debugLineNum = 6374;BA.debugLine="ocultaPanelEncuesta";
+ //BA.debugLineNum = 6704;BA.debugLine="Log($\"i = ${i}\"$)";
+parent.__c.LogImpl("424445083",("i = "+parent.__c.SmartStringFormatter("",(Object)(_i))+""),0);
+ //BA.debugLineNum = 6705;BA.debugLine="ocultaPanelEncuesta";
parent._ocultapanelencuesta();
if (true) break;
case 187:
//C
this.state = 188;
- //BA.debugLineNum = 6376;BA.debugLine="If logger Then Log(\"Pregunta tipo 6\")";
+ //BA.debugLineNum = 6707;BA.debugLine="If logger Then Log(\"Pregunta tipo 6\")";
if (true) break;
case 188:
@@ -10603,46 +10874,46 @@ this.state = 190;
case 190:
//C
this.state = 193;
-parent.__c.LogImpl("724314014","Pregunta tipo 6",0);
+parent.__c.LogImpl("424445086","Pregunta tipo 6",0);
if (true) break;
case 193:
//C
this.state = 214;
;
- //BA.debugLineNum = 6377;BA.debugLine="Panel10.Visible = True";
+ //BA.debugLineNum = 6708;BA.debugLine="Panel10.Visible = True";
parent._panel10.setVisible(parent.__c.True);
- //BA.debugLineNum = 6378;BA.debugLine="l_chk_e.Text = enc.GetString(\"CAT_EP_PREGUNT";
+ //BA.debugLineNum = 6709;BA.debugLine="l_chk_e.Text = enc.GetString(\"CAT_EP_PREGUNT";
parent._l_chk_e.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
- //BA.debugLineNum = 6379;BA.debugLine="Chk_1.Checked = False";
+ //BA.debugLineNum = 6710;BA.debugLine="Chk_1.Checked = False";
parent._chk_1.setChecked(parent.__c.False);
- //BA.debugLineNum = 6380;BA.debugLine="chk_2.Checked = False";
+ //BA.debugLineNum = 6711;BA.debugLine="chk_2.Checked = False";
parent._chk_2.setChecked(parent.__c.False);
- //BA.debugLineNum = 6381;BA.debugLine="chk_3.Checked = False";
+ //BA.debugLineNum = 6712;BA.debugLine="chk_3.Checked = False";
parent._chk_3.setChecked(parent.__c.False);
- //BA.debugLineNum = 6382;BA.debugLine="Chk_1.Text = enc.GetString(\"CAT_EP_RES1_PRED\"";
+ //BA.debugLineNum = 6713;BA.debugLine="Chk_1.Text = enc.GetString(\"CAT_EP_RES1_PRED\"";
parent._chk_1.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES1_PRED")));
- //BA.debugLineNum = 6383;BA.debugLine="chk_2.Text = enc.GetString(\"CAT_EP_RES2_PRED";
+ //BA.debugLineNum = 6714;BA.debugLine="chk_2.Text = enc.GetString(\"CAT_EP_RES2_PRED";
parent._chk_2.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES2_PRED")));
- //BA.debugLineNum = 6384;BA.debugLine="chk_3.Text = enc.GetString(\"CAT_EP_RES3_PRED";
+ //BA.debugLineNum = 6715;BA.debugLine="chk_3.Text = enc.GetString(\"CAT_EP_RES3_PRED";
parent._chk_3.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_RES3_PRED")));
- //BA.debugLineNum = 6385;BA.debugLine="chk_1_valor = enc.GetString(\"CAT_EP_RES1_PRE";
+ //BA.debugLineNum = 6716;BA.debugLine="chk_1_valor = enc.GetString(\"CAT_EP_RES1_PRE";
parent._chk_1_valor = _enc.GetString("CAT_EP_RES1_PRED");
- //BA.debugLineNum = 6386;BA.debugLine="chk_2_valor = enc.GetString(\"CAT_EP_RES2_PRE";
+ //BA.debugLineNum = 6717;BA.debugLine="chk_2_valor = enc.GetString(\"CAT_EP_RES2_PRE";
parent._chk_2_valor = _enc.GetString("CAT_EP_RES2_PRED");
- //BA.debugLineNum = 6387;BA.debugLine="chk_3_valor = enc.GetString(\"CAT_EP_RES3_PRE";
+ //BA.debugLineNum = 6718;BA.debugLine="chk_3_valor = enc.GetString(\"CAT_EP_RES3_PRE";
parent._chk_3_valor = _enc.GetString("CAT_EP_RES3_PRED");
- //BA.debugLineNum = 6388;BA.debugLine="Chk_1.Tag = enc.GetString(\"CAT_EP_ID\")";
+ //BA.debugLineNum = 6719;BA.debugLine="Chk_1.Tag = enc.GetString(\"CAT_EP_ID\")";
parent._chk_1.setTag((Object)(_enc.GetString("CAT_EP_ID")));
- //BA.debugLineNum = 6389;BA.debugLine="chk_2.Tag = enc.GetString(\"CAT_EP_ID\")";
+ //BA.debugLineNum = 6720;BA.debugLine="chk_2.Tag = enc.GetString(\"CAT_EP_ID\")";
parent._chk_2.setTag((Object)(_enc.GetString("CAT_EP_ID")));
- //BA.debugLineNum = 6390;BA.debugLine="chk_3.Tag = enc.GetString(\"CAT_EP_ID\")";
+ //BA.debugLineNum = 6721;BA.debugLine="chk_3.Tag = enc.GetString(\"CAT_EP_ID\")";
parent._chk_3.setTag((Object)(_enc.GetString("CAT_EP_ID")));
- //BA.debugLineNum = 6391;BA.debugLine="TOMAR_FOTO = 1";
+ //BA.debugLineNum = 6722;BA.debugLine="TOMAR_FOTO = 1";
parent._tomar_foto = BA.NumberToString(1);
- //BA.debugLineNum = 6392;BA.debugLine="CURSOR_FOTO = i";
+ //BA.debugLineNum = 6723;BA.debugLine="CURSOR_FOTO = i";
parent._cursor_foto = _i;
- //BA.debugLineNum = 6393;BA.debugLine="Exit";
+ //BA.debugLineNum = 6724;BA.debugLine="Exit";
this.state = 218;
if (true) break;
if (true) break;
@@ -10650,15 +10921,15 @@ if (true) break;
case 195:
//C
this.state = 196;
- //BA.debugLineNum = 6395;BA.debugLine="Log(\"Pregunta tipo 1\")";
-parent.__c.LogImpl("724314033","Pregunta tipo 1",0);
- //BA.debugLineNum = 6396;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
+ //BA.debugLineNum = 6726;BA.debugLine="Log(\"Pregunta tipo 1\")";
+parent.__c.LogImpl("424445105","Pregunta tipo 1",0);
+ //BA.debugLineNum = 6727;BA.debugLine="botonPresionado = 0 ' Bandera para que espere";
parent._botonpresionado = (int) (0);
- //BA.debugLineNum = 6397;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
+ //BA.debugLineNum = 6728;BA.debugLine="l_titEncuesta.Text = enc.GetString(\"CAT_CE_DE";
parent._l_titencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_CE_DESCRIPCION")));
- //BA.debugLineNum = 6398;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
+ //BA.debugLineNum = 6729;BA.debugLine="l_txtEncuesta.Text = enc.GetString(\"CAT_EP_PR";
parent._l_txtencuesta.setText(BA.ObjectToCharSequence(_enc.GetString("CAT_EP_PREGUNTA")));
- //BA.debugLineNum = 6399;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
+ //BA.debugLineNum = 6730;BA.debugLine="If logger Then Log(enc.GetString(\"CAT_EP_PREG";
if (true) break;
case 196:
@@ -10671,28 +10942,28 @@ this.state = 198;
case 198:
//C
this.state = 201;
-parent.__c.LogImpl("724314037",_enc.GetString("CAT_EP_PREGUNTA")+"|"+_enc.GetString("CAT_EP_ORDEN_PREGUNTA"),0);
+parent.__c.LogImpl("424445109",_enc.GetString("CAT_EP_PREGUNTA")+"|"+_enc.GetString("CAT_EP_ORDEN_PREGUNTA"),0);
if (true) break;
case 201:
//C
this.state = 202;
;
- //BA.debugLineNum = 6400;BA.debugLine="Subs.centraEditText(et_encuesta, Root.Width)";
+ //BA.debugLineNum = 6731;BA.debugLine="Subs.centraEditText(et_encuesta, Root.Width)";
parent._subs._centraedittext /*String*/ (ba,parent._et_encuesta,parent._root.getWidth());
- //BA.debugLineNum = 6401;BA.debugLine="et_encuesta.Visible = True";
+ //BA.debugLineNum = 6732;BA.debugLine="et_encuesta.Visible = True";
parent._et_encuesta.setVisible(parent.__c.True);
- //BA.debugLineNum = 6402;BA.debugLine="b_encuesta_continuar.Enabled = False";
+ //BA.debugLineNum = 6733;BA.debugLine="b_encuesta_continuar.Enabled = False";
parent._b_encuesta_continuar.setEnabled(parent.__c.False);
- //BA.debugLineNum = 6403;BA.debugLine="Private bTop = et_encuesta.Top + 130";
+ //BA.debugLineNum = 6734;BA.debugLine="Private bTop = et_encuesta.Top + 130";
_btop = BA.NumberToString(parent._et_encuesta.getTop()+130);
- //BA.debugLineNum = 6404;BA.debugLine="muestraBoton(b_encuesta_continuar,\"Continuar\"";
+ //BA.debugLineNum = 6735;BA.debugLine="muestraBoton(b_encuesta_continuar,\"Continuar\"";
parent._muestraboton(parent._b_encuesta_continuar,"Continuar",_enc.GetString("CAT_EP_ID"),(int) (parent._centropantalla()-250),(int)(Double.parseDouble(_btop)),(int) (500),(int) (160));
- //BA.debugLineNum = 6405;BA.debugLine="muestraEncuesta";
+ //BA.debugLineNum = 6736;BA.debugLine="muestraEncuesta";
parent._muestraencuesta();
- //BA.debugLineNum = 6406;BA.debugLine="Log(\"Esperamos respuesta\")";
-parent.__c.LogImpl("724314044","Esperamos respuesta",0);
- //BA.debugLineNum = 6407;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
+ //BA.debugLineNum = 6737;BA.debugLine="Log(\"Esperamos respuesta\")";
+parent.__c.LogImpl("424445116","Esperamos respuesta",0);
+ //BA.debugLineNum = 6738;BA.debugLine="Do Until botonPresionado = 1 'Esperamos que r";
if (true) break;
case 202:
@@ -10707,7 +10978,7 @@ if (true) break;
case 204:
//C
this.state = 202;
- //BA.debugLineNum = 6408;BA.debugLine="Sleep(0)";
+ //BA.debugLineNum = 6739;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,this,(int) (0));
this.state = 232;
return;
@@ -10721,9 +10992,9 @@ case 205:
//C
this.state = 206;
;
- //BA.debugLineNum = 6410;BA.debugLine="Log($\"Respuesta: ${encuestaRes}\"$)";
-parent.__c.LogImpl("724314048",("Respuesta: "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),0);
- //BA.debugLineNum = 6411;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 1 :";
+ //BA.debugLineNum = 6741;BA.debugLine="Log($\"Respuesta: ${encuestaRes}\"$)";
+parent.__c.LogImpl("424445120",("Respuesta: "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),0);
+ //BA.debugLineNum = 6742;BA.debugLine="If logger Then LogColor($\"Guardamos tipo 1 :";
if (true) break;
case 206:
@@ -10736,27 +11007,27 @@ this.state = 208;
case 208:
//C
this.state = 211;
-parent.__c.LogImpl("724314049",("Guardamos tipo 1 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green);
+parent.__c.LogImpl("424445121",("Guardamos tipo 1 : "+parent.__c.SmartStringFormatter("",(Object)(parent._encuestares))+""),parent.__c.Colors.Green);
if (true) break;
case 211:
//C
this.state = 214;
;
- //BA.debugLineNum = 6412;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
+ //BA.debugLineNum = 6743;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._encuestares),(Object)(_fecha),(Object)(_enc.GetString("CAT_EP_ID")),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
- //BA.debugLineNum = 6413;BA.debugLine="ocultaPanelEncuesta";
+ //BA.debugLineNum = 6744;BA.debugLine="ocultaPanelEncuesta";
parent._ocultapanelencuesta();
if (true) break;
case 213:
//C
this.state = 214;
- //BA.debugLineNum = 6416;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 6747;BA.debugLine="B4XPages.ShowPage(\"productos\")";
parent._b4xpages._showpage /*String*/ (ba,"productos");
if (true) break;
;
- //BA.debugLineNum = 6418;BA.debugLine="If i = enc.RowCount - 1 Then";
+ //BA.debugLineNum = 6749;BA.debugLine="If i = enc.RowCount - 1 Then";
case 214:
//if
@@ -10768,7 +11039,7 @@ this.state = 216;
case 216:
//C
this.state = 217;
- //BA.debugLineNum = 6419;BA.debugLine="i = i - 1";
+ //BA.debugLineNum = 6750;BA.debugLine="i = i - 1";
_i = (int) (_i-1);
if (true) break;
@@ -10783,14 +11054,14 @@ case 218:
//C
this.state = 221;
;
- //BA.debugLineNum = 6422;BA.debugLine="enc.Close";
+ //BA.debugLineNum = 6753;BA.debugLine="enc.Close";
_enc.Close();
if (true) break;
case 220:
//C
this.state = 221;
- //BA.debugLineNum = 6425;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 6756;BA.debugLine="B4XPages.ShowPage(\"productos\")";
parent._b4xpages._showpage /*String*/ (ba,"productos");
if (true) break;
@@ -10803,7 +11074,7 @@ this.state = 224;
case 223:
//C
this.state = 224;
- //BA.debugLineNum = 6429;BA.debugLine="B4XPages.ShowPage(\"productos\")";
+ //BA.debugLineNum = 6760;BA.debugLine="B4XPages.ShowPage(\"productos\")";
parent._b4xpages._showpage /*String*/ (ba,"productos");
if (true) break;
@@ -10811,7 +11082,7 @@ case 224:
//C
this.state = -1;
;
- //BA.debugLineNum = 6432;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6763;BA.debugLine="End Sub";
if (true) break;
}
@@ -10819,10 +11090,10 @@ if (true) break;
}
}
public String _datos_click() throws Exception{
- //BA.debugLineNum = 2977;BA.debugLine="Sub DATOS_Click";
- //BA.debugLineNum = 2978;BA.debugLine="B4XPages.ShowPage(\"telefonos\")";
+ //BA.debugLineNum = 3279;BA.debugLine="Sub DATOS_Click";
+ //BA.debugLineNum = 3280;BA.debugLine="B4XPages.ShowPage(\"telefonos\")";
_b4xpages._showpage /*String*/ (ba,"telefonos");
- //BA.debugLineNum = 2979;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3281;BA.debugLine="End Sub";
return "";
}
public void _enviarpdfwhatsappnumero(String _numerotelefono) throws Exception{
@@ -10852,7 +11123,7 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 7382;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono";
+ //BA.debugLineNum = 7713;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono";
if (true) break;
case 1:
@@ -10872,7 +11143,7 @@ case 6:
//C
this.state = 7;
;
- //BA.debugLineNum = 7388;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder";
+ //BA.debugLineNum = 7719;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder";
if (true) break;
case 7:
@@ -10887,40 +11158,40 @@ this.state = 11;
case 9:
//C
this.state = 12;
- //BA.debugLineNum = 7390;BA.debugLine="Dim fd As MultipartFileData";
+ //BA.debugLineNum = 7721;BA.debugLine="Dim fd As MultipartFileData";
_fd = new gunav2.keymon.com.mx.httpjob._multipartfiledata();
- //BA.debugLineNum = 7391;BA.debugLine="fd.Initialize";
+ //BA.debugLineNum = 7722;BA.debugLine="fd.Initialize";
_fd.Initialize();
- //BA.debugLineNum = 7392;BA.debugLine="fd.KeyName = \"file\"";
+ //BA.debugLineNum = 7723;BA.debugLine="fd.KeyName = \"file\"";
_fd.KeyName /*String*/ = "file";
- //BA.debugLineNum = 7393;BA.debugLine="fd.Dir = Starter.fFileProvider.SharedFolder";
+ //BA.debugLineNum = 7724;BA.debugLine="fd.Dir = Starter.fFileProvider.SharedFolder";
_fd.Dir /*String*/ = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ;
- //BA.debugLineNum = 7394;BA.debugLine="fd.FileName = archivoTicketPDF";
+ //BA.debugLineNum = 7725;BA.debugLine="fd.FileName = archivoTicketPDF";
_fd.FileName /*String*/ = parent._archivoticketpdf;
- //BA.debugLineNum = 7395;BA.debugLine="fd.ContentType = \"application/pdf\"";
+ //BA.debugLineNum = 7726;BA.debugLine="fd.ContentType = \"application/pdf\"";
_fd.ContentType /*String*/ = "application/pdf";
- //BA.debugLineNum = 7396;BA.debugLine="Private link As String = \"http://keymon.net:9001";
+ //BA.debugLineNum = 7727;BA.debugLine="Private link As String = \"http://keymon.net:9001";
_link = "http://keymon.net:9001/v1/ticketpdf";
- //BA.debugLineNum = 7397;BA.debugLine="Private campos As Map = CreateMap( \"message\":\"Tu";
+ //BA.debugLineNum = 7728;BA.debugLine="Private campos As Map = CreateMap( \"message\":\"Tu";
_campos = new anywheresoftware.b4a.objects.collections.Map();
_campos = parent.__c.createMap(new Object[] {(Object)("message"),(Object)("Tu compra de Guna va ser a *crédito* por el monto de $${NumberFormat2(monto, 1, 2, 2, True)}\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)")});
- //BA.debugLineNum = 7398;BA.debugLine="campos.Put(\"number\", NumeroTelefono)";
+ //BA.debugLineNum = 7729;BA.debugLine="campos.Put(\"number\", NumeroTelefono)";
_campos.Put((Object)("number"),(Object)(_numerotelefono));
- //BA.debugLineNum = 7399;BA.debugLine="Log(NumeroTelefono)";
-parent.__c.LogImpl("726279954",_numerotelefono,0);
- //BA.debugLineNum = 7400;BA.debugLine="campos.Put(\"message\",\"Tu recibo\")";
+ //BA.debugLineNum = 7730;BA.debugLine="Log(NumeroTelefono)";
+parent.__c.LogImpl("426411026",_numerotelefono,0);
+ //BA.debugLineNum = 7731;BA.debugLine="campos.Put(\"message\",\"Tu recibo\")";
_campos.Put((Object)("message"),(Object)("Tu recibo"));
- //BA.debugLineNum = 7401;BA.debugLine="Log(campos)";
-parent.__c.LogImpl("726279956",BA.ObjectToString(_campos),0);
- //BA.debugLineNum = 7402;BA.debugLine="Private job As HttpJob";
+ //BA.debugLineNum = 7732;BA.debugLine="Log(campos)";
+parent.__c.LogImpl("426411028",BA.ObjectToString(_campos),0);
+ //BA.debugLineNum = 7733;BA.debugLine="Private job As HttpJob";
_job = new gunav2.keymon.com.mx.httpjob();
- //BA.debugLineNum = 7403;BA.debugLine="job.Initialize(\"\", Me)";
+ //BA.debugLineNum = 7734;BA.debugLine="job.Initialize(\"\", Me)";
_job._initialize /*String*/ (ba,"",parent);
- //BA.debugLineNum = 7404;BA.debugLine="job.PostMultipart(link, campos, Array(fd))";
+ //BA.debugLineNum = 7735;BA.debugLine="job.PostMultipart(link, campos, Array(fd))";
_job._postmultipart /*String*/ (_link,_campos,anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fd)}));
- //BA.debugLineNum = 7406;BA.debugLine="Log(5555)";
-parent.__c.LogImpl("726279961",BA.NumberToString(5555),0);
- //BA.debugLineNum = 7407;BA.debugLine="Wait For (job) JobDone(job As HttpJob)";
+ //BA.debugLineNum = 7737;BA.debugLine="Log(5555)";
+parent.__c.LogImpl("426411033",BA.NumberToString(5555),0);
+ //BA.debugLineNum = 7738;BA.debugLine="Wait For (job) JobDone(job As HttpJob)";
parent.__c.WaitFor("jobdone", ba, this, (Object)(_job));
this.state = 13;
return;
@@ -10934,7 +11205,7 @@ _job = (gunav2.keymon.com.mx.httpjob) result[0];
case 11:
//C
this.state = 12;
- //BA.debugLineNum = 7435;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe.\", Tr";
+ //BA.debugLineNum = 7766;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe.\", Tr";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("El archivo PDF no existe."),parent.__c.True);
if (true) break;
@@ -10942,7 +11213,7 @@ case 12:
//C
this.state = -1;
;
- //BA.debugLineNum = 7437;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7768;BA.debugLine="End Sub";
if (true) break;
}
@@ -10977,7 +11248,7 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 7440;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono";
+ //BA.debugLineNum = 7771;BA.debugLine="If NumeroTelefono.Length = 10 Then NumeroTelefono";
if (true) break;
case 1:
@@ -10997,11 +11268,11 @@ case 6:
//C
this.state = 7;
;
- //BA.debugLineNum = 7442;BA.debugLine="Dim RutaArchivo As String = Starter.fFileProvi";
+ //BA.debugLineNum = 7773;BA.debugLine="Dim RutaArchivo As String = Starter.fFileProvi";
_rutaarchivo = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ +"/"+parent._archivoticketpdf;
- //BA.debugLineNum = 7443;BA.debugLine="Log(RutaArchivo)";
-parent.__c.LogImpl("726345476",_rutaarchivo,0);
- //BA.debugLineNum = 7446;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder";
+ //BA.debugLineNum = 7774;BA.debugLine="Log(RutaArchivo)";
+parent.__c.LogImpl("426476548",_rutaarchivo,0);
+ //BA.debugLineNum = 7777;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFolder";
if (true) break;
case 7:
@@ -11016,17 +11287,17 @@ this.state = 11;
case 9:
//C
this.state = 12;
- //BA.debugLineNum = 7448;BA.debugLine="Dim UriWhatsApp As String = \"https://wa.me";
+ //BA.debugLineNum = 7779;BA.debugLine="Dim UriWhatsApp As String = \"https://wa.me";
_uriwhatsapp = "https://wa.me/"+_numerotelefono;
- //BA.debugLineNum = 7449;BA.debugLine="Dim IntentWhatsApp As Intent";
+ //BA.debugLineNum = 7780;BA.debugLine="Dim IntentWhatsApp As Intent";
_intentwhatsapp = new anywheresoftware.b4a.objects.IntentWrapper();
- //BA.debugLineNum = 7450;BA.debugLine="IntentWhatsApp.Initialize(IntentWhatsApp.A";
+ //BA.debugLineNum = 7781;BA.debugLine="IntentWhatsApp.Initialize(IntentWhatsApp.A";
_intentwhatsapp.Initialize(_intentwhatsapp.ACTION_VIEW,_uriwhatsapp);
- //BA.debugLineNum = 7459;BA.debugLine="StartActivity(IntentWhatsApp)";
+ //BA.debugLineNum = 7790;BA.debugLine="StartActivity(IntentWhatsApp)";
parent.__c.StartActivity(ba,(Object)(_intentwhatsapp.getObject()));
- //BA.debugLineNum = 7462;BA.debugLine="ToastMessageShow(\"Por favor, comparte el a";
+ //BA.debugLineNum = 7793;BA.debugLine="ToastMessageShow(\"Por favor, comparte el a";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Por favor, comparte el archivo manualmente en WhatsApp."),parent.__c.True);
- //BA.debugLineNum = 7465;BA.debugLine="Sleep(3000)";
+ //BA.debugLineNum = 7796;BA.debugLine="Sleep(3000)";
parent.__c.Sleep(ba,this,(int) (3000));
this.state = 13;
return;
@@ -11034,26 +11305,26 @@ case 13:
//C
this.state = 12;
;
- //BA.debugLineNum = 7468;BA.debugLine="Dim Uri0 As Object = Starter.fFileProvider.GetFi";
+ //BA.debugLineNum = 7799;BA.debugLine="Dim Uri0 As Object = Starter.fFileProvider.GetFi";
_uri0 = parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (parent._archivoticketpdf);
- //BA.debugLineNum = 7471;BA.debugLine="Dim Intent1 As Intent";
+ //BA.debugLineNum = 7802;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
- //BA.debugLineNum = 7472;BA.debugLine="Intent1.Initialize(Intent1.ACTION_SEND, \"\"";
+ //BA.debugLineNum = 7803;BA.debugLine="Intent1.Initialize(Intent1.ACTION_SEND, \"\"";
_intent1.Initialize(_intent1.ACTION_SEND,"");
- //BA.debugLineNum = 7475;BA.debugLine="Intent1.SetType(\"application/pdf\")";
+ //BA.debugLineNum = 7806;BA.debugLine="Intent1.SetType(\"application/pdf\")";
_intent1.SetType("application/pdf");
- //BA.debugLineNum = 7478;BA.debugLine="Intent1.PutExtra(\"android.intent.extra.STR";
+ //BA.debugLineNum = 7809;BA.debugLine="Intent1.PutExtra(\"android.intent.extra.STR";
_intent1.PutExtra("android.intent.extra.STREAM",_uri0);
- //BA.debugLineNum = 7481;BA.debugLine="Intent1.Flags = 1 ' FLAG_GRANT_READ_URI_PE";
+ //BA.debugLineNum = 7812;BA.debugLine="Intent1.Flags = 1 ' FLAG_GRANT_READ_URI_PE";
_intent1.setFlags((int) (1));
- //BA.debugLineNum = 7484;BA.debugLine="StartActivity(Intent1)";
+ //BA.debugLineNum = 7815;BA.debugLine="StartActivity(Intent1)";
parent.__c.StartActivity(ba,(Object)(_intent1.getObject()));
if (true) break;
case 11:
//C
this.state = 12;
- //BA.debugLineNum = 7486;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe";
+ //BA.debugLineNum = 7817;BA.debugLine="ToastMessageShow(\"El archivo PDF no existe";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("El archivo PDF no existe."),parent.__c.True);
if (true) break;
@@ -11061,7 +11332,7 @@ case 12:
//C
this.state = -1;
;
- //BA.debugLineNum = 7488;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7819;BA.debugLine="End Sub";
if (true) break;
}
@@ -11091,7 +11362,7 @@ return;
case 0:
//C
this.state = -1;
- //BA.debugLineNum = 7371;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 7702;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 1;
return;
@@ -11099,22 +11370,22 @@ case 1:
//C
this.state = -1;
;
- //BA.debugLineNum = 7372;BA.debugLine="Dim email As Email";
+ //BA.debugLineNum = 7703;BA.debugLine="Dim email As Email";
_email = new anywheresoftware.b4a.phone.Phone.Email();
- //BA.debugLineNum = 7373;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")";
+ //BA.debugLineNum = 7704;BA.debugLine="email.To.Add(\"cheveguerra@gmail.com\")";
_email.To.Add((Object)("cheveguerra@gmail.com"));
- //BA.debugLineNum = 7374;BA.debugLine="email.Subject = \"subject\"";
+ //BA.debugLineNum = 7705;BA.debugLine="email.Subject = \"subject\"";
_email.Subject = "subject";
- //BA.debugLineNum = 7375;BA.debugLine="email.Attachments.Add(Starter.fFileProvider.GetFi";
+ //BA.debugLineNum = 7706;BA.debugLine="email.Attachments.Add(Starter.fFileProvider.GetFi";
_email.Attachments.Add(parent._starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._getfileuri /*Object*/ (parent._archivoticketpdf));
- //BA.debugLineNum = 7376;BA.debugLine="Dim in As Intent = email.GetIntent";
+ //BA.debugLineNum = 7707;BA.debugLine="Dim in As Intent = email.GetIntent";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
_in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent()));
- //BA.debugLineNum = 7377;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION";
+ //BA.debugLineNum = 7708;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION";
_in.setFlags((int) (1));
- //BA.debugLineNum = 7378;BA.debugLine="StartActivity(in)";
+ //BA.debugLineNum = 7709;BA.debugLine="StartActivity(in)";
parent.__c.StartActivity(ba,(Object)(_in.getObject()));
- //BA.debugLineNum = 7379;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7710;BA.debugLine="End Sub";
if (true) break;
}
@@ -11122,433 +11393,715 @@ if (true) break;
}
}
public String _et_encuesta_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 6508;BA.debugLine="Private Sub et_encuesta_TextChanged (Old As String";
- //BA.debugLineNum = 6510;BA.debugLine="If New.Length > 0 Then b_encuesta_continuar.Enabl";
+ //BA.debugLineNum = 6839;BA.debugLine="Private Sub et_encuesta_TextChanged (Old As String";
+ //BA.debugLineNum = 6841;BA.debugLine="If New.Length > 0 Then b_encuesta_continuar.Enabl";
if (_new.length()>0) {
_b_encuesta_continuar.setEnabled(__c.True);};
- //BA.debugLineNum = 6511;BA.debugLine="If New.Length < 1 Then b_encuesta_continuar.Enabl";
+ //BA.debugLineNum = 6842;BA.debugLine="If New.Length < 1 Then b_encuesta_continuar.Enabl";
if (_new.length()<1) {
_b_encuesta_continuar.setEnabled(__c.False);};
- //BA.debugLineNum = 6512;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6843;BA.debugLine="End Sub";
return "";
}
public String _et_numeropdf_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 7533;BA.debugLine="Private Sub et_numeroPDF_TextChanged (Old As Strin";
- //BA.debugLineNum = 7534;BA.debugLine="If New.Length = 10 Then b_envioPDF.Enabled = True";
+ //BA.debugLineNum = 7864;BA.debugLine="Private Sub et_numeroPDF_TextChanged (Old As Strin";
+ //BA.debugLineNum = 7865;BA.debugLine="If New.Length = 10 Then b_envioPDF.Enabled = True";
if (_new.length()==10) {
_b_enviopdf.setEnabled(__c.True);}
else {
_b_enviopdf.setEnabled(__c.False);};
- //BA.debugLineNum = 7535;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7866;BA.debugLine="End Sub";
return "";
}
public String _et_p1_m2_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 5591;BA.debugLine="Private Sub et_p1_m2_TextChanged (Old As String, N";
- //BA.debugLineNum = 5592;BA.debugLine="If et_p1_m2.Text.Length > 2 Or et_p1_m2.Text = 0";
+ //BA.debugLineNum = 5922;BA.debugLine="Private Sub et_p1_m2_TextChanged (Old As String, N";
+ //BA.debugLineNum = 5923;BA.debugLine="If et_p1_m2.Text.Length > 2 Or et_p1_m2.Text = 0";
if (_et_p1_m2.getText().length()>2 || (_et_p1_m2.getText()).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 5594;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
+ //BA.debugLineNum = 5925;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba);
- //BA.debugLineNum = 5595;BA.debugLine="et_p1_m2.Text = \"\"";
+ //BA.debugLineNum = 5926;BA.debugLine="et_p1_m2.Text = \"\"";
_et_p1_m2.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 5597;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5928;BA.debugLine="End Sub";
return "";
}
public String _et_p1_m4_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 5616;BA.debugLine="Private Sub et_p1_m4_TextChanged (Old As String, N";
- //BA.debugLineNum = 5617;BA.debugLine="If et_p1_m4.Text.Length > 5 Then";
+ //BA.debugLineNum = 5947;BA.debugLine="Private Sub et_p1_m4_TextChanged (Old As String, N";
+ //BA.debugLineNum = 5948;BA.debugLine="If et_p1_m4.Text.Length > 5 Then";
if (_et_p1_m4.getText().length()>5) {
- //BA.debugLineNum = 5619;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
+ //BA.debugLineNum = 5950;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba);
- //BA.debugLineNum = 5620;BA.debugLine="et_p1_m4.Text = \"\"";
+ //BA.debugLineNum = 5951;BA.debugLine="et_p1_m4.Text = \"\"";
_et_p1_m4.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 5622;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5953;BA.debugLine="End Sub";
return "";
}
public String _et_p2_m2_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 5599;BA.debugLine="Private Sub et_p2_m2_TextChanged (Old As String, N";
- //BA.debugLineNum = 5600;BA.debugLine="If et_p2_m2.Text.Length > 2 Or et_p2_m2.Text = 0";
+ //BA.debugLineNum = 5930;BA.debugLine="Private Sub et_p2_m2_TextChanged (Old As String, N";
+ //BA.debugLineNum = 5931;BA.debugLine="If et_p2_m2.Text.Length > 2 Or et_p2_m2.Text = 0";
if (_et_p2_m2.getText().length()>2 || (_et_p2_m2.getText()).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 5602;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
+ //BA.debugLineNum = 5933;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba);
- //BA.debugLineNum = 5603;BA.debugLine="et_p2_m2.Text = \"\"";
+ //BA.debugLineNum = 5934;BA.debugLine="et_p2_m2.Text = \"\"";
_et_p2_m2.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 5606;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5937;BA.debugLine="End Sub";
return "";
}
public String _et_p5_m2_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 5608;BA.debugLine="Private Sub et_p5_m2_TextChanged (Old As String, N";
- //BA.debugLineNum = 5609;BA.debugLine="If et_p5_m2.Text.Length > 4 Then";
+ //BA.debugLineNum = 5939;BA.debugLine="Private Sub et_p5_m2_TextChanged (Old As String, N";
+ //BA.debugLineNum = 5940;BA.debugLine="If et_p5_m2.Text.Length > 4 Then";
if (_et_p5_m2.getText().length()>4) {
- //BA.debugLineNum = 5611;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
+ //BA.debugLineNum = 5942;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido\",\"Av";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido"),BA.ObjectToCharSequence("Aviso"),ba);
- //BA.debugLineNum = 5612;BA.debugLine="et_p5_m2.Text = \"\"";
+ //BA.debugLineNum = 5943;BA.debugLine="et_p5_m2.Text = \"\"";
_et_p5_m2.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 5614;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5945;BA.debugLine="End Sub";
return "";
}
-public void _gest_click() throws Exception{
-ResumableSub_gest_Click rsub = new ResumableSub_gest_Click(this);
-rsub.resume(ba, null);
-}
-public static class ResumableSub_gest_Click extends BA.ResumableSub {
-public ResumableSub_gest_Click(gunav2.keymon.com.mx.c_cliente parent) {
-this.parent = parent;
-}
-gunav2.keymon.com.mx.c_cliente parent;
-anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null;
-String _fechainicio = "";
-long _ticksinicio = 0L;
-long _tickshoy = 0L;
-int _diferenciadias = 0;
-int _resultado = 0;
-
-@Override
-public void resume(BA ba, Object[] result) throws Exception{
-
- while (true) {
- switch (state) {
- case -1:
-return;
-
-case 0:
-//C
-this.state = 1;
- //BA.debugLineNum = 2088;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
-_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 2089;BA.debugLine="If pagarepen.RowCount > 0 Then";
-if (true) break;
-
-case 1:
-//if
-this.state = 32;
-if (_pagarepen.getRowCount()>0) {
-this.state = 3;
-}else {
-this.state = 31;
-}if (true) break;
-
-case 3:
-//C
-this.state = 4;
- //BA.debugLineNum = 2090;BA.debugLine="pagarepen.Position = 0";
-_pagarepen.setPosition((int) (0));
- //BA.debugLineNum = 2091;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
-parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 2092;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
-_fechainicio = _pagarepen.GetString("FECHA");
- //BA.debugLineNum = 2094;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
-parent.__c.LogImpl("715073291",_pagarepen.GetString("FECHA"),0);
- //BA.debugLineNum = 2097;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
-_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio);
- //BA.debugLineNum = 2098;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
-_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()));
- //BA.debugLineNum = 2101;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
-_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay);
- //BA.debugLineNum = 2104;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
-parent.__c.LogImpl("715073301",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
- //BA.debugLineNum = 2106;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
-parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 2107;BA.debugLine="c.Position = 0";
-parent._c.setPosition((int) (0));
- //BA.debugLineNum = 2109;BA.debugLine="If ALMACEN = 81 Or ALMACEN = 94 Then";
-if (true) break;
-
-case 4:
-//if
-this.state = 29;
-if ((parent._almacen).equals(BA.NumberToString(81)) || (parent._almacen).equals(BA.NumberToString(94))) {
-this.state = 6;
-}else {
-this.state = 18;
-}if (true) break;
-
-case 6:
-//C
-this.state = 7;
- //BA.debugLineNum = 2110;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI";
-if (true) break;
-
-case 7:
-//if
-this.state = 16;
-if (_diferenciadias<=parent._c.GetInt("CAT_CL_DIASCREDITO")+8) {
-this.state = 9;
-}else if(_diferenciadias>parent._c.GetInt("CAT_CL_DIASCREDITO")+8) {
-this.state = 15;
-}if (true) break;
-
-case 9:
-//C
-this.state = 10;
- //BA.debugLineNum = 2112;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí";
-parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
- //BA.debugLineNum = 2113;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
-parent.__c.WaitFor("msgbox_result", ba, this, null);
-this.state = 33;
-return;
-case 33:
-//C
-this.state = 10;
-_resultado = (Integer) result[0];
-;
- //BA.debugLineNum = 2114;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
-if (true) break;
-
-case 10:
-//if
-this.state = 13;
-if (_resultado==parent.__c.DialogResponse.POSITIVE) {
-this.state = 12;
-}if (true) break;
-
-case 12:
-//C
-this.state = 13;
- //BA.debugLineNum = 2115;BA.debugLine="gestionar";
-parent._gestionar();
- if (true) break;
-
-case 13:
-//C
-this.state = 16;
-;
- if (true) break;
-
-case 15:
-//C
-this.state = 16;
- //BA.debugLineNum = 2118;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q";
-parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(parent._c.GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba);
- if (true) break;
-
-case 16:
-//C
-this.state = 29;
-;
- if (true) break;
-
-case 18:
-//C
-this.state = 19;
- //BA.debugLineNum = 2121;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI";
-if (true) break;
-
-case 19:
-//if
-this.state = 28;
-if (_diferenciadias<=parent._c.GetInt("CAT_CL_DIASCREDITO")+1) {
-this.state = 21;
-}else if(_diferenciadias>parent._c.GetInt("CAT_CL_DIASCREDITO")+8) {
-this.state = 27;
-}if (true) break;
-
-case 21:
-//C
-this.state = 22;
- //BA.debugLineNum = 2123;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí";
-parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
- //BA.debugLineNum = 2124;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
-parent.__c.WaitFor("msgbox_result", ba, this, null);
-this.state = 34;
-return;
-case 34:
-//C
-this.state = 22;
-_resultado = (Integer) result[0];
-;
- //BA.debugLineNum = 2125;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
-if (true) break;
-
-case 22:
-//if
-this.state = 25;
-if (_resultado==parent.__c.DialogResponse.POSITIVE) {
-this.state = 24;
-}if (true) break;
-
-case 24:
-//C
-this.state = 25;
- //BA.debugLineNum = 2126;BA.debugLine="gestionar";
-parent._gestionar();
- if (true) break;
-
-case 25:
-//C
-this.state = 28;
-;
- if (true) break;
-
-case 27:
-//C
-this.state = 28;
- //BA.debugLineNum = 2129;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q";
-parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(parent._c.GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba);
- if (true) break;
-
-case 28:
-//C
-this.state = 29;
-;
- if (true) break;
-
-case 29:
-//C
-this.state = 32;
-;
- if (true) break;
-
-case 31:
-//C
-this.state = 32;
- //BA.debugLineNum = 2134;BA.debugLine="gestionar";
-parent._gestionar();
- if (true) break;
-
-case 32:
-//C
-this.state = -1;
-;
- //BA.debugLineNum = 2136;BA.debugLine="End Sub";
-if (true) break;
-
- }
- }
- }
+public String _gest_click() throws Exception{
+anywheresoftware.b4a.sql.SQL.CursorWrapper _checkenc = null;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _checkenc1 = null;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _coloressaldo = null;
+anywheresoftware.b4a.objects.collections.List _itembat1 = null;
+anywheresoftware.b4a.objects.collections.List _itembat2 = null;
+anywheresoftware.b4a.objects.collections.List _itembat3 = null;
+anywheresoftware.b4a.objects.collections.List _itembat4 = null;
+anywheresoftware.b4a.objects.collections.List _itembat5 = null;
+anywheresoftware.b4a.objects.collections.List _itembat6 = null;
+anywheresoftware.b4a.objects.collections.List _itembat7 = null;
+anywheresoftware.b4a.objects.collections.List _itembat8 = null;
+anywheresoftware.b4a.objects.collections.List _itembat9 = null;
+anywheresoftware.b4a.objects.collections.List _itembat10 = null;
+ //BA.debugLineNum = 2105;BA.debugLine="Sub gest_Click";
+ //BA.debugLineNum = 2110;BA.debugLine="Dim checkenc As Cursor = B4XPages.MainPage.skmt.E";
+_checkenc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_checkenc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * FROM HIST_ENCUESTA_BAT WHERE CLIENTE In (Select cuenta from cuentaa)")));
+ //BA.debugLineNum = 2111;BA.debugLine="If checkenc.RowCount = 0 Then";
+if (_checkenc.getRowCount()==0) {
+ //BA.debugLineNum = 2112;BA.debugLine="Dim checkenc1 As Cursor = B4XPages.MainPage.skmt";
+_checkenc1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_checkenc1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * FROM ENCUESTAS_BAT WHERE CLIENTE In (Select cuenta from cuentaa)")));
+ //BA.debugLineNum = 2113;BA.debugLine="If checkenc1.RowCount = 0 Then";
+if (_checkenc1.getRowCount()==0) {
+ //BA.debugLineNum = 2115;BA.debugLine="If ALMACEN = 81 Or ALMACEN = 94 Then";
+if ((_almacen).equals(BA.NumberToString(81)) || (_almacen).equals(BA.NumberToString(94))) {
+ //BA.debugLineNum = 2117;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.s";
+_coloressaldo = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_coloressaldo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR5,0) AS CAT_CL_CLASIFICADOR5 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
+ //BA.debugLineNum = 2118;BA.debugLine="If coloressaldo.RowCount > 0 Then";
+if (_coloressaldo.getRowCount()>0) {
+ //BA.debugLineNum = 2119;BA.debugLine="coloressaldo.Position = 0";
+_coloressaldo.setPosition((int) (0));
+ //BA.debugLineNum = 2120;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADO";
+if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR5")).equals("1")) {
+ //BA.debugLineNum = 2121;BA.debugLine="scv_bat.Visible = True";
+_scv_bat.setVisible(__c.True);
+ //BA.debugLineNum = 2122;BA.debugLine="scv_bat.Panel.RemoveAllViews";
+_scv_bat.getPanel().RemoveAllViews();
+ //BA.debugLineNum = 2123;BA.debugLine="scv_bat.Panel.LoadLayout(\"encuesta_1\")";
+_scv_bat.getPanel().LoadLayout("encuesta_1",ba);
+ //BA.debugLineNum = 2124;BA.debugLine="scv_bat.Panel.Height = p_encu.Height";
+_scv_bat.getPanel().setHeight(_p_encu.getHeight());
+ //BA.debugLineNum = 2125;BA.debugLine="p_encu.Width = scv_bat.Width";
+_p_encu.setWidth(_scv_bat.getWidth());
+ //BA.debugLineNum = 2128;BA.debugLine="Dim itembat1 As List";
+_itembat1 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2129;BA.debugLine="itembat1.Initialize";
+_itembat1.Initialize();
+ //BA.debugLineNum = 2130;BA.debugLine="itembat1.Add(\"Selecciona una opcion\")";
+_itembat1.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2131;BA.debugLine="itembat1.Add(\"Ninguno\")";
+_itembat1.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2132;BA.debugLine="itembat1.Add(\"Menos de medio paquete\")";
+_itembat1.Add((Object)("Menos de medio paquete"));
+ //BA.debugLineNum = 2133;BA.debugLine="itembat1.Add(\"Medio paquete a 1 paquete\")";
+_itembat1.Add((Object)("Medio paquete a 1 paquete"));
+ //BA.debugLineNum = 2134;BA.debugLine="itembat1.Add(\"1.1 a 2.9 paquetes\")";
+_itembat1.Add((Object)("1.1 a 2.9 paquetes"));
+ //BA.debugLineNum = 2135;BA.debugLine="itembat1.Add(\"3 a 5.9 paquetes\")";
+_itembat1.Add((Object)("3 a 5.9 paquetes"));
+ //BA.debugLineNum = 2136;BA.debugLine="itembat1.Add(\"6 a 10.9 paquetes\")";
+_itembat1.Add((Object)("6 a 10.9 paquetes"));
+ //BA.debugLineNum = 2137;BA.debugLine="itembat1.Add(\"11 a 20.9 paquetes\")";
+_itembat1.Add((Object)("11 a 20.9 paquetes"));
+ //BA.debugLineNum = 2138;BA.debugLine="itembat1.Add(\"21 a 30 paquetes\")";
+_itembat1.Add((Object)("21 a 30 paquetes"));
+ //BA.debugLineNum = 2139;BA.debugLine="itembat1.Add(\"Más de 30 paquetes\")";
+_itembat1.Add((Object)("Más de 30 paquetes"));
+ //BA.debugLineNum = 2140;BA.debugLine="cb_p1.SetItems(itembat1)";
+_cb_p1._setitems /*String*/ (_itembat1);
+ //BA.debugLineNum = 2141;BA.debugLine="e_1 = \"Selecciona una opcion\"";
+_e_1 = "Selecciona una opcion";
+ //BA.debugLineNum = 2143;BA.debugLine="Dim itembat2 As List";
+_itembat2 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2144;BA.debugLine="itembat2.Initialize";
+_itembat2.Initialize();
+ //BA.debugLineNum = 2145;BA.debugLine="itembat2.Add(\"Selecciona una opcion\")";
+_itembat2.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2146;BA.debugLine="itembat2.Add(\"Ninguno\")";
+_itembat2.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2147;BA.debugLine="itembat2.Add(\"Menos de medio paquete\")";
+_itembat2.Add((Object)("Menos de medio paquete"));
+ //BA.debugLineNum = 2148;BA.debugLine="itembat2.Add(\"Medio paquete a 1 paquete\")";
+_itembat2.Add((Object)("Medio paquete a 1 paquete"));
+ //BA.debugLineNum = 2149;BA.debugLine="itembat2.Add(\"1.1 a 2.9 paquetes\")";
+_itembat2.Add((Object)("1.1 a 2.9 paquetes"));
+ //BA.debugLineNum = 2150;BA.debugLine="itembat2.Add(\"3 a 5.9 paquetes\")";
+_itembat2.Add((Object)("3 a 5.9 paquetes"));
+ //BA.debugLineNum = 2151;BA.debugLine="itembat2.Add(\"6 a 10.9 paquetes\")";
+_itembat2.Add((Object)("6 a 10.9 paquetes"));
+ //BA.debugLineNum = 2152;BA.debugLine="itembat2.Add(\"11 a 20.9 paquetes\")";
+_itembat2.Add((Object)("11 a 20.9 paquetes"));
+ //BA.debugLineNum = 2153;BA.debugLine="itembat2.Add(\"21 a 30 paquetes\")";
+_itembat2.Add((Object)("21 a 30 paquetes"));
+ //BA.debugLineNum = 2154;BA.debugLine="itembat2.Add(\"Más de 30 paquetes\")";
+_itembat2.Add((Object)("Más de 30 paquetes"));
+ //BA.debugLineNum = 2155;BA.debugLine="cb_p2.SetItems(itembat2)";
+_cb_p2._setitems /*String*/ (_itembat2);
+ //BA.debugLineNum = 2156;BA.debugLine="e_2 = \"Selecciona una opcion\"";
+_e_2 = "Selecciona una opcion";
+ //BA.debugLineNum = 2158;BA.debugLine="Dim itembat3 As List";
+_itembat3 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2159;BA.debugLine="itembat3.Initialize";
+_itembat3.Initialize();
+ //BA.debugLineNum = 2160;BA.debugLine="itembat3.Add(\"Selecciona una opcion\")";
+_itembat3.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2161;BA.debugLine="itembat3.Add(\"Ninguno\")";
+_itembat3.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2162;BA.debugLine="itembat3.Add(\"Menos de medio paquete\")";
+_itembat3.Add((Object)("Menos de medio paquete"));
+ //BA.debugLineNum = 2163;BA.debugLine="itembat3.Add(\"Medio paquete a 1 paquete\")";
+_itembat3.Add((Object)("Medio paquete a 1 paquete"));
+ //BA.debugLineNum = 2164;BA.debugLine="itembat3.Add(\"1.1 a 2.9 paquetes\")";
+_itembat3.Add((Object)("1.1 a 2.9 paquetes"));
+ //BA.debugLineNum = 2165;BA.debugLine="itembat3.Add(\"3 a 5.9 paquetes\")";
+_itembat3.Add((Object)("3 a 5.9 paquetes"));
+ //BA.debugLineNum = 2166;BA.debugLine="itembat3.Add(\"6 a 10.9 paquetes\")";
+_itembat3.Add((Object)("6 a 10.9 paquetes"));
+ //BA.debugLineNum = 2167;BA.debugLine="itembat3.Add(\"11 a 20.9 paquetes\")";
+_itembat3.Add((Object)("11 a 20.9 paquetes"));
+ //BA.debugLineNum = 2168;BA.debugLine="itembat3.Add(\"21 a 30 paquetes\")";
+_itembat3.Add((Object)("21 a 30 paquetes"));
+ //BA.debugLineNum = 2169;BA.debugLine="itembat3.Add(\"Más de 30 paquetes\")";
+_itembat3.Add((Object)("Más de 30 paquetes"));
+ //BA.debugLineNum = 2170;BA.debugLine="cb_p3.SetItems(itembat3)";
+_cb_p3._setitems /*String*/ (_itembat3);
+ //BA.debugLineNum = 2171;BA.debugLine="e_3 = \"Selecciona una opcion\"";
+_e_3 = "Selecciona una opcion";
+ //BA.debugLineNum = 2173;BA.debugLine="Dim itembat4 As List";
+_itembat4 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2174;BA.debugLine="itembat4.Initialize";
+_itembat4.Initialize();
+ //BA.debugLineNum = 2175;BA.debugLine="itembat4.Add(\"Selecciona una opcion\")";
+_itembat4.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2176;BA.debugLine="itembat4.Add(\"Ninguno\")";
+_itembat4.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2177;BA.debugLine="itembat4.Add(\"Menos de medio paquete\")";
+_itembat4.Add((Object)("Menos de medio paquete"));
+ //BA.debugLineNum = 2178;BA.debugLine="itembat4.Add(\"Medio paquete a 1 paquete\")";
+_itembat4.Add((Object)("Medio paquete a 1 paquete"));
+ //BA.debugLineNum = 2179;BA.debugLine="itembat4.Add(\"1.1 a 2.9 paquetes\")";
+_itembat4.Add((Object)("1.1 a 2.9 paquetes"));
+ //BA.debugLineNum = 2180;BA.debugLine="itembat4.Add(\"3 a 5.9 paquetes\")";
+_itembat4.Add((Object)("3 a 5.9 paquetes"));
+ //BA.debugLineNum = 2181;BA.debugLine="itembat4.Add(\"6 a 10.9 paquetes\")";
+_itembat4.Add((Object)("6 a 10.9 paquetes"));
+ //BA.debugLineNum = 2182;BA.debugLine="itembat4.Add(\"11 a 20.9 paquetes\")";
+_itembat4.Add((Object)("11 a 20.9 paquetes"));
+ //BA.debugLineNum = 2183;BA.debugLine="itembat4.Add(\"21 a 30 paquetes\")";
+_itembat4.Add((Object)("21 a 30 paquetes"));
+ //BA.debugLineNum = 2184;BA.debugLine="itembat4.Add(\"Más de 30 paquetes\")";
+_itembat4.Add((Object)("Más de 30 paquetes"));
+ //BA.debugLineNum = 2185;BA.debugLine="cb_p4.SetItems(itembat4)";
+_cb_p4._setitems /*String*/ (_itembat4);
+ //BA.debugLineNum = 2186;BA.debugLine="e_4 = \"Selecciona una opcion\"";
+_e_4 = "Selecciona una opcion";
+ //BA.debugLineNum = 2188;BA.debugLine="Dim itembat5 As List";
+_itembat5 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2189;BA.debugLine="itembat5.Initialize";
+_itembat5.Initialize();
+ //BA.debugLineNum = 2190;BA.debugLine="itembat5.Add(\"Selecciona una opcion\")";
+_itembat5.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2191;BA.debugLine="itembat5.Add(\"Ninguno\")";
+_itembat5.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2192;BA.debugLine="itembat5.Add(\"Tiendatek\")";
+_itembat5.Add((Object)("Tiendatek"));
+ //BA.debugLineNum = 2193;BA.debugLine="itembat5.Add(\"Yomp\")";
+_itembat5.Add((Object)("Yomp"));
+ //BA.debugLineNum = 2194;BA.debugLine="itembat5.Add(\"Systienda\")";
+_itembat5.Add((Object)("Systienda"));
+ //BA.debugLineNum = 2195;BA.debugLine="itembat5.Add(\"MyBusiness POS\")";
+_itembat5.Add((Object)("MyBusiness POS"));
+ //BA.debugLineNum = 2196;BA.debugLine="itembat5.Add(\"Eleventa\")";
+_itembat5.Add((Object)("Eleventa"));
+ //BA.debugLineNum = 2197;BA.debugLine="itembat5.Add(\"Otro\")";
+_itembat5.Add((Object)("Otro"));
+ //BA.debugLineNum = 2198;BA.debugLine="cb_p5.SetItems(itembat5)";
+_cb_p5._setitems /*String*/ (_itembat5);
+ //BA.debugLineNum = 2199;BA.debugLine="e_5 = \"Selecciona una opcion\"";
+_e_5 = "Selecciona una opcion";
+ }else if((_coloressaldo.GetString("CAT_CL_CLASIFICADOR5")).equals("5")) {
+ //BA.debugLineNum = 2202;BA.debugLine="scv_bat.Visible = True";
+_scv_bat.setVisible(__c.True);
+ //BA.debugLineNum = 2203;BA.debugLine="scv_bat.Panel.RemoveAllViews";
+_scv_bat.getPanel().RemoveAllViews();
+ //BA.debugLineNum = 2204;BA.debugLine="scv_bat.Panel.LoadLayout(\"encuesta_2\")";
+_scv_bat.getPanel().LoadLayout("encuesta_2",ba);
+ //BA.debugLineNum = 2205;BA.debugLine="scv_bat.Panel.Height = p_encu.Height";
+_scv_bat.getPanel().setHeight(_p_encu.getHeight());
+ //BA.debugLineNum = 2206;BA.debugLine="p_encu.Width = scv_bat.Width";
+_p_encu.setWidth(_scv_bat.getWidth());
+ //BA.debugLineNum = 2209;BA.debugLine="Dim itembat1 As List";
+_itembat1 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2210;BA.debugLine="itembat1.Initialize";
+_itembat1.Initialize();
+ //BA.debugLineNum = 2211;BA.debugLine="itembat1.Add(\"Selecciona una opcion\")";
+_itembat1.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2212;BA.debugLine="itembat1.Add(\"Ninguno\")";
+_itembat1.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2213;BA.debugLine="itembat1.Add(\"Menos de medio cartón\")";
+_itembat1.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2214;BA.debugLine="itembat1.Add(\"Medio cartón a 1 cartón\")";
+_itembat1.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2215;BA.debugLine="itembat1.Add(\"1.1 a 3.9 cartones\")";
+_itembat1.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2216;BA.debugLine="itembat1.Add(\"4 a 5.9 cartones\")";
+_itembat1.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2217;BA.debugLine="itembat1.Add(\"6 a 10.9 cartones\")";
+_itembat1.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2218;BA.debugLine="itembat1.Add(\"11 a 20.9 cartones\")";
+_itembat1.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2219;BA.debugLine="itembat1.Add(\"21 a 30.9 cartones\")";
+_itembat1.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2220;BA.debugLine="itembat1.Add(\"31 a 40 cartones\")";
+_itembat1.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2221;BA.debugLine="itembat1.Add(\"Más de 40 cartones\")";
+_itembat1.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2222;BA.debugLine="cb_p1.SetItems(itembat1)";
+_cb_p1._setitems /*String*/ (_itembat1);
+ //BA.debugLineNum = 2223;BA.debugLine="e_1 = \"Selecciona una opcion\"";
+_e_1 = "Selecciona una opcion";
+ //BA.debugLineNum = 2225;BA.debugLine="Dim itembat2 As List";
+_itembat2 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2226;BA.debugLine="itembat2.Initialize";
+_itembat2.Initialize();
+ //BA.debugLineNum = 2227;BA.debugLine="itembat2.Add(\"Selecciona una opcion\")";
+_itembat2.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2228;BA.debugLine="itembat2.Add(\"Ninguno\")";
+_itembat2.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2229;BA.debugLine="itembat2.Add(\"Menos de medio cartón\")";
+_itembat2.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2230;BA.debugLine="itembat2.Add(\"Medio cartón a 1 cartón\")";
+_itembat2.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2231;BA.debugLine="itembat2.Add(\"1.1 a 3.9 cartones\")";
+_itembat2.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2232;BA.debugLine="itembat2.Add(\"4 a 5.9 cartones\")";
+_itembat2.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2233;BA.debugLine="itembat2.Add(\"6 a 10.9 cartones\")";
+_itembat2.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2234;BA.debugLine="itembat2.Add(\"11 a 20.9 cartones\")";
+_itembat2.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2235;BA.debugLine="itembat2.Add(\"21 a 30.9 cartones\")";
+_itembat2.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2236;BA.debugLine="itembat2.Add(\"31 a 40 cartones\")";
+_itembat2.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2237;BA.debugLine="itembat2.Add(\"Más de 40 cartones\")";
+_itembat2.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2238;BA.debugLine="cb_p2.SetItems(itembat2)";
+_cb_p2._setitems /*String*/ (_itembat2);
+ //BA.debugLineNum = 2239;BA.debugLine="e_2 = \"Selecciona una opcion\"";
+_e_2 = "Selecciona una opcion";
+ //BA.debugLineNum = 2241;BA.debugLine="Dim itembat3 As List";
+_itembat3 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2242;BA.debugLine="itembat3.Initialize";
+_itembat3.Initialize();
+ //BA.debugLineNum = 2243;BA.debugLine="itembat3.Add(\"Selecciona una opcion\")";
+_itembat3.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2244;BA.debugLine="itembat3.Add(\"Ninguno\")";
+_itembat3.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2245;BA.debugLine="itembat3.Add(\"Menos de medio cartón\")";
+_itembat3.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2246;BA.debugLine="itembat3.Add(\"Medio cartón a 1 cartón\")";
+_itembat3.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2247;BA.debugLine="itembat3.Add(\"1.1 a 3.9 cartones\")";
+_itembat3.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2248;BA.debugLine="itembat3.Add(\"4 a 5.9 cartones\")";
+_itembat3.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2249;BA.debugLine="itembat3.Add(\"6 a 10.9 cartones\")";
+_itembat3.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2250;BA.debugLine="itembat3.Add(\"11 a 20.9 cartones\")";
+_itembat3.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2251;BA.debugLine="itembat3.Add(\"21 a 30.9 cartones\")";
+_itembat3.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2252;BA.debugLine="itembat3.Add(\"31 a 40 cartones\")";
+_itembat3.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2253;BA.debugLine="itembat3.Add(\"Más de 40 cartones\")";
+_itembat3.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2254;BA.debugLine="cb_p3.SetItems(itembat3)";
+_cb_p3._setitems /*String*/ (_itembat3);
+ //BA.debugLineNum = 2255;BA.debugLine="e_3 = \"Selecciona una opcion\"";
+_e_3 = "Selecciona una opcion";
+ //BA.debugLineNum = 2257;BA.debugLine="Dim itembat4 As List";
+_itembat4 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2258;BA.debugLine="itembat4.Initialize";
+_itembat4.Initialize();
+ //BA.debugLineNum = 2259;BA.debugLine="itembat4.Add(\"Selecciona una opcion\")";
+_itembat4.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2260;BA.debugLine="itembat4.Add(\"Ninguno\")";
+_itembat4.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2261;BA.debugLine="itembat4.Add(\"Menos de medio cartón\")";
+_itembat4.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2262;BA.debugLine="itembat4.Add(\"Medio cartón a 1 cartón\")";
+_itembat4.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2263;BA.debugLine="itembat4.Add(\"1.1 a 3.9 cartones\")";
+_itembat4.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2264;BA.debugLine="itembat4.Add(\"4 a 5.9 cartones\")";
+_itembat4.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2265;BA.debugLine="itembat4.Add(\"6 a 10.9 cartones\")";
+_itembat4.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2266;BA.debugLine="itembat4.Add(\"11 a 20.9 cartones\")";
+_itembat4.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2267;BA.debugLine="itembat4.Add(\"21 a 30.9 cartones\")";
+_itembat4.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2268;BA.debugLine="itembat4.Add(\"31 a 40 cartones\")";
+_itembat4.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2269;BA.debugLine="itembat4.Add(\"Más de 40 cartones\")";
+_itembat4.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2270;BA.debugLine="cb_p4.SetItems(itembat4)";
+_cb_p4._setitems /*String*/ (_itembat4);
+ //BA.debugLineNum = 2271;BA.debugLine="e_4 = \"Selecciona una opcion\"";
+_e_4 = "Selecciona una opcion";
+ //BA.debugLineNum = 2273;BA.debugLine="Dim itembat5 As List";
+_itembat5 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2274;BA.debugLine="itembat5.Initialize";
+_itembat5.Initialize();
+ //BA.debugLineNum = 2275;BA.debugLine="itembat5.Add(\"Selecciona una opcion\")";
+_itembat5.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2276;BA.debugLine="itembat5.Add(\"Ninguno\")";
+_itembat5.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2277;BA.debugLine="itembat5.Add(\"Menos de medio cartón\")";
+_itembat5.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2278;BA.debugLine="itembat5.Add(\"Medio cartón a 1 cartón\")";
+_itembat5.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2279;BA.debugLine="itembat5.Add(\"1.1 a 3.9 cartones\")";
+_itembat5.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2280;BA.debugLine="itembat5.Add(\"4 a 5.9 cartones\")";
+_itembat5.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2281;BA.debugLine="itembat5.Add(\"6 a 10.9 cartones\")";
+_itembat5.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2282;BA.debugLine="itembat5.Add(\"11 a 20.9 cartones\")";
+_itembat5.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2283;BA.debugLine="itembat5.Add(\"21 a 30.9 cartones\")";
+_itembat5.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2284;BA.debugLine="itembat5.Add(\"31 a 40 cartones\")";
+_itembat5.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2285;BA.debugLine="itembat5.Add(\"Más de 40 cartones\")";
+_itembat5.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2286;BA.debugLine="cb_p5.SetItems(itembat5)";
+_cb_p5._setitems /*String*/ (_itembat5);
+ //BA.debugLineNum = 2287;BA.debugLine="e_5 = \"Selecciona una opcion\"";
+_e_5 = "Selecciona una opcion";
+ //BA.debugLineNum = 2289;BA.debugLine="Dim itembat6 As List";
+_itembat6 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2290;BA.debugLine="itembat6.Initialize";
+_itembat6.Initialize();
+ //BA.debugLineNum = 2291;BA.debugLine="itembat6.Add(\"Selecciona una opcion\")";
+_itembat6.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2292;BA.debugLine="itembat6.Add(\"Ninguno\")";
+_itembat6.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2293;BA.debugLine="itembat6.Add(\"Menos de medio cartón\")";
+_itembat6.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2294;BA.debugLine="itembat6.Add(\"Medio cartón a 1 cartón\")";
+_itembat6.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2295;BA.debugLine="itembat6.Add(\"1.1 a 3.9 cartones\")";
+_itembat6.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2296;BA.debugLine="itembat6.Add(\"4 a 5.9 cartones\")";
+_itembat6.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2297;BA.debugLine="itembat6.Add(\"6 a 10.9 cartones\")";
+_itembat6.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2298;BA.debugLine="itembat6.Add(\"11 a 20.9 cartones\")";
+_itembat6.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2299;BA.debugLine="itembat6.Add(\"21 a 30.9 cartones\")";
+_itembat6.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2300;BA.debugLine="itembat6.Add(\"31 a 40 cartones\")";
+_itembat6.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2301;BA.debugLine="itembat6.Add(\"Más de 40 cartones\")";
+_itembat6.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2302;BA.debugLine="cb_p6.SetItems(itembat6)";
+_cb_p6._setitems /*String*/ (_itembat6);
+ //BA.debugLineNum = 2303;BA.debugLine="e_6 = \"Selecciona una opcion\"";
+_e_6 = "Selecciona una opcion";
+ //BA.debugLineNum = 2305;BA.debugLine="Dim itembat7 As List";
+_itembat7 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2306;BA.debugLine="itembat7.Initialize";
+_itembat7.Initialize();
+ //BA.debugLineNum = 2307;BA.debugLine="itembat7.Add(\"Selecciona una opcion\")";
+_itembat7.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2308;BA.debugLine="itembat7.Add(\"Ninguno\")";
+_itembat7.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2309;BA.debugLine="itembat7.Add(\"Menos de medio cartón\")";
+_itembat7.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2310;BA.debugLine="itembat7.Add(\"Medio cartón a 1 cartón\")";
+_itembat7.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2311;BA.debugLine="itembat7.Add(\"1.1 a 3.9 cartones\")";
+_itembat7.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2312;BA.debugLine="itembat7.Add(\"4 a 5.9 cartones\")";
+_itembat7.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2313;BA.debugLine="itembat7.Add(\"6 a 10.9 cartones\")";
+_itembat7.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2314;BA.debugLine="itembat7.Add(\"11 a 20.9 cartones\")";
+_itembat7.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2315;BA.debugLine="itembat7.Add(\"21 a 30.9 cartones\")";
+_itembat7.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2316;BA.debugLine="itembat7.Add(\"31 a 40 cartones\")";
+_itembat7.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2317;BA.debugLine="itembat7.Add(\"Más de 40 cartones\")";
+_itembat7.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2318;BA.debugLine="cb_p7.SetItems(itembat7)";
+_cb_p7._setitems /*String*/ (_itembat7);
+ //BA.debugLineNum = 2319;BA.debugLine="e_7 = \"Selecciona una opcion\"";
+_e_7 = "Selecciona una opcion";
+ //BA.debugLineNum = 2321;BA.debugLine="Dim itembat8 As List";
+_itembat8 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2322;BA.debugLine="itembat8.Initialize";
+_itembat8.Initialize();
+ //BA.debugLineNum = 2323;BA.debugLine="itembat8.Add(\"Selecciona una opcion\")";
+_itembat8.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2324;BA.debugLine="itembat8.Add(\"Ninguno\")";
+_itembat8.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2325;BA.debugLine="itembat8.Add(\"Menos de medio cartón\")";
+_itembat8.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2326;BA.debugLine="itembat8.Add(\"Medio cartón a 1 cartón\")";
+_itembat8.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2327;BA.debugLine="itembat8.Add(\"1.1 a 3.9 cartones\")";
+_itembat8.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2328;BA.debugLine="itembat8.Add(\"4 a 5.9 cartones\")";
+_itembat8.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2329;BA.debugLine="itembat8.Add(\"6 a 10.9 cartones\")";
+_itembat8.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2330;BA.debugLine="itembat8.Add(\"11 a 20.9 cartones\")";
+_itembat8.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2331;BA.debugLine="itembat8.Add(\"21 a 30.9 cartones\")";
+_itembat8.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2332;BA.debugLine="itembat8.Add(\"31 a 40 cartones\")";
+_itembat8.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2333;BA.debugLine="itembat8.Add(\"Más de 40 cartones\")";
+_itembat8.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2334;BA.debugLine="cb_p8.SetItems(itembat8)";
+_cb_p8._setitems /*String*/ (_itembat8);
+ //BA.debugLineNum = 2335;BA.debugLine="e_8 = \"Selecciona una opcion\"";
+_e_8 = "Selecciona una opcion";
+ //BA.debugLineNum = 2337;BA.debugLine="Dim itembat9 As List";
+_itembat9 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2338;BA.debugLine="itembat9.Initialize";
+_itembat9.Initialize();
+ //BA.debugLineNum = 2339;BA.debugLine="itembat9.Add(\"Selecciona una opcion\")";
+_itembat9.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2340;BA.debugLine="itembat9.Add(\"Ninguno\")";
+_itembat9.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2341;BA.debugLine="itembat9.Add(\"Menos de medio cartón\")";
+_itembat9.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2342;BA.debugLine="itembat9.Add(\"Medio cartón a 1 cartón\")";
+_itembat9.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2343;BA.debugLine="itembat9.Add(\"1.1 a 3.9 cartones\")";
+_itembat9.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2344;BA.debugLine="itembat9.Add(\"4 a 5.9 cartones\")";
+_itembat9.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2345;BA.debugLine="itembat9.Add(\"6 a 10.9 cartones\")";
+_itembat9.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2346;BA.debugLine="itembat9.Add(\"11 a 20.9 cartones\")";
+_itembat9.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2347;BA.debugLine="itembat9.Add(\"21 a 30.9 cartones\")";
+_itembat9.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2348;BA.debugLine="itembat9.Add(\"31 a 40 cartones\")";
+_itembat9.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2349;BA.debugLine="itembat9.Add(\"Más de 40 cartones\")";
+_itembat9.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2350;BA.debugLine="cb_p9.SetItems(itembat9)";
+_cb_p9._setitems /*String*/ (_itembat9);
+ //BA.debugLineNum = 2351;BA.debugLine="e_9 = \"Selecciona una opcion\"";
+_e_9 = "Selecciona una opcion";
+ //BA.debugLineNum = 2353;BA.debugLine="Dim itembat10 As List";
+_itembat10 = new anywheresoftware.b4a.objects.collections.List();
+ //BA.debugLineNum = 2354;BA.debugLine="itembat10.Initialize";
+_itembat10.Initialize();
+ //BA.debugLineNum = 2355;BA.debugLine="itembat10.Add(\"Selecciona una opcion\")";
+_itembat10.Add((Object)("Selecciona una opcion"));
+ //BA.debugLineNum = 2356;BA.debugLine="itembat10.Add(\"Ninguno\")";
+_itembat10.Add((Object)("Ninguno"));
+ //BA.debugLineNum = 2357;BA.debugLine="itembat10.Add(\"Menos de medio cartón\")";
+_itembat10.Add((Object)("Menos de medio cartón"));
+ //BA.debugLineNum = 2358;BA.debugLine="itembat10.Add(\"Medio cartón a 1 cartón\")";
+_itembat10.Add((Object)("Medio cartón a 1 cartón"));
+ //BA.debugLineNum = 2359;BA.debugLine="itembat10.Add(\"1.1 a 3.9 cartones\")";
+_itembat10.Add((Object)("1.1 a 3.9 cartones"));
+ //BA.debugLineNum = 2360;BA.debugLine="itembat10.Add(\"4 a 5.9 cartones\")";
+_itembat10.Add((Object)("4 a 5.9 cartones"));
+ //BA.debugLineNum = 2361;BA.debugLine="itembat10.Add(\"6 a 10.9 cartones\")";
+_itembat10.Add((Object)("6 a 10.9 cartones"));
+ //BA.debugLineNum = 2362;BA.debugLine="itembat10.Add(\"11 a 20.9 cartones\")";
+_itembat10.Add((Object)("11 a 20.9 cartones"));
+ //BA.debugLineNum = 2363;BA.debugLine="itembat10.Add(\"21 a 30.9 cartones\")";
+_itembat10.Add((Object)("21 a 30.9 cartones"));
+ //BA.debugLineNum = 2364;BA.debugLine="itembat10.Add(\"31 a 40 cartones\")";
+_itembat10.Add((Object)("31 a 40 cartones"));
+ //BA.debugLineNum = 2365;BA.debugLine="itembat10.Add(\"Más de 40 cartones\")";
+_itembat10.Add((Object)("Más de 40 cartones"));
+ //BA.debugLineNum = 2366;BA.debugLine="cb_p10.SetItems(itembat10)";
+_cb_p10._setitems /*String*/ (_itembat10);
+ //BA.debugLineNum = 2367;BA.debugLine="e_10 = \"Selecciona una opcion\"";
+_e_10 = "Selecciona una opcion";
+ }else {
+ //BA.debugLineNum = 2369;BA.debugLine="vent";
+_vent();
+ };
+ };
+ }else {
+ //BA.debugLineNum = 2373;BA.debugLine="vent";
+_vent();
+ };
+ }else {
+ //BA.debugLineNum = 2377;BA.debugLine="vent";
+_vent();
+ };
+ }else {
+ //BA.debugLineNum = 2380;BA.debugLine="vent";
+_vent();
+ };
+ //BA.debugLineNum = 2384;BA.debugLine="End Sub";
+return "";
}
public String _gestionar() throws Exception{
anywheresoftware.b4a.objects.IntentWrapper _intent1 = null;
String _enviorutas = "";
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
- //BA.debugLineNum = 2138;BA.debugLine="Sub gestionar";
- //BA.debugLineNum = 2139;BA.debugLine="If B_IMP.Visible = True Then";
+ //BA.debugLineNum = 2438;BA.debugLine="Sub gestionar";
+ //BA.debugLineNum = 2439;BA.debugLine="If B_IMP.Visible = True Then";
if (_b_imp.getVisible()==__c.True) {
- //BA.debugLineNum = 2140;BA.debugLine="If Not(Subs.revisaImpreso) Then";
+ //BA.debugLineNum = 2440;BA.debugLine="If Not(Subs.revisaImpreso) Then";
if (__c.Not(_subs._revisaimpreso /*boolean*/ (ba))) {
- //BA.debugLineNum = 2141;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNU";
+ //BA.debugLineNum = 2441;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNU";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 2142;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2442;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2143;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
+ //BA.debugLineNum = 2443;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
if ((_c.GetString("encuesta")).equals("0")) {
- //BA.debugLineNum = 2144;BA.debugLine="Dim Intent1 As Intent";
+ //BA.debugLineNum = 2444;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
- //BA.debugLineNum = 2145;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/c";
+ //BA.debugLineNum = 2445;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/c";
_enviorutas = "guna://tienda360/config?clienteId="+_la_cuenta.getText()+"&almacen="+_almacen+"&ruta="+_subs._traeruta /*String*/ (ba);
- //BA.debugLineNum = 2146;BA.debugLine="Log(enviorutas)";
-__c.LogImpl("715138824",_enviorutas,0);
- //BA.debugLineNum = 2147;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envior";
+ //BA.debugLineNum = 2446;BA.debugLine="Log(enviorutas)";
+__c.LogImpl("415269896",_enviorutas,0);
+ //BA.debugLineNum = 2447;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envior";
_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas);
- //BA.debugLineNum = 2148;BA.debugLine="Try";
-try { //BA.debugLineNum = 2149;BA.debugLine="Starter.encuesta = 1";
+ //BA.debugLineNum = 2448;BA.debugLine="Try";
+try { //BA.debugLineNum = 2449;BA.debugLine="Starter.encuesta = 1";
_starter._encuesta /*String*/ = BA.NumberToString(1);
- //BA.debugLineNum = 2150;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 2450;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 2151;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encu";
+ //BA.debugLineNum = 2451;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encu";
_skmt.ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
- //BA.debugLineNum = 2152;BA.debugLine="StartActivity(Intent1)";
+ //BA.debugLineNum = 2452;BA.debugLine="StartActivity(Intent1)";
__c.StartActivity(ba,(Object)(_intent1.getObject()));
- //BA.debugLineNum = 2153;BA.debugLine="compra";
+ //BA.debugLineNum = 2453;BA.debugLine="compra";
_compra();
}
catch (Exception e17) {
- ba.setLastException(e17); //BA.debugLineNum = 2155;BA.debugLine="Starter.encuesta = 0";
+ ba.setLastException(e17); //BA.debugLineNum = 2455;BA.debugLine="Starter.encuesta = 0";
_starter._encuesta /*String*/ = BA.NumberToString(0);
- //BA.debugLineNum = 2159;BA.debugLine="compra";
+ //BA.debugLineNum = 2459;BA.debugLine="compra";
_compra();
};
}else {
- //BA.debugLineNum = 2166;BA.debugLine="compra";
+ //BA.debugLineNum = 2466;BA.debugLine="compra";
_compra();
};
}else {
- //BA.debugLineNum = 2169;BA.debugLine="If Subs.traeAlmacen = 94 Then";
+ //BA.debugLineNum = 2469;BA.debugLine="If Subs.traeAlmacen = 94 Then";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) {
- //BA.debugLineNum = 2170;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFN";
+ //BA.debugLineNum = 2470;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFN";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 2171;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2471;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2172;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
+ //BA.debugLineNum = 2472;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
if ((_c.GetString("encuesta")).equals("0")) {
- //BA.debugLineNum = 2173;BA.debugLine="Dim Intent1 As Intent";
+ //BA.debugLineNum = 2473;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
- //BA.debugLineNum = 2174;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/";
+ //BA.debugLineNum = 2474;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/";
_enviorutas = "guna://tienda360/config?clienteId="+_la_cuenta.getText()+"&almacen="+_almacen+"&ruta="+_subs._traeruta /*String*/ (ba);
- //BA.debugLineNum = 2175;BA.debugLine="Log(enviorutas)";
-__c.LogImpl("715138853",_enviorutas,0);
- //BA.debugLineNum = 2176;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envio";
+ //BA.debugLineNum = 2475;BA.debugLine="Log(enviorutas)";
+__c.LogImpl("415269925",_enviorutas,0);
+ //BA.debugLineNum = 2476;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envio";
_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas);
- //BA.debugLineNum = 2177;BA.debugLine="Try";
-try { //BA.debugLineNum = 2178;BA.debugLine="Starter.encuesta = 1";
+ //BA.debugLineNum = 2477;BA.debugLine="Try";
+try { //BA.debugLineNum = 2478;BA.debugLine="Starter.encuesta = 1";
_starter._encuesta /*String*/ = BA.NumberToString(1);
- //BA.debugLineNum = 2179;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 2479;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 2180;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET enc";
+ //BA.debugLineNum = 2480;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET enc";
_skmt.ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
- //BA.debugLineNum = 2181;BA.debugLine="StartActivity(Intent1)";
+ //BA.debugLineNum = 2481;BA.debugLine="StartActivity(Intent1)";
__c.StartActivity(ba,(Object)(_intent1.getObject()));
- //BA.debugLineNum = 2182;BA.debugLine="compra";
+ //BA.debugLineNum = 2482;BA.debugLine="compra";
_compra();
}
catch (Exception e39) {
- ba.setLastException(e39); //BA.debugLineNum = 2184;BA.debugLine="Starter.encuesta = 0";
+ ba.setLastException(e39); //BA.debugLineNum = 2484;BA.debugLine="Starter.encuesta = 0";
_starter._encuesta /*String*/ = BA.NumberToString(0);
- //BA.debugLineNum = 2188;BA.debugLine="compra";
+ //BA.debugLineNum = 2488;BA.debugLine="compra";
_compra();
};
}else {
- //BA.debugLineNum = 2195;BA.debugLine="compra";
+ //BA.debugLineNum = 2495;BA.debugLine="compra";
_compra();
};
}else {
- //BA.debugLineNum = 2198;BA.debugLine="p_transparenteTicketImpreso.Visible = True";
+ //BA.debugLineNum = 2498;BA.debugLine="p_transparenteTicketImpreso.Visible = True";
_p_transparenteticketimpreso.setVisible(__c.True);
};
};
}else {
- //BA.debugLineNum = 2202;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
+ //BA.debugLineNum = 2502;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(encuesta,0) AS encuesta from kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 2203;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2503;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2204;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
+ //BA.debugLineNum = 2504;BA.debugLine="If c.GetString(\"encuesta\") = \"0\" Then";
if ((_c.GetString("encuesta")).equals("0")) {
- //BA.debugLineNum = 2205;BA.debugLine="Dim Intent1 As Intent";
+ //BA.debugLineNum = 2505;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
- //BA.debugLineNum = 2206;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/co";
+ //BA.debugLineNum = 2506;BA.debugLine="Dim enviorutas As String = \"guna://tienda360/co";
_enviorutas = "guna://tienda360/config?clienteId="+_la_cuenta.getText()+"&almacen="+_almacen+"&ruta="+_subs._traeruta /*String*/ (ba);
- //BA.debugLineNum = 2207;BA.debugLine="Log(enviorutas)";
-__c.LogImpl("715138885",_enviorutas,0);
- //BA.debugLineNum = 2208;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envioru";
+ //BA.debugLineNum = 2507;BA.debugLine="Log(enviorutas)";
+__c.LogImpl("415269957",_enviorutas,0);
+ //BA.debugLineNum = 2508;BA.debugLine="Intent1.Initialize(Intent1.ACTION_VIEW, envioru";
_intent1.Initialize(_intent1.ACTION_VIEW,_enviorutas);
- //BA.debugLineNum = 2209;BA.debugLine="Try";
-try { //BA.debugLineNum = 2210;BA.debugLine="Starter.encuesta = 1";
+ //BA.debugLineNum = 2509;BA.debugLine="Try";
+try { //BA.debugLineNum = 2510;BA.debugLine="Starter.encuesta = 1";
_starter._encuesta /*String*/ = BA.NumberToString(1);
- //BA.debugLineNum = 2211;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 2511;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 2212;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encue";
+ //BA.debugLineNum = 2512;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE kmt_info3 SET encue";
_skmt.ExecNonQuery2("UPDATE kmt_info3 SET encuesta = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(1)}));
- //BA.debugLineNum = 2213;BA.debugLine="StartActivity(Intent1)";
+ //BA.debugLineNum = 2513;BA.debugLine="StartActivity(Intent1)";
__c.StartActivity(ba,(Object)(_intent1.getObject()));
- //BA.debugLineNum = 2214;BA.debugLine="compra";
+ //BA.debugLineNum = 2514;BA.debugLine="compra";
_compra();
}
catch (Exception e64) {
- ba.setLastException(e64); //BA.debugLineNum = 2216;BA.debugLine="Starter.encuesta = 0";
+ ba.setLastException(e64); //BA.debugLineNum = 2516;BA.debugLine="Starter.encuesta = 0";
_starter._encuesta /*String*/ = BA.NumberToString(0);
- //BA.debugLineNum = 2220;BA.debugLine="compra";
+ //BA.debugLineNum = 2520;BA.debugLine="compra";
_compra();
};
}else {
- //BA.debugLineNum = 2227;BA.debugLine="compra";
+ //BA.debugLineNum = 2527;BA.debugLine="compra";
_compra();
};
};
- //BA.debugLineNum = 2230;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2530;BA.debugLine="End Sub";
return "";
}
public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{
@@ -11566,64 +12119,64 @@ String _habi = "";
String _geo = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c5 = null;
- //BA.debugLineNum = 1525;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
- //BA.debugLineNum = 1526;BA.debugLine="LogColor($\"Entrando a Cliente.GPS_LocationChanged";
-__c.LogImpl("714614529",("Entrando a Cliente.GPS_LocationChanged"),__c.Colors.Red);
- //BA.debugLineNum = 1529;BA.debugLine="If Location1 = location2 Then";
+ //BA.debugLineNum = 1547;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
+ //BA.debugLineNum = 1548;BA.debugLine="LogColor($\"Entrando a Cliente.GPS_LocationChanged";
+__c.LogImpl("414680065",("Entrando a Cliente.GPS_LocationChanged"),__c.Colors.Red);
+ //BA.debugLineNum = 1551;BA.debugLine="If Location1 = location2 Then";
if ((_location1).equals(_location2)) {
- //BA.debugLineNum = 1530;BA.debugLine="contIguales = contIguales + 1";
+ //BA.debugLineNum = 1552;BA.debugLine="contIguales = contIguales + 1";
_contiguales = (int) (_contiguales+1);
- //BA.debugLineNum = 1531;BA.debugLine="Log(\"Coords Iguales\")";
-__c.LogImpl("714614534","Coords Iguales",0);
- //BA.debugLineNum = 1532;BA.debugLine="If contIguales >= 3 Then";
+ //BA.debugLineNum = 1553;BA.debugLine="Log(\"Coords Iguales\")";
+__c.LogImpl("414680070","Coords Iguales",0);
+ //BA.debugLineNum = 1554;BA.debugLine="If contIguales >= 3 Then";
if (_contiguales>=3) {
- //BA.debugLineNum = 1535;BA.debugLine="CallSubDelayed(Tracker, \"StopFLP\")";
+ //BA.debugLineNum = 1557;BA.debugLine="CallSubDelayed(Tracker, \"StopFLP\")";
__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StopFLP");
- //BA.debugLineNum = 1536;BA.debugLine="Return";
+ //BA.debugLineNum = 1558;BA.debugLine="Return";
if (true) return "";
};
}else {
- //BA.debugLineNum = 1539;BA.debugLine="contIguales = 0";
+ //BA.debugLineNum = 1561;BA.debugLine="contIguales = 0";
_contiguales = (int) (0);
};
- //BA.debugLineNum = 1541;BA.debugLine="Log(\"############################################";
-__c.LogImpl("714614544","################################################################################",0);
- //BA.debugLineNum = 1542;BA.debugLine="Log(\"############################################";
-__c.LogImpl("714614545","################################################################################",0);
- //BA.debugLineNum = 1543;BA.debugLine="Log(\"############################################";
-__c.LogImpl("714614546","################################################################################",0);
- //BA.debugLineNum = 1544;BA.debugLine="location2 = Location1";
+ //BA.debugLineNum = 1563;BA.debugLine="Log(\"############################################";
+__c.LogImpl("414680080","################################################################################",0);
+ //BA.debugLineNum = 1564;BA.debugLine="Log(\"############################################";
+__c.LogImpl("414680081","################################################################################",0);
+ //BA.debugLineNum = 1565;BA.debugLine="Log(\"############################################";
+__c.LogImpl("414680082","################################################################################",0);
+ //BA.debugLineNum = 1566;BA.debugLine="location2 = Location1";
_location2 = _location1;
- //BA.debugLineNum = 1554;BA.debugLine="If Location1.Accuracy > 50 Then ' Mayor a 50 metr";
+ //BA.debugLineNum = 1576;BA.debugLine="If Location1.Accuracy > 50 Then ' Mayor a 50 metr";
if (_location1.getAccuracy()>50) {
- //BA.debugLineNum = 1555;BA.debugLine="MejorarPrecisionGPS";
+ //BA.debugLineNum = 1577;BA.debugLine="MejorarPrecisionGPS";
_mejorarprecisiongps();
- //BA.debugLineNum = 1556;BA.debugLine="Return ' Esperar siguiente lectura";
+ //BA.debugLineNum = 1578;BA.debugLine="Return ' Esperar siguiente lectura";
if (true) return "";
};
- //BA.debugLineNum = 1560;BA.debugLine="If Location1.Accuracy > 50 Then ' Si la precisión";
+ //BA.debugLineNum = 1582;BA.debugLine="If Location1.Accuracy > 50 Then ' Si la precisión";
if (_location1.getAccuracy()>50) {
- //BA.debugLineNum = 1561;BA.debugLine="Return";
+ //BA.debugLineNum = 1583;BA.debugLine="Return";
if (true) return "";
};
- //BA.debugLineNum = 1565;BA.debugLine="Dim ultimasUbicaciones As List";
+ //BA.debugLineNum = 1587;BA.debugLine="Dim ultimasUbicaciones As List";
_ultimasubicaciones = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 1566;BA.debugLine="If ultimasUbicaciones.IsInitialized = False Then";
+ //BA.debugLineNum = 1588;BA.debugLine="If ultimasUbicaciones.IsInitialized = False Then";
if (_ultimasubicaciones.IsInitialized()==__c.False) {
- //BA.debugLineNum = 1567;BA.debugLine="ultimasUbicaciones.Initialize";
+ //BA.debugLineNum = 1589;BA.debugLine="ultimasUbicaciones.Initialize";
_ultimasubicaciones.Initialize();
};
- //BA.debugLineNum = 1570;BA.debugLine="ultimasUbicaciones.Add(Location1)";
+ //BA.debugLineNum = 1592;BA.debugLine="ultimasUbicaciones.Add(Location1)";
_ultimasubicaciones.Add((Object)(_location1.getObject()));
- //BA.debugLineNum = 1571;BA.debugLine="If ultimasUbicaciones.Size > 5 Then";
+ //BA.debugLineNum = 1593;BA.debugLine="If ultimasUbicaciones.Size > 5 Then";
if (_ultimasubicaciones.getSize()>5) {
- //BA.debugLineNum = 1572;BA.debugLine="ultimasUbicaciones.RemoveAt(0)";
+ //BA.debugLineNum = 1594;BA.debugLine="ultimasUbicaciones.RemoveAt(0)";
_ultimasubicaciones.RemoveAt((int) (0));
};
- //BA.debugLineNum = 1576;BA.debugLine="Dim latPromedio, lonPromedio As Double";
+ //BA.debugLineNum = 1598;BA.debugLine="Dim latPromedio, lonPromedio As Double";
_latpromedio = 0;
_lonpromedio = 0;
- //BA.debugLineNum = 1577;BA.debugLine="For Each loc As Location In ultimasUbicaciones";
+ //BA.debugLineNum = 1599;BA.debugLine="For Each loc As Location In ultimasUbicaciones";
_loc = new anywheresoftware.b4a.gps.LocationWrapper();
{
final anywheresoftware.b4a.BA.IterableList group32 = _ultimasubicaciones;
@@ -11632,512 +12185,512 @@ final int groupLen32 = group32.getSize()
;
for (; index32 < groupLen32;index32++){
_loc = (anywheresoftware.b4a.gps.LocationWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.gps.LocationWrapper(), (android.location.Location)(group32.Get(index32)));
- //BA.debugLineNum = 1578;BA.debugLine="Log(\"***\")";
-__c.LogImpl("714614581","***",0);
- //BA.debugLineNum = 1579;BA.debugLine="latPromedio = latPromedio + loc.Latitude";
+ //BA.debugLineNum = 1600;BA.debugLine="Log(\"***\")";
+__c.LogImpl("414680117","***",0);
+ //BA.debugLineNum = 1601;BA.debugLine="latPromedio = latPromedio + loc.Latitude";
_latpromedio = _latpromedio+_loc.getLatitude();
- //BA.debugLineNum = 1580;BA.debugLine="lonPromedio = lonPromedio + loc.Longitude";
+ //BA.debugLineNum = 1602;BA.debugLine="lonPromedio = lonPromedio + loc.Longitude";
_lonpromedio = _lonpromedio+_loc.getLongitude();
}
};
- //BA.debugLineNum = 1582;BA.debugLine="latPromedio = latPromedio / ultimasUbicaciones.Si";
+ //BA.debugLineNum = 1604;BA.debugLine="latPromedio = latPromedio / ultimasUbicaciones.Si";
_latpromedio = _latpromedio/(double)_ultimasubicaciones.getSize();
- //BA.debugLineNum = 1583;BA.debugLine="lonPromedio = lonPromedio / ultimasUbicaciones.Si";
+ //BA.debugLineNum = 1605;BA.debugLine="lonPromedio = lonPromedio / ultimasUbicaciones.Si";
_lonpromedio = _lonpromedio/(double)_ultimasubicaciones.getSize();
- //BA.debugLineNum = 1586;BA.debugLine="B4XPages.MainPage.lat_gps = latPromedio";
+ //BA.debugLineNum = 1608;BA.debugLine="B4XPages.MainPage.lat_gps = latPromedio";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_latpromedio);
- //BA.debugLineNum = 1587;BA.debugLine="B4XPages.MainPage.lon_gps = lonPromedio";
+ //BA.debugLineNum = 1609;BA.debugLine="B4XPages.MainPage.lon_gps = lonPromedio";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_lonpromedio);
- //BA.debugLineNum = 1589;BA.debugLine="If Tels.IsInitialized Then";
+ //BA.debugLineNum = 1611;BA.debugLine="If Tels.IsInitialized Then";
if (_tels.IsInitialized()) {
- //BA.debugLineNum = 1590;BA.debugLine="Dim al_longitud As String = 0";
+ //BA.debugLineNum = 1612;BA.debugLine="Dim al_longitud As String = 0";
_al_longitud = BA.NumberToString(0);
- //BA.debugLineNum = 1591;BA.debugLine="Dim al_latitud As String = 0";
+ //BA.debugLineNum = 1613;BA.debugLine="Dim al_latitud As String = 0";
_al_latitud = BA.NumberToString(0);
- //BA.debugLineNum = 1592;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA";
+ //BA.debugLineNum = 1614;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"LATITUD"})));
- //BA.debugLineNum = 1593;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1615;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1594;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1616;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1595;BA.debugLine="Dim al_latitud As String = c.GetString(\"CAT_VA_";
+ //BA.debugLineNum = 1617;BA.debugLine="Dim al_latitud As String = c.GetString(\"CAT_VA_";
_al_latitud = _c.GetString("CAT_VA_VALOR");
};
- //BA.debugLineNum = 1597;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1619;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1598;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA";
+ //BA.debugLineNum = 1620;BA.debugLine="c = skmt.ExecQuery2(\"SELECT CAT_VA_VALOR FROM CA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"LONGITUD"})));
- //BA.debugLineNum = 1599;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1621;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1600;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1622;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1601;BA.debugLine="Dim al_longitud As String = c.GetString(\"CAT_VA";
+ //BA.debugLineNum = 1623;BA.debugLine="Dim al_longitud As String = c.GetString(\"CAT_VA";
_al_longitud = _c.GetString("CAT_VA_VALOR");
};
- //BA.debugLineNum = 1603;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1625;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1604;BA.debugLine="Dim ubi1, ubi2 As Location";
+ //BA.debugLineNum = 1626;BA.debugLine="Dim ubi1, ubi2 As Location";
_ubi1 = new anywheresoftware.b4a.gps.LocationWrapper();
_ubi2 = new anywheresoftware.b4a.gps.LocationWrapper();
- //BA.debugLineNum = 1605;BA.debugLine="ubi1.Initialize2(B4XPages.MainPage.lat_gps, B4XP";
+ //BA.debugLineNum = 1627;BA.debugLine="ubi1.Initialize2(B4XPages.MainPage.lat_gps, B4XP";
_ubi1.Initialize2(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ );
- //BA.debugLineNum = 1606;BA.debugLine="ubi2.Initialize2(al_latitud, al_longitud)";
+ //BA.debugLineNum = 1628;BA.debugLine="ubi2.Initialize2(al_latitud, al_longitud)";
_ubi2.Initialize2(_al_latitud,_al_longitud);
- //BA.debugLineNum = 1607;BA.debugLine="distancealm = ubi1.DistanceTo(ubi2)";
+ //BA.debugLineNum = 1629;BA.debugLine="distancealm = ubi1.DistanceTo(ubi2)";
_distancealm = (long) (_ubi1.DistanceTo((android.location.Location)(_ubi2.getObject())));
};
- //BA.debugLineNum = 1610;BA.debugLine="If LA_GPS.IsInitialized Then";
+ //BA.debugLineNum = 1632;BA.debugLine="If LA_GPS.IsInitialized Then";
if (_la_gps.IsInitialized()) {
- //BA.debugLineNum = 1611;BA.debugLine="LA_GPS.Text = $\"UBICACIÓN - Precisión: ${NumberF";
+ //BA.debugLineNum = 1633;BA.debugLine="LA_GPS.Text = $\"UBICACIÓN - Precisión: ${NumberF";
_la_gps.setText(BA.ObjectToCharSequence(("UBICACIÓN - Precisión: "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_location1.getAccuracy(),(int) (0),(int) (1),(int) (1),__c.False)))+"m")));
};
- //BA.debugLineNum = 1614;BA.debugLine="If Location1.Accuracy < 30 Then ' Menos de 30 met";
+ //BA.debugLineNum = 1636;BA.debugLine="If Location1.Accuracy < 30 Then ' Menos de 30 met";
if (_location1.getAccuracy()<30) {
- //BA.debugLineNum = 1616;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude";
+ //BA.debugLineNum = 1638;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude());
- //BA.debugLineNum = 1617;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude";
+ //BA.debugLineNum = 1639;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude());
- //BA.debugLineNum = 1619;BA.debugLine="If m_lat.Length > 0 And B4XPages.MainPage.lat_gp";
+ //BA.debugLineNum = 1641;BA.debugLine="If m_lat.Length > 0 And B4XPages.MainPage.lat_gp";
if (_m_lat.length()>0 && (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0") == false) {
- //BA.debugLineNum = 1620;BA.debugLine="Dim l1, l2 As Location";
+ //BA.debugLineNum = 1642;BA.debugLine="Dim l1, l2 As Location";
_l1 = new anywheresoftware.b4a.gps.LocationWrapper();
_l2 = new anywheresoftware.b4a.gps.LocationWrapper();
- //BA.debugLineNum = 1621;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPa";
+ //BA.debugLineNum = 1643;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPa";
_l1.Initialize2(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ );
- //BA.debugLineNum = 1623;BA.debugLine="l2.Initialize2(m_lat, m_lon)";
+ //BA.debugLineNum = 1645;BA.debugLine="l2.Initialize2(m_lat, m_lon)";
_l2.Initialize2(_m_lat,_m_lon);
- //BA.debugLineNum = 1624;BA.debugLine="BT_QR.Enabled = True";
+ //BA.debugLineNum = 1646;BA.debugLine="BT_QR.Enabled = True";
_bt_qr.setEnabled(__c.True);
- //BA.debugLineNum = 1627;BA.debugLine="B_GPS.Enabled = True";
+ //BA.debugLineNum = 1649;BA.debugLine="B_GPS.Enabled = True";
_b_gps.setEnabled(__c.True);
- //BA.debugLineNum = 1629;BA.debugLine="Dim distance As Long";
+ //BA.debugLineNum = 1651;BA.debugLine="Dim distance As Long";
_distance = 0L;
- //BA.debugLineNum = 1630;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is in";
+ //BA.debugLineNum = 1652;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is in";
_distance = (long) (_l1.DistanceTo((android.location.Location)(_l2.getObject())));
- //BA.debugLineNum = 1631;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\"";
+ //BA.debugLineNum = 1653;BA.debugLine="c = skmt.ExecQuery(\"SELECT HABILITADO FROM GPS\"";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT HABILITADO FROM GPS")));
- //BA.debugLineNum = 1632;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1654;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1633;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1655;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1634;BA.debugLine="Dim habi As String = c.GetString(\"HABILITADO\")";
+ //BA.debugLineNum = 1656;BA.debugLine="Dim habi As String = c.GetString(\"HABILITADO\")";
_habi = _c.GetString("HABILITADO");
};
- //BA.debugLineNum = 1636;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1658;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1637;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CA";
+ //BA.debugLineNum = 1659;BA.debugLine="c = skmt.ExecQuery(\"SELECT CAT_VA_VALOR FROM CA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT CAT_VA_VALOR FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = 'GEOCERCA'")));
- //BA.debugLineNum = 1638;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1660;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1639;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1661;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1640;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\"";
+ //BA.debugLineNum = 1662;BA.debugLine="Dim geo As String = c.GetString(\"CAT_VA_VALOR\"";
_geo = _c.GetString("CAT_VA_VALOR");
};
- //BA.debugLineNum = 1642;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1664;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1643;BA.debugLine="If gest.IsInitialized And Tels.IsInitialized Th";
+ //BA.debugLineNum = 1665;BA.debugLine="If gest.IsInitialized And Tels.IsInitialized Th";
if (_gest.IsInitialized() && _tels.IsInitialized()) {
- //BA.debugLineNum = 1644;BA.debugLine="If geo = \"0\" Then";
+ //BA.debugLineNum = 1666;BA.debugLine="If geo = \"0\" Then";
if ((_geo).equals("0")) {
- //BA.debugLineNum = 1645;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1667;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1646;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1668;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1647;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 1669;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1648;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1670;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1649;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1671;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1650;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1672;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1651;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 1673;BA.debugLine="b_preventa2.Visible = True";
_b_preventa2.setVisible(__c.True);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1653;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1675;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1656;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1678;BA.debugLine="iniciofin";
_iniciofin();
- //BA.debugLineNum = 1658;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1680;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
}else if((_geo).equals("1")) {
- //BA.debugLineNum = 1660;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1682;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1661;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 1683;BA.debugLine="gest.Visible = False";
_gest.setVisible(__c.False);
- //BA.debugLineNum = 1662;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1684;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1668;BA.debugLine="If geo = \"1\" Then";
+ //BA.debugLineNum = 1690;BA.debugLine="If geo = \"1\" Then";
if ((_geo).equals("1")) {
- //BA.debugLineNum = 1669;BA.debugLine="If distance < 100 Then";
-if (_distance<100) {
- //BA.debugLineNum = 1670;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
+ //BA.debugLineNum = 1691;BA.debugLine="If distance < 1000000000000000000000 Then";
+if (_distance<1000000000000000000000d) {
+ //BA.debugLineNum = 1692;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
_la_geo.setTextColor(__c.Colors.Blue);
- //BA.debugLineNum = 1671;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1693;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1672;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1694;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1673;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 1695;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1674;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1696;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1675;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1697;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1676;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1698;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1677;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 1699;BA.debugLine="b_preventa2.Visible = True";
_b_preventa2.setVisible(__c.True);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1679;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1701;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1682;BA.debugLine="bitacora.inicioFin";
+ //BA.debugLineNum = 1704;BA.debugLine="bitacora.inicioFin";
_bitacora._iniciofin /*String*/ ();
- //BA.debugLineNum = 1683;BA.debugLine="precision = \"1\"";
+ //BA.debugLineNum = 1705;BA.debugLine="precision = \"1\"";
_precision = "1";
- //BA.debugLineNum = 1685;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1707;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
}else if((_habi).equals("1")) {
- //BA.debugLineNum = 1688;BA.debugLine="If distancealm < 50 Then";
+ //BA.debugLineNum = 1710;BA.debugLine="If distancealm < 50 Then";
if (_distancealm<50) {
- //BA.debugLineNum = 1689;BA.debugLine="precision = \"0\"";
+ //BA.debugLineNum = 1711;BA.debugLine="precision = \"0\"";
_precision = "0";
- //BA.debugLineNum = 1690;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
+ //BA.debugLineNum = 1712;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
_la_geo.setTextColor(__c.Colors.Blue);
- //BA.debugLineNum = 1691;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1713;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1692;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1714;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1693;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm";
+ //BA.debugLineNum = 1715;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1694;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1716;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1695;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1717;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1696;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1718;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1697;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 1719;BA.debugLine="b_preventa2.Visible = True";
_b_preventa2.setVisible(__c.True);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1699;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1721;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1703;BA.debugLine="bitacora.banderaGeoCerca = \"1\"";
+ //BA.debugLineNum = 1725;BA.debugLine="bitacora.banderaGeoCerca = \"1\"";
_bitacora._banderageocerca /*String*/ = "1";
- //BA.debugLineNum = 1704;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1726;BA.debugLine="iniciofin";
_iniciofin();
}else if(_distancealm>50) {
- //BA.debugLineNum = 1707;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1729;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1708;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 1730;BA.debugLine="gest.Visible = False";
_gest.setVisible(__c.False);
- //BA.debugLineNum = 1709;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1731;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1711;BA.debugLine="Log(998)";
-__c.LogImpl("714614714",BA.NumberToString(998),0);
- //BA.debugLineNum = 1713;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P";
+ //BA.debugLineNum = 1733;BA.debugLine="Log(998)";
+__c.LogImpl("414680250",BA.NumberToString(998),0);
+ //BA.debugLineNum = 1735;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 1714;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1736;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1715;BA.debugLine="precision = \"0\"";
+ //BA.debugLineNum = 1737;BA.debugLine="precision = \"0\"";
_precision = "0";
- //BA.debugLineNum = 1716;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1738;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1717;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1739;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1718;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk";
+ //BA.debugLineNum = 1740;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1719;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1741;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1720;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1742;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1721;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1743;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1722;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 1744;BA.debugLine="b_preventa2.Visible = True";
_b_preventa2.setVisible(__c.True);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1724;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1746;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1728;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1750;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
- //BA.debugLineNum = 1729;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1751;BA.debugLine="iniciofin";
_iniciofin();
}else if(_c.getRowCount()==0) {
- //BA.debugLineNum = 1731;BA.debugLine="Private c5 As Cursor = skmt.ExecQuery(\"SELE";
+ //BA.debugLineNum = 1753;BA.debugLine="Private c5 As Cursor = skmt.ExecQuery(\"SELE";
_c5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 1732;BA.debugLine="If c5.RowCount > 0 Then";
+ //BA.debugLineNum = 1754;BA.debugLine="If c5.RowCount > 0 Then";
if (_c5.getRowCount()>0) {
- //BA.debugLineNum = 1733;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1755;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1734;BA.debugLine="gest.Visible = True";
-_gest.setVisible(__c.True);
- //BA.debugLineNum = 1735;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.s";
-_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1736;BA.debugLine="If future.RowCount > 0 Then";
-if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1737;BA.debugLine="future.Position = 0";
-_future.setPosition((int) (0));
- //BA.debugLineNum = 1738;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
-if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1739;BA.debugLine="b_preventa2.Visible = True";
-_b_preventa2.setVisible(__c.True);
- }else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1741;BA.debugLine="b_preventa2.Visible = False";
-_b_preventa2.setVisible(__c.False);
- };
- };
- //BA.debugLineNum = 1744;BA.debugLine="precision = \"0\"";
-_precision = "0";
- //BA.debugLineNum = 1746;BA.debugLine="iniciofin";
-_iniciofin();
- }else if(_c5.getRowCount()==0) {
- //BA.debugLineNum = 1748;BA.debugLine="Tels.Visible = False";
-_tels.setVisible(__c.False);
- //BA.debugLineNum = 1749;BA.debugLine="gest.Visible = False";
-_gest.setVisible(__c.False);
- //BA.debugLineNum = 1751;BA.debugLine="Log(997)";
-__c.LogImpl("714614754",BA.NumberToString(997),0);
- //BA.debugLineNum = 1753;BA.debugLine="LA_GEO.TextColor = Colors.Red";
-_la_geo.setTextColor(__c.Colors.Red);
- //BA.debugLineNum = 1754;BA.debugLine="If ALMACEN = \"1\" Then";
-if ((_almacen).equals("1")) {
- //BA.debugLineNum = 1755;BA.debugLine="Tels.Visible = False";
-_tels.setVisible(__c.False);
//BA.debugLineNum = 1756;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1757;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1757;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.s";
+_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
+ //BA.debugLineNum = 1758;BA.debugLine="If future.RowCount > 0 Then";
+if (_future.getRowCount()>0) {
+ //BA.debugLineNum = 1759;BA.debugLine="future.Position = 0";
+_future.setPosition((int) (0));
+ //BA.debugLineNum = 1760;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+if (_future.GetInt("CAT_VA_VALOR")==1) {
+ //BA.debugLineNum = 1761;BA.debugLine="b_preventa2.Visible = True";
+_b_preventa2.setVisible(__c.True);
+ }else if(_future.GetInt("CAT_VA_VALOR")==0) {
+ //BA.debugLineNum = 1763;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1759;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ };
+ };
+ //BA.debugLineNum = 1766;BA.debugLine="precision = \"0\"";
+_precision = "0";
+ //BA.debugLineNum = 1768;BA.debugLine="iniciofin";
+_iniciofin();
+ }else if(_c5.getRowCount()==0) {
+ //BA.debugLineNum = 1770;BA.debugLine="Tels.Visible = False";
+_tels.setVisible(__c.False);
+ //BA.debugLineNum = 1771;BA.debugLine="gest.Visible = False";
+_gest.setVisible(__c.False);
+ //BA.debugLineNum = 1773;BA.debugLine="Log(997)";
+__c.LogImpl("414680290",BA.NumberToString(997),0);
+ //BA.debugLineNum = 1775;BA.debugLine="LA_GEO.TextColor = Colors.Red";
+_la_geo.setTextColor(__c.Colors.Red);
+ //BA.debugLineNum = 1776;BA.debugLine="If ALMACEN = \"1\" Then";
+if ((_almacen).equals("1")) {
+ //BA.debugLineNum = 1777;BA.debugLine="Tels.Visible = False";
+_tels.setVisible(__c.False);
+ //BA.debugLineNum = 1778;BA.debugLine="gest.Visible = True";
+_gest.setVisible(__c.True);
+ //BA.debugLineNum = 1779;BA.debugLine="b_preventa2.Visible = False";
+_b_preventa2.setVisible(__c.False);
+ //BA.debugLineNum = 1781;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
- //BA.debugLineNum = 1760;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1782;BA.debugLine="iniciofin";
_iniciofin();
};
};
- //BA.debugLineNum = 1763;BA.debugLine="c5.Close";
+ //BA.debugLineNum = 1785;BA.debugLine="c5.Close";
_c5.Close();
};
- //BA.debugLineNum = 1765;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1787;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1766;BA.debugLine="LA_GEO.TextColor = Colors.Red";
+ //BA.debugLineNum = 1788;BA.debugLine="LA_GEO.TextColor = Colors.Red";
_la_geo.setTextColor(__c.Colors.Red);
- //BA.debugLineNum = 1767;BA.debugLine="If ALMACEN = \"1\" Then";
+ //BA.debugLineNum = 1789;BA.debugLine="If ALMACEN = \"1\" Then";
if ((_almacen).equals("1")) {
- //BA.debugLineNum = 1768;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1790;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1769;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1791;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1771;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1793;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
- //BA.debugLineNum = 1772;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1794;BA.debugLine="iniciofin";
_iniciofin();
};
};
}else if((_habi).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1776;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P";
+ //BA.debugLineNum = 1798;BA.debugLine="c = skmt.ExecQuery(\"SELECT PC_CLIENTE FROM P";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE WHERE PC_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 1777;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1799;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1778;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1800;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1779;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1801;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1780;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm";
+ //BA.debugLineNum = 1802;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skm";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1781;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1803;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1782;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1804;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1783;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1805;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1784;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 1806;BA.debugLine="b_preventa2.Visible = True";
_b_preventa2.setVisible(__c.True);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1786;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1808;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1790;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1812;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
- //BA.debugLineNum = 1791;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1813;BA.debugLine="iniciofin";
_iniciofin();
}else if(_c.getRowCount()==0) {
- //BA.debugLineNum = 1793;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1815;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1794;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1816;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1795;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 1817;BA.debugLine="gest.Visible = False";
_gest.setVisible(__c.False);
- //BA.debugLineNum = 1797;BA.debugLine="Log(996)";
-__c.LogImpl("714614800",BA.NumberToString(996),0);
- //BA.debugLineNum = 1799;BA.debugLine="c2 = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM";
+ //BA.debugLineNum = 1819;BA.debugLine="Log(996)";
+__c.LogImpl("414680336",BA.NumberToString(996),0);
+ //BA.debugLineNum = 1821;BA.debugLine="c2 = skmt.ExecQuery(\"SELECT NV_CLIENTE FROM";
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT NV_CLIENTE FROM NOVENTA CLIENTE WHERE NV_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 1800;BA.debugLine="If c2.RowCount > 0 Then";
+ //BA.debugLineNum = 1822;BA.debugLine="If c2.RowCount > 0 Then";
if (_c2.getRowCount()>0) {
- //BA.debugLineNum = 1801;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1823;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1802;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1824;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1803;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk";
+ //BA.debugLineNum = 1825;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.sk";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1804;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1826;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1805;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1827;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1806;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1828;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1807;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 1829;BA.debugLine="b_preventa2.Visible = True";
_b_preventa2.setVisible(__c.True);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1809;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1831;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1813;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1835;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
- //BA.debugLineNum = 1814;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1836;BA.debugLine="iniciofin";
_iniciofin();
}else if(_c2.getRowCount()==0) {
- //BA.debugLineNum = 1816;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1838;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1817;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1839;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1818;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 1840;BA.debugLine="gest.Visible = False";
_gest.setVisible(__c.False);
- //BA.debugLineNum = 1820;BA.debugLine="Log(995)";
-__c.LogImpl("714614823",BA.NumberToString(995),0);
- //BA.debugLineNum = 1822;BA.debugLine="LA_GEO.TextColor = Colors.Red";
+ //BA.debugLineNum = 1842;BA.debugLine="Log(995)";
+__c.LogImpl("414680359",BA.NumberToString(995),0);
+ //BA.debugLineNum = 1844;BA.debugLine="LA_GEO.TextColor = Colors.Red";
_la_geo.setTextColor(__c.Colors.Red);
- //BA.debugLineNum = 1823;BA.debugLine="If ALMACEN = \"1\" Then";
+ //BA.debugLineNum = 1845;BA.debugLine="If ALMACEN = \"1\" Then";
if ((_almacen).equals("1")) {
- //BA.debugLineNum = 1824;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1846;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1825;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1847;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1826;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1848;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1828;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1850;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
- //BA.debugLineNum = 1829;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1851;BA.debugLine="iniciofin";
_iniciofin();
};
};
- //BA.debugLineNum = 1832;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 1854;BA.debugLine="c2.Close";
_c2.Close();
- //BA.debugLineNum = 1833;BA.debugLine="LA_GEO.TextColor = Colors.Red";
+ //BA.debugLineNum = 1855;BA.debugLine="LA_GEO.TextColor = Colors.Red";
_la_geo.setTextColor(__c.Colors.Red);
- //BA.debugLineNum = 1834;BA.debugLine="If ALMACEN = \"1\" Then";
+ //BA.debugLineNum = 1856;BA.debugLine="If ALMACEN = \"1\" Then";
if ((_almacen).equals("1")) {
- //BA.debugLineNum = 1835;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1857;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1836;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1858;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1837;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1859;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1839;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1861;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
- //BA.debugLineNum = 1840;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1862;BA.debugLine="iniciofin";
_iniciofin();
};
};
- //BA.debugLineNum = 1843;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1865;BA.debugLine="c.Close";
_c.Close();
}else {
- //BA.debugLineNum = 1845;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1867;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1846;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1868;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1847;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 1869;BA.debugLine="gest.Visible = False";
_gest.setVisible(__c.False);
- //BA.debugLineNum = 1849;BA.debugLine="Log(994)";
-__c.LogImpl("714614852",BA.NumberToString(994),0);
- //BA.debugLineNum = 1851;BA.debugLine="LA_GEO.TextColor = Colors.Red";
+ //BA.debugLineNum = 1871;BA.debugLine="Log(994)";
+__c.LogImpl("414680388",BA.NumberToString(994),0);
+ //BA.debugLineNum = 1873;BA.debugLine="LA_GEO.TextColor = Colors.Red";
_la_geo.setTextColor(__c.Colors.Red);
- //BA.debugLineNum = 1852;BA.debugLine="If ALMACEN = \"1\" Then";
+ //BA.debugLineNum = 1874;BA.debugLine="If ALMACEN = \"1\" Then";
if ((_almacen).equals("1")) {
- //BA.debugLineNum = 1853;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1875;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1854;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1876;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1855;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1877;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1857;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
+ //BA.debugLineNum = 1879;BA.debugLine="bitacora.banderaGeoCerca = \"0\"";
_bitacora._banderageocerca /*String*/ = "0";
- //BA.debugLineNum = 1858;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1880;BA.debugLine="iniciofin";
_iniciofin();
};
};
};
};
}else {
- //BA.debugLineNum = 1865;BA.debugLine="If LA_GPS.IsInitialized Then";
+ //BA.debugLineNum = 1887;BA.debugLine="If LA_GPS.IsInitialized Then";
if (_la_gps.IsInitialized()) {
- //BA.debugLineNum = 1867;BA.debugLine="LA_GPS.Text = $\"BAJA PRECISIÓN (${NumberFormat2";
+ //BA.debugLineNum = 1889;BA.debugLine="LA_GPS.Text = $\"BAJA PRECISIÓN (${NumberFormat2";
_la_gps.setText(BA.ObjectToCharSequence(("BAJA PRECISIÓN ("+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_location1.getAccuracy(),(int) (0),(int) (1),(int) (1),__c.False)))+"m)")));
- //BA.debugLineNum = 1868;BA.debugLine="LA_GPS.TextColor = Colors.Red";
+ //BA.debugLineNum = 1890;BA.debugLine="LA_GPS.TextColor = Colors.Red";
_la_gps.setTextColor(__c.Colors.Red);
};
};
- //BA.debugLineNum = 1872;BA.debugLine="If cuenta.StartsWith(\"N\") Then";
+ //BA.debugLineNum = 1894;BA.debugLine="If cuenta.StartsWith(\"N\") Then";
if (_cuenta.startsWith("N")) {
- //BA.debugLineNum = 1873;BA.debugLine="precision = \"0\"";
+ //BA.debugLineNum = 1895;BA.debugLine="precision = \"0\"";
_precision = "0";
- //BA.debugLineNum = 1874;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
+ //BA.debugLineNum = 1896;BA.debugLine="LA_GEO.TextColor = Colors.Blue";
_la_geo.setTextColor(__c.Colors.Blue);
- //BA.debugLineNum = 1875;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1897;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1876;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1898;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1877;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 1899;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.Ex";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1878;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1900;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1879;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1901;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1880;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1902;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1881;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1903;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1883;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1905;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1887;BA.debugLine="bitacora.banderaGeoCerca = \"1\"";
+ //BA.debugLineNum = 1909;BA.debugLine="bitacora.banderaGeoCerca = \"1\"";
_bitacora._banderageocerca /*String*/ = "1";
- //BA.debugLineNum = 1888;BA.debugLine="iniciofin";
+ //BA.debugLineNum = 1910;BA.debugLine="iniciofin";
_iniciofin();
};
- //BA.debugLineNum = 1893;BA.debugLine="If LA_GEO.IsInitialized Then LA_GEO.Text= $\"$1.2{";
+ //BA.debugLineNum = 1915;BA.debugLine="If LA_GEO.IsInitialized Then LA_GEO.Text= $\"$1.2{";
if (_la_geo.IsInitialized()) {
_la_geo.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.2",(Object)(_distance/(double)1000))+" kms")));};
- //BA.debugLineNum = 1896;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1918;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS");
- //BA.debugLineNum = 1897;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
+ //BA.debugLineNum = 1919;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )}));
- //BA.debugLineNum = 1899;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1921;BA.debugLine="End Sub";
return "";
}
public String _guardadoventa() throws Exception{
- //BA.debugLineNum = 3073;BA.debugLine="Sub guardadoventa";
- //BA.debugLineNum = 3075;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3375;BA.debugLine="Sub guardadoventa";
+ //BA.debugLineNum = 3377;BA.debugLine="End Sub";
return "";
}
public String _guardar_click() throws Exception{
@@ -12145,199 +12698,239 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null;
float _suma = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s5 = null;
int _cbfactura = 0;
- //BA.debugLineNum = 2981;BA.debugLine="Sub Guardar_Click";
- //BA.debugLineNum = 2982;BA.debugLine="Guardar.SendToBack";
+ //BA.debugLineNum = 3283;BA.debugLine="Sub Guardar_Click";
+ //BA.debugLineNum = 3284;BA.debugLine="Guardar.SendToBack";
_guardar.SendToBack();
- //BA.debugLineNum = 2983;BA.debugLine="bitacora.b_Inicio_Fin_venta2.Text = \"TERMINAR VIS";
+ //BA.debugLineNum = 3285;BA.debugLine="bitacora.b_Inicio_Fin_venta2.Text = \"TERMINAR VIS";
_bitacora._b_inicio_fin_venta2 /*anywheresoftware.b4a.objects.ButtonWrapper*/ .setText(BA.ObjectToCharSequence("TERMINAR VISITA"));
- //BA.debugLineNum = 2984;BA.debugLine="bitacora.enVenta = False";
+ //BA.debugLineNum = 3286;BA.debugLine="bitacora.enVenta = False";
_bitacora._enventa /*boolean*/ = __c.False;
- //BA.debugLineNum = 2985;BA.debugLine="bitacora.inicioFin";
+ //BA.debugLineNum = 3287;BA.debugLine="bitacora.inicioFin";
_bitacora._iniciofin /*String*/ ();
- //BA.debugLineNum = 2986;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 3288;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 2987;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 3289;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 2988;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 3290;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 2989;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA";
+ //BA.debugLineNum = 3291;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa")));
- //BA.debugLineNum = 2990;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 3292;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2991;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
+ //BA.debugLineNum = 3293;BA.debugLine="clie_id = c.GetString(\"CUENTA\")";
_clie_id = _c.GetString("CUENTA");
- //BA.debugLineNum = 2992;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3294;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2993;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI";
+ //BA.debugLineNum = 3295;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 2994;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 3296;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2995;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 3297;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
- //BA.debugLineNum = 2996;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3298;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2997;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe";
+ //BA.debugLineNum = 3299;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 2998;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 3300;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3001;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ";
+ //BA.debugLineNum = 3303;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.ExecQ";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?",new String[]{"","null",BA.ObjectToString(__c.Null)})));
- //BA.debugLineNum = 3003;BA.debugLine="Private suma As Float = 0";
+ //BA.debugLineNum = 3305;BA.debugLine="Private suma As Float = 0";
_suma = (float) (0);
- //BA.debugLineNum = 3004;BA.debugLine="If s3.RowCount > 0 Then";
+ //BA.debugLineNum = 3306;BA.debugLine="If s3.RowCount > 0 Then";
if (_s3.getRowCount()>0) {
- //BA.debugLineNum = 3005;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ";
+ //BA.debugLineNum = 3307;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO = ? AND PE_RECALCULO = ? AND PE_RECALCULO = ?",new String[]{"","null",BA.ObjectToString(__c.Null)})));
- //BA.debugLineNum = 3006;BA.debugLine="s.Position = 0";
+ //BA.debugLineNum = 3308;BA.debugLine="s.Position = 0";
_s.setPosition((int) (0));
- //BA.debugLineNum = 3007;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 3309;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Ex";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(PE_RECALCULOTOT),0) as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? AND PE_RECALCULO <> ? AND PE_RECALCULO <> ?",new String[]{"","null",BA.ObjectToString(__c.Null)})));
- //BA.debugLineNum = 3008;BA.debugLine="s5.Position = 0";
+ //BA.debugLineNum = 3310;BA.debugLine="s5.Position = 0";
_s5.setPosition((int) (0));
- //BA.debugLineNum = 3009;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\") + s5.GetString(";
+ //BA.debugLineNum = 3311;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\") + s5.GetString(";
_suma = (float) ((double)(Double.parseDouble(_s.GetString("TOTAL_CLIE")))+(double)(Double.parseDouble(_s5.GetString("TOTAL_CLIE"))));
- //BA.debugLineNum = 3010;BA.debugLine="s.Close";
+ //BA.debugLineNum = 3312;BA.debugLine="s.Close";
_s.Close();
}else if(_s3.getRowCount()==0) {
- //BA.debugLineNum = 3012;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ";
+ //BA.debugLineNum = 3314;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.ExecQ";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 3013;BA.debugLine="s.Position=0";
+ //BA.debugLineNum = 3315;BA.debugLine="s.Position=0";
_s.setPosition((int) (0));
- //BA.debugLineNum = 3014;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\")";
+ //BA.debugLineNum = 3316;BA.debugLine="suma = s.GetString(\"TOTAL_CLIE\")";
_suma = (float)(Double.parseDouble(_s.GetString("TOTAL_CLIE")));
- //BA.debugLineNum = 3015;BA.debugLine="s.Close";
+ //BA.debugLineNum = 3317;BA.debugLine="s.Close";
_s.Close();
};
- //BA.debugLineNum = 3018;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
+ //BA.debugLineNum = 3320;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) {
- //BA.debugLineNum = 3019;BA.debugLine="Private cbFactura As Int = 0";
+ //BA.debugLineNum = 3321;BA.debugLine="Private cbFactura As Int = 0";
_cbfactura = (int) (0);
- //BA.debugLineNum = 3020;BA.debugLine="If CH_FACTURA.Checked Then cbFactura = 1";
+ //BA.debugLineNum = 3322;BA.debugLine="If CH_FACTURA.Checked Then cbFactura = 1";
if (_ch_factura.getChecked()) {
_cbfactura = (int) (1);};
- //BA.debugLineNum = 3021;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 3323;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)");
- //BA.debugLineNum = 3022;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 3324;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");
- //BA.debugLineNum = 3023;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int";
+ //BA.debugLineNum = 3325;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_FACTURA,PC_ALMACEN,PC_RUTA) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(__c.NumberFormat2(_suma,(int) (0),(int) (2),(int) (2),__c.False)),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_cbfactura),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}));
- //BA.debugLineNum = 3024;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_";
+ //BA.debugLineNum = 3326;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)");
};
- //BA.debugLineNum = 3028;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3330;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3029;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
+ //BA.debugLineNum = 3331;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
__c.DateTime.setTimeFormat("HHmmss");
- //BA.debugLineNum = 3030;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 3332;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 3031;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST";
+ //BA.debugLineNum = 3333;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)}));
- //BA.debugLineNum = 3033;BA.debugLine="Try";
-try { //BA.debugLineNum = 3034;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (sub";
+ //BA.debugLineNum = 3335;BA.debugLine="Try";
+try { //BA.debugLineNum = 3336;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (sub";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) ")));
- //BA.debugLineNum = 3040;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3342;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3041;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60";
+ //BA.debugLineNum = 3343;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60";
_stay_hh = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HORAS_TOTALES")))*60*60);
- //BA.debugLineNum = 3042;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60";
+ //BA.debugLineNum = 3344;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60";
_stay_mi = BA.NumberToString((double)(Double.parseDouble(_c.GetString("MINUTOS_TOTALES")))*60);
- //BA.debugLineNum = 3043;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")";
+ //BA.debugLineNum = 3345;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")";
_stay_ss = _c.GetString("SEGUNDOS_TOTALES");
- //BA.debugLineNum = 3044;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS";
+ //BA.debugLineNum = 3346;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(_stay_hh))+(double)(Double.parseDouble(_stay_mi))+(double)(Double.parseDouble(_stay_ss)))}));
- //BA.debugLineNum = 3045;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS";
+ //BA.debugLineNum = 3347;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)}));
- //BA.debugLineNum = 3046;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3348;BA.debugLine="c.Close";
_c.Close();
}
catch (Exception e55) {
- ba.setLastException(e55); //BA.debugLineNum = 3048;BA.debugLine="ToastMessageShow(\".\",True)";
+ ba.setLastException(e55); //BA.debugLineNum = 3350;BA.debugLine="ToastMessageShow(\".\",True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("."),__c.True);
};
- //BA.debugLineNum = 3050;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
+ //BA.debugLineNum = 3352;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
- //BA.debugLineNum = 3052;BA.debugLine="Log(BCREDITO)";
-__c.LogImpl("716711751",_bcredito,0);
- //BA.debugLineNum = 3066;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3354;BA.debugLine="Log(BCREDITO)";
+__c.LogImpl("416842823",_bcredito,0);
+ //BA.debugLineNum = 3368;BA.debugLine="End Sub";
return "";
}
public String _guardar_longclick() throws Exception{
- //BA.debugLineNum = 3068;BA.debugLine="Sub Guardar_LongClick";
- //BA.debugLineNum = 3071;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3370;BA.debugLine="Sub Guardar_LongClick";
+ //BA.debugLineNum = 3373;BA.debugLine="End Sub";
return "";
}
public String _habilitarbotones(boolean _dentroderango) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _future = null;
- //BA.debugLineNum = 1486;BA.debugLine="Sub HabilitarBotones(dentroDeRango As Boolean)";
- //BA.debugLineNum = 1487;BA.debugLine="If dentroDeRango Then";
+ //BA.debugLineNum = 1508;BA.debugLine="Sub HabilitarBotones(dentroDeRango As Boolean)";
+ //BA.debugLineNum = 1509;BA.debugLine="If dentroDeRango Then";
if (_dentroderango) {
- //BA.debugLineNum = 1488;BA.debugLine="If Tels.IsInitialized Then";
+ //BA.debugLineNum = 1510;BA.debugLine="If Tels.IsInitialized Then";
if (_tels.IsInitialized()) {
- //BA.debugLineNum = 1489;BA.debugLine="Tels.Visible = True";
+ //BA.debugLineNum = 1511;BA.debugLine="Tels.Visible = True";
_tels.setVisible(__c.True);
- //BA.debugLineNum = 1490;BA.debugLine="gest.Visible = True";
+ //BA.debugLineNum = 1512;BA.debugLine="gest.Visible = True";
_gest.setVisible(__c.True);
- //BA.debugLineNum = 1491;BA.debugLine="Tels.Enabled = True";
+ //BA.debugLineNum = 1513;BA.debugLine="Tels.Enabled = True";
_tels.setEnabled(__c.True);
- //BA.debugLineNum = 1492;BA.debugLine="gest.Enabled = True";
+ //BA.debugLineNum = 1514;BA.debugLine="gest.Enabled = True";
_gest.setEnabled(__c.True);
- //BA.debugLineNum = 1493;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 1515;BA.debugLine="Dim future As Cursor = B4XPages.MainPage.skmt.E";
_future = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_future = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"VENTAFUTURA"})));
- //BA.debugLineNum = 1494;BA.debugLine="If future.RowCount > 0 Then";
+ //BA.debugLineNum = 1516;BA.debugLine="If future.RowCount > 0 Then";
if (_future.getRowCount()>0) {
- //BA.debugLineNum = 1495;BA.debugLine="future.Position = 0";
+ //BA.debugLineNum = 1517;BA.debugLine="future.Position = 0";
_future.setPosition((int) (0));
- //BA.debugLineNum = 1496;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
+ //BA.debugLineNum = 1518;BA.debugLine="If future.GetInt(\"CAT_VA_VALOR\") = 1 Then";
if (_future.GetInt("CAT_VA_VALOR")==1) {
- //BA.debugLineNum = 1497;BA.debugLine="b_preventa2.Visible = True";
+ //BA.debugLineNum = 1519;BA.debugLine="b_preventa2.Visible = True";
_b_preventa2.setVisible(__c.True);
- //BA.debugLineNum = 1498;BA.debugLine="b_preventa2.Enabled = True";
+ //BA.debugLineNum = 1520;BA.debugLine="b_preventa2.Enabled = True";
_b_preventa2.setEnabled(__c.True);
}else if(_future.GetInt("CAT_VA_VALOR")==0) {
- //BA.debugLineNum = 1500;BA.debugLine="b_preventa2.Enabled = False";
+ //BA.debugLineNum = 1522;BA.debugLine="b_preventa2.Enabled = False";
_b_preventa2.setEnabled(__c.False);
- //BA.debugLineNum = 1501;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1523;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
};
};
};
}else {
- //BA.debugLineNum = 1507;BA.debugLine="If Tels.IsInitialized Then";
+ //BA.debugLineNum = 1529;BA.debugLine="If Tels.IsInitialized Then";
if (_tels.IsInitialized()) {
- //BA.debugLineNum = 1508;BA.debugLine="b_preventa2.Visible = False";
+ //BA.debugLineNum = 1530;BA.debugLine="b_preventa2.Visible = False";
_b_preventa2.setVisible(__c.False);
- //BA.debugLineNum = 1509;BA.debugLine="Tels.Visible = False";
+ //BA.debugLineNum = 1531;BA.debugLine="Tels.Visible = False";
_tels.setVisible(__c.False);
- //BA.debugLineNum = 1510;BA.debugLine="gest.Visible = False";
+ //BA.debugLineNum = 1532;BA.debugLine="gest.Visible = False";
_gest.setVisible(__c.False);
};
};
- //BA.debugLineNum = 1514;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1536;BA.debugLine="End Sub";
return "";
}
public String _hist_click() throws Exception{
- //BA.debugLineNum = 3081;BA.debugLine="Sub HIST_Click";
- //BA.debugLineNum = 3082;BA.debugLine="B4XPages.ShowPage(\"historicobat\")";
+ //BA.debugLineNum = 3383;BA.debugLine="Sub HIST_Click";
+ //BA.debugLineNum = 3384;BA.debugLine="B4XPages.ShowPage(\"historicobat\")";
_b4xpages._showpage /*String*/ (ba,"historicobat");
- //BA.debugLineNum = 3083;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3385;BA.debugLine="End Sub";
return "";
}
public String _imageview4_click() throws Exception{
- //BA.debugLineNum = 7719;BA.debugLine="Private Sub ImageView4_Click";
- //BA.debugLineNum = 7720;BA.debugLine="InitializeCamera2";
+ //BA.debugLineNum = 8050;BA.debugLine="Private Sub ImageView4_Click";
+ //BA.debugLineNum = 8051;BA.debugLine="InitializeCamera2";
_initializecamera2();
- //BA.debugLineNum = 7721;BA.debugLine="p_camara.Visible = True";
+ //BA.debugLineNum = 8052;BA.debugLine="p_camara.Visible = True";
_p_camara.setVisible(__c.True);
- //BA.debugLineNum = 7722;BA.debugLine="Subs.centraPanel(p_cam,p_camara.Width)";
+ //BA.debugLineNum = 8053;BA.debugLine="Subs.centraPanel(p_cam,p_camara.Width)";
_subs._centrapanel /*String*/ (ba,_p_cam,_p_camara.getWidth());
- //BA.debugLineNum = 7724;BA.debugLine="p_camara.BringToFront";
+ //BA.debugLineNum = 8055;BA.debugLine="p_camara.BringToFront";
_p_camara.BringToFront();
- //BA.debugLineNum = 7725;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8056;BA.debugLine="End Sub";
+return "";
+}
+public String _imageview4_longclick() throws Exception{
+anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar = null;
+byte[] _fotomostrarfinal = null;
+anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _inputstream1 = null;
+anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bitmap1 = null;
+ //BA.debugLineNum = 8392;BA.debugLine="Private Sub ImageView4_LongClick";
+ //BA.debugLineNum = 8393;BA.debugLine="Private fotomostrar As Cursor = Starter.skmt.Exec";
+_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 8394;BA.debugLine="If fotomostrar.RowCount > 0 Then";
+if (_fotomostrar.getRowCount()>0) {
+ //BA.debugLineNum = 8396;BA.debugLine="fotomostrar.Position = 0";
+_fotomostrar.setPosition((int) (0));
+ //BA.debugLineNum = 8397;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostrar";
+_fotomostrarfinal = _fotomostrar.GetBlob("FOTO");
+ //BA.debugLineNum = 8398;BA.debugLine="Dim InputStream1 As InputStream";
+_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
+ //BA.debugLineNum = 8399;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostra";
+_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
+ //BA.debugLineNum = 8400;BA.debugLine="Dim Bitmap1 As Bitmap";
+_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
+ //BA.debugLineNum = 8401;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
+_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
+ //BA.debugLineNum = 8402;BA.debugLine="InputStream1.Close";
+_inputstream1.Close();
+ //BA.debugLineNum = 8403;BA.debugLine="I_fotogrande.Bitmap = Bitmap1";
+_i_fotogrande.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
+ //BA.debugLineNum = 8404;BA.debugLine="Log(\"aqui si hay foto\")";
+__c.LogImpl("429032460","aqui si hay foto",0);
+ }else {
+ //BA.debugLineNum = 8406;BA.debugLine="I_fotogrande.Bitmap = LoadBitmap(File.DirAssets,";
+_i_fotogrande.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"images.png").getObject()));
+ //BA.debugLineNum = 8407;BA.debugLine="Log(\"aqui no hay foto\")";
+__c.LogImpl("429032463","aqui no hay foto",0);
+ };
+ //BA.debugLineNum = 8409;BA.debugLine="P_Imagengrande.Visible = True";
+_p_imagengrande.setVisible(__c.True);
+ //BA.debugLineNum = 8410;BA.debugLine="End Sub";
return "";
}
public void _impresion() throws Exception{
@@ -12373,27 +12966,27 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 4301;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 4632;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 4302;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 4633;BA.debugLine="c.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 4303;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 4634;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
parent._usuario = parent._c.GetString("USUARIO");
- //BA.debugLineNum = 4305;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
+ //BA.debugLineNum = 4636;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 4306;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 4637;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 4307;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 4638;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 4308;BA.debugLine="c.Close";
+ //BA.debugLineNum = 4639;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 4313;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
+ //BA.debugLineNum = 4644;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
- //BA.debugLineNum = 4314;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
+ //BA.debugLineNum = 4645;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
- //BA.debugLineNum = 4315;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 4646;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 4316;BA.debugLine="If Not(Printer1.IsConnected) Then";
+ //BA.debugLineNum = 4647;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;
case 1:
@@ -12408,11 +13001,11 @@ this.state = 21;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 4318;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 4649;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 4319;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 4650;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 4320;BA.debugLine="Do While Not(impresoraConectada)";
+ //BA.debugLineNum = 4651;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;
case 4:
@@ -12427,7 +13020,7 @@ if (true) break;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 4321;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4652;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 63;
return;
@@ -12435,9 +13028,9 @@ case 63:
//C
this.state = 7;
;
- //BA.debugLineNum = 4322;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 4653;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 4323;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
+ //BA.debugLineNum = 4654;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;
case 7:
@@ -12457,7 +13050,7 @@ case 12:
//C
this.state = 13;
;
- //BA.debugLineNum = 4324;BA.debugLine="If cont > 15 Then impresoraConectada = True";
+ //BA.debugLineNum = 4655;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;
case 13:
@@ -12483,7 +13076,7 @@ case 19:
//C
this.state = 38;
;
- //BA.debugLineNum = 4326;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 4657;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
this.state = 64;
return;
@@ -12491,18 +13084,18 @@ case 64:
//C
this.state = 38;
;
- //BA.debugLineNum = 4327;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 4658;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
case 21:
//C
this.state = 22;
- //BA.debugLineNum = 4330;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 4661;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 4331;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 4662;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 4332;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
+ //BA.debugLineNum = 4663;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;
case 22:
@@ -12517,7 +13110,7 @@ if (true) break;
case 24:
//C
this.state = 25;
- //BA.debugLineNum = 4333;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4664;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 65;
return;
@@ -12525,9 +13118,9 @@ case 65:
//C
this.state = 25;
;
- //BA.debugLineNum = 4334;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 4665;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 4335;BA.debugLine="If cont = 2 Then Printer1.Connect";
+ //BA.debugLineNum = 4666;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;
case 25:
@@ -12547,7 +13140,7 @@ case 30:
//C
this.state = 31;
;
- //BA.debugLineNum = 4336;BA.debugLine="If cont > 4 Then impresoraConectada = True";
+ //BA.debugLineNum = 4667;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;
case 31:
@@ -12573,7 +13166,7 @@ case 37:
//C
this.state = 38;
;
- //BA.debugLineNum = 4338;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 4669;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
this.state = 66;
return;
@@ -12581,7 +13174,7 @@ case 66:
//C
this.state = 38;
;
- //BA.debugLineNum = 4339;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 4670;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
@@ -12589,37 +13182,37 @@ case 38:
//C
this.state = 39;
;
- //BA.debugLineNum = 4342;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4673;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4343;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4674;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4344;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4675;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
- //BA.debugLineNum = 4361;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
+ //BA.debugLineNum = 4692;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed);
- //BA.debugLineNum = 4363;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
+ //BA.debugLineNum = 4694;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed);
- //BA.debugLineNum = 4364;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
+ //BA.debugLineNum = 4695;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._stime+_elinefeed);
- //BA.debugLineNum = 4365;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
+ //BA.debugLineNum = 4696;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed);
- //BA.debugLineNum = 4366;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
+ //BA.debugLineNum = 4697;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed);
- //BA.debugLineNum = 4367;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
+ //BA.debugLineNum = 4698;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed);
- //BA.debugLineNum = 4368;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
+ //BA.debugLineNum = 4699;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 4369;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
+ //BA.debugLineNum = 4700;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed);
- //BA.debugLineNum = 4371;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
+ //BA.debugLineNum = 4702;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed);
- //BA.debugLineNum = 4372;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
+ //BA.debugLineNum = 4703;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed);
- //BA.debugLineNum = 4374;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
+ //BA.debugLineNum = 4705;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
parent._printer1._writestring /*String*/ ("-----------PREVENTA-----------"+_elinefeed);
- //BA.debugLineNum = 4377;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA";
+ //BA.debugLineNum = 4708;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU > 0.01 GROUP by PE_PROID",new String[]{"DUR"})));
- //BA.debugLineNum = 4378;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 4709;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 39:
@@ -12632,7 +13225,7 @@ this.state = 41;
case 41:
//C
this.state = 42;
- //BA.debugLineNum = 4379;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 4710;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 42:
@@ -12659,19 +13252,19 @@ if (true) break;
case 44:
//C
this.state = 45;
- //BA.debugLineNum = 4380;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 4711;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 4382;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
+ //BA.debugLineNum = 4713;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 4387;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4718;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 4388;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 4719;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 4389;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 4720;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 4391;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4722;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 4393;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4724;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 45:
@@ -12698,7 +13291,7 @@ if (true) break;
case 47:
//C
this.state = 70;
- //BA.debugLineNum = 4394;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4725;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -12707,13 +13300,13 @@ case 48:
//C
this.state = 68;
;
- //BA.debugLineNum = 4396;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
+ //BA.debugLineNum = 4727;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed);
- //BA.debugLineNum = 4397;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4728;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4398;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4729;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4399;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4730;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
if (true) break;
@@ -12728,13 +13321,13 @@ case 50:
//C
this.state = 51;
;
- //BA.debugLineNum = 4403;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4734;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 4404;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4735;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4406;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA";
+ //BA.debugLineNum = 4737;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, SUM(PE_CA";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, SUM(PE_CANT) AS PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,SUM(PE_CANT) * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_COSTOU = 0.01 GROUP by PE_PROID",new String[]{"DUR"})));
- //BA.debugLineNum = 4408;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 4739;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 51:
@@ -12747,9 +13340,9 @@ this.state = 53;
case 53:
//C
this.state = 54;
- //BA.debugLineNum = 4409;BA.debugLine="Printer1.WriteString(\"--------BONIFICACIONES----";
+ //BA.debugLineNum = 4740;BA.debugLine="Printer1.WriteString(\"--------BONIFICACIONES----";
parent._printer1._writestring /*String*/ ("--------BONIFICACIONES--------"+_elinefeed);
- //BA.debugLineNum = 4410;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 4741;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 54:
@@ -12776,19 +13369,19 @@ if (true) break;
case 56:
//C
this.state = 57;
- //BA.debugLineNum = 4411;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 4742;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 4413;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
+ //BA.debugLineNum = 4744;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 4418;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4749;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 4419;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 4750;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 4420;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 4751;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 4422;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4753;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 4424;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4755;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 57:
@@ -12815,7 +13408,7 @@ if (true) break;
case 59:
//C
this.state = 74;
- //BA.debugLineNum = 4425;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4756;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -12824,13 +13417,13 @@ case 60:
//C
this.state = 72;
;
- //BA.debugLineNum = 4427;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
+ //BA.debugLineNum = 4758;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed);
- //BA.debugLineNum = 4428;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4759;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4429;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4760;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4430;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4761;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
if (true) break;
@@ -12839,7 +13432,7 @@ case 61:
//C
this.state = 62;
;
- //BA.debugLineNum = 4433;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4764;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
if (true) break;
@@ -12847,43 +13440,43 @@ case 62:
//C
this.state = -1;
;
- //BA.debugLineNum = 4435;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4766;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 4467;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
+ //BA.debugLineNum = 4798;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 4468;BA.debugLine="s.Position =0";
+ //BA.debugLineNum = 4799;BA.debugLine="s.Position =0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 4472;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & s.Ge";
+ //BA.debugLineNum = 4803;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & s.Ge";
parent._printer1._writestring /*String*/ ("Total Preventa: $"+parent._s.GetString("TOTAL")+_elinefeed);
- //BA.debugLineNum = 4473;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4804;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 4474;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
+ //BA.debugLineNum = 4805;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")));
- //BA.debugLineNum = 4475;BA.debugLine="C.Position=0";
+ //BA.debugLineNum = 4806;BA.debugLine="C.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 4476;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge";
+ //BA.debugLineNum = 4807;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge";
parent._printer1._writestring /*String*/ ("Total Articulos: "+parent._c.GetString("PC_NOART")+_elinefeed);
- //BA.debugLineNum = 4477;BA.debugLine="c.Close";
+ //BA.debugLineNum = 4808;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 4479;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4810;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4480;BA.debugLine="Printer1.WriteString(\"---------------------------";
+ //BA.debugLineNum = 4811;BA.debugLine="Printer1.WriteString(\"---------------------------";
parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed);
- //BA.debugLineNum = 4481;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)";
+ //BA.debugLineNum = 4812;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)";
parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed);
- //BA.debugLineNum = 4482;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
+ //BA.debugLineNum = 4813;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 4483;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
+ //BA.debugLineNum = 4814;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
parent._printer1._writestring /*String*/ ("----ESTE TICKET NO ES UN -----"+_elinefeed);
- //BA.debugLineNum = 4484;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
+ //BA.debugLineNum = 4815;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
parent._printer1._writestring /*String*/ ("--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed);
- //BA.debugLineNum = 4485;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
+ //BA.debugLineNum = 4816;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
parent._printer1._writestring /*String*/ ("--------INFORMATIVO-----------"+_elinefeed);
- //BA.debugLineNum = 4486;BA.debugLine="Printer1.WriteString(\"---------------------------";
+ //BA.debugLineNum = 4817;BA.debugLine="Printer1.WriteString(\"---------------------------";
parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed);
- //BA.debugLineNum = 4487;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4818;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4489;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4820;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 75;
return;
@@ -12891,11 +13484,11 @@ case 75:
//C
this.state = -1;
;
- //BA.debugLineNum = 4490;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 4821;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 4492;BA.debugLine="ProgressDialogHide";
+ //BA.debugLineNum = 4823;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
- //BA.debugLineNum = 4495;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4826;BA.debugLine="End Sub";
if (true) break;
}
@@ -12935,27 +13528,27 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 4130;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 4461;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 4131;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 4462;BA.debugLine="c.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 4132;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 4463;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
parent._usuario = parent._c.GetString("USUARIO");
- //BA.debugLineNum = 4133;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
+ //BA.debugLineNum = 4464;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 4135;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 4466;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 4136;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 4467;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 4137;BA.debugLine="c.Close";
+ //BA.debugLineNum = 4468;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 4142;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
+ //BA.debugLineNum = 4473;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
- //BA.debugLineNum = 4143;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
+ //BA.debugLineNum = 4474;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
- //BA.debugLineNum = 4144;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 4475;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 4145;BA.debugLine="If Not(Printer1.IsConnected) Then";
+ //BA.debugLineNum = 4476;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;
case 1:
@@ -12970,11 +13563,11 @@ this.state = 21;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 4147;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 4478;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 4148;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 4479;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 4149;BA.debugLine="Do While Not(impresoraConectada)";
+ //BA.debugLineNum = 4480;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;
case 4:
@@ -12989,7 +13582,7 @@ if (true) break;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 4150;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4481;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 75;
return;
@@ -12997,9 +13590,9 @@ case 75:
//C
this.state = 7;
;
- //BA.debugLineNum = 4151;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 4482;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 4152;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
+ //BA.debugLineNum = 4483;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;
case 7:
@@ -13019,7 +13612,7 @@ case 12:
//C
this.state = 13;
;
- //BA.debugLineNum = 4153;BA.debugLine="If cont > 15 Then impresoraConectada = True";
+ //BA.debugLineNum = 4484;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;
case 13:
@@ -13045,7 +13638,7 @@ case 19:
//C
this.state = 38;
;
- //BA.debugLineNum = 4155;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 4486;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
this.state = 76;
return;
@@ -13053,18 +13646,18 @@ case 76:
//C
this.state = 38;
;
- //BA.debugLineNum = 4156;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 4487;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
case 21:
//C
this.state = 22;
- //BA.debugLineNum = 4159;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 4490;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 4160;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 4491;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 4161;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
+ //BA.debugLineNum = 4492;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;
case 22:
@@ -13079,7 +13672,7 @@ if (true) break;
case 24:
//C
this.state = 25;
- //BA.debugLineNum = 4162;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4493;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 77;
return;
@@ -13087,9 +13680,9 @@ case 77:
//C
this.state = 25;
;
- //BA.debugLineNum = 4163;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 4494;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 4164;BA.debugLine="If cont = 2 Then Printer1.Connect";
+ //BA.debugLineNum = 4495;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;
case 25:
@@ -13109,7 +13702,7 @@ case 30:
//C
this.state = 31;
;
- //BA.debugLineNum = 4165;BA.debugLine="If cont > 4 Then impresoraConectada = True";
+ //BA.debugLineNum = 4496;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;
case 31:
@@ -13135,7 +13728,7 @@ case 37:
//C
this.state = 38;
;
- //BA.debugLineNum = 4167;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 4498;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
this.state = 78;
return;
@@ -13143,7 +13736,7 @@ case 78:
//C
this.state = 38;
;
- //BA.debugLineNum = 4168;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 4499;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
@@ -13151,37 +13744,37 @@ case 38:
//C
this.state = 39;
;
- //BA.debugLineNum = 4171;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4502;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4172;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4503;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4173;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4504;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
- //BA.debugLineNum = 4190;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
+ //BA.debugLineNum = 4521;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed);
- //BA.debugLineNum = 4192;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
+ //BA.debugLineNum = 4523;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed);
- //BA.debugLineNum = 4193;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
+ //BA.debugLineNum = 4524;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._stime+_elinefeed);
- //BA.debugLineNum = 4194;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
+ //BA.debugLineNum = 4525;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed);
- //BA.debugLineNum = 4195;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
+ //BA.debugLineNum = 4526;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed);
- //BA.debugLineNum = 4196;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
+ //BA.debugLineNum = 4527;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed);
- //BA.debugLineNum = 4197;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
+ //BA.debugLineNum = 4528;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 4198;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
+ //BA.debugLineNum = 4529;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed);
- //BA.debugLineNum = 4200;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
+ //BA.debugLineNum = 4531;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed);
- //BA.debugLineNum = 4201;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
+ //BA.debugLineNum = 4532;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed);
- //BA.debugLineNum = 4203;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
+ //BA.debugLineNum = 4534;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
parent._printer1._writestring /*String*/ ("-----------PREVENTA-----------"+_elinefeed);
- //BA.debugLineNum = 4205;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
+ //BA.debugLineNum = 4536;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_CEDIS <> ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"DUR"})));
- //BA.debugLineNum = 4206;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 4537;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 39:
@@ -13194,7 +13787,7 @@ this.state = 41;
case 41:
//C
this.state = 42;
- //BA.debugLineNum = 4207;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 4538;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 42:
@@ -13221,9 +13814,9 @@ if (true) break;
case 44:
//C
this.state = 45;
- //BA.debugLineNum = 4208;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 4539;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 4209;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
+ //BA.debugLineNum = 4540;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;
case 45:
@@ -13238,24 +13831,24 @@ this.state = 49;
case 47:
//C
this.state = 54;
- //BA.debugLineNum = 4210;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
+ //BA.debugLineNum = 4541;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
if (true) break;
case 49:
//C
this.state = 50;
- //BA.debugLineNum = 4214;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 4545;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 4215;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4546;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 4216;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 4547;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 4217;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 4548;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 4219;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4550;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 4221;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4552;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 50:
@@ -13282,7 +13875,7 @@ if (true) break;
case 52:
//C
this.state = 82;
- //BA.debugLineNum = 4222;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4553;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -13291,13 +13884,13 @@ case 53:
//C
this.state = 54;
;
- //BA.debugLineNum = 4224;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
+ //BA.debugLineNum = 4555;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed);
- //BA.debugLineNum = 4225;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4556;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4226;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4557;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4227;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4558;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
@@ -13318,13 +13911,13 @@ case 56:
//C
this.state = 57;
;
- //BA.debugLineNum = 4231;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4562;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 4232;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4563;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4233;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
+ //BA.debugLineNum = 4564;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")));
- //BA.debugLineNum = 4234;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 4565;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 57:
@@ -13337,9 +13930,9 @@ this.state = 59;
case 59:
//C
this.state = 60;
- //BA.debugLineNum = 4235;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------";
+ //BA.debugLineNum = 4566;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------";
parent._printer1._writestring /*String*/ ("------------PROMOS------------"+_elinefeed);
- //BA.debugLineNum = 4236;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 4567;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 60:
@@ -13366,9 +13959,9 @@ if (true) break;
case 62:
//C
this.state = 63;
- //BA.debugLineNum = 4237;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 4568;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 4238;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
+ //BA.debugLineNum = 4569;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;
case 63:
@@ -13383,24 +13976,24 @@ this.state = 67;
case 65:
//C
this.state = 72;
- //BA.debugLineNum = 4239;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
+ //BA.debugLineNum = 4570;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
if (true) break;
case 67:
//C
this.state = 68;
- //BA.debugLineNum = 4243;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 4574;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 4244;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4575;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 4245;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 4576;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 4246;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 4577;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 4248;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4579;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 4250;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4581;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 68:
@@ -13427,7 +14020,7 @@ if (true) break;
case 70:
//C
this.state = 86;
- //BA.debugLineNum = 4251;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4582;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -13436,13 +14029,13 @@ case 71:
//C
this.state = 72;
;
- //BA.debugLineNum = 4253;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
+ //BA.debugLineNum = 4584;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed);
- //BA.debugLineNum = 4254;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4585;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4255;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4586;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4256;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4587;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
@@ -13457,7 +14050,7 @@ case 73:
//C
this.state = 74;
;
- //BA.debugLineNum = 4259;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4590;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
if (true) break;
@@ -13465,51 +14058,51 @@ case 74:
//C
this.state = -1;
;
- //BA.debugLineNum = 4261;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4592;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 4263;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
+ //BA.debugLineNum = 4594;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 4264;BA.debugLine="s.Position =0";
+ //BA.debugLineNum = 4595;BA.debugLine="s.Position =0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 4268;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s";
+ //BA.debugLineNum = 4599;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s";
parent._printer1._writestring /*String*/ ("Subtotal Preventa: $"+parent._s.GetString("TOTAL")+_elinefeed);
- //BA.debugLineNum = 4269;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4600;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 4270;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
+ //BA.debugLineNum = 4601;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")));
- //BA.debugLineNum = 4271;BA.debugLine="C.Position=0";
+ //BA.debugLineNum = 4602;BA.debugLine="C.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 4272;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge";
+ //BA.debugLineNum = 4603;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge";
parent._printer1._writestring /*String*/ ("Total Articulos: "+parent._c.GetString("PC_NOART")+_elinefeed);
- //BA.debugLineNum = 4273;BA.debugLine="c.Close";
+ //BA.debugLineNum = 4604;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 4274;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
+ //BA.debugLineNum = 4605;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 4275;BA.debugLine="s.Position =0";
+ //BA.debugLineNum = 4606;BA.debugLine="s.Position =0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 4279;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & 150 & eL";
+ //BA.debugLineNum = 4610;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & 150 & eL";
parent._printer1._writestring /*String*/ ("Descuento: $"+BA.NumberToString(150)+_elinefeed);
- //BA.debugLineNum = 4280;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & (s.G";
+ //BA.debugLineNum = 4611;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & (s.G";
parent._printer1._writestring /*String*/ ("Total Preventa: $"+BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("TOTAL")))-150))+_elinefeed);
- //BA.debugLineNum = 4282;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4613;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4283;BA.debugLine="Printer1.WriteString(\"---------------------------";
+ //BA.debugLineNum = 4614;BA.debugLine="Printer1.WriteString(\"---------------------------";
parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed);
- //BA.debugLineNum = 4284;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)";
+ //BA.debugLineNum = 4615;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)";
parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed);
- //BA.debugLineNum = 4285;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
+ //BA.debugLineNum = 4616;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 4286;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
+ //BA.debugLineNum = 4617;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
parent._printer1._writestring /*String*/ ("----ESTE TICKET NO ES UN -----"+_elinefeed);
- //BA.debugLineNum = 4287;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
+ //BA.debugLineNum = 4618;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
parent._printer1._writestring /*String*/ ("--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed);
- //BA.debugLineNum = 4288;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
+ //BA.debugLineNum = 4619;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
parent._printer1._writestring /*String*/ ("--------INFORMATIVO-----------"+_elinefeed);
- //BA.debugLineNum = 4289;BA.debugLine="Printer1.WriteString(\"---------------------------";
+ //BA.debugLineNum = 4620;BA.debugLine="Printer1.WriteString(\"---------------------------";
parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed);
- //BA.debugLineNum = 4290;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4621;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4292;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4623;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 87;
return;
@@ -13517,11 +14110,11 @@ case 87:
//C
this.state = -1;
;
- //BA.debugLineNum = 4293;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 4624;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 4295;BA.debugLine="ProgressDialogHide";
+ //BA.debugLineNum = 4626;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
- //BA.debugLineNum = 4298;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4629;BA.debugLine="End Sub";
if (true) break;
}
@@ -13570,27 +14163,27 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 3889;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 4220;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 3890;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 4221;BA.debugLine="c.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 3891;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 4222;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
parent._usuario = parent._c.GetString("USUARIO");
- //BA.debugLineNum = 3893;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
+ //BA.debugLineNum = 4224;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 3894;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 4225;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 3895;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 4226;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 3896;BA.debugLine="c.Close";
+ //BA.debugLineNum = 4227;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 3901;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
+ //BA.debugLineNum = 4232;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
- //BA.debugLineNum = 3902;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
+ //BA.debugLineNum = 4233;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
- //BA.debugLineNum = 3903;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 4234;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 3904;BA.debugLine="If Not(Printer1.IsConnected) Then";
+ //BA.debugLineNum = 4235;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;
case 1:
@@ -13605,11 +14198,11 @@ this.state = 21;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 3906;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 4237;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 3907;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 4238;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 3908;BA.debugLine="Do While Not(impresoraConectada)";
+ //BA.debugLineNum = 4239;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;
case 4:
@@ -13624,7 +14217,7 @@ if (true) break;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 3909;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4240;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 99;
return;
@@ -13632,9 +14225,9 @@ case 99:
//C
this.state = 7;
;
- //BA.debugLineNum = 3910;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 4241;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 3911;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
+ //BA.debugLineNum = 4242;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;
case 7:
@@ -13654,7 +14247,7 @@ case 12:
//C
this.state = 13;
;
- //BA.debugLineNum = 3912;BA.debugLine="If cont > 15 Then impresoraConectada = True";
+ //BA.debugLineNum = 4243;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;
case 13:
@@ -13680,7 +14273,7 @@ case 19:
//C
this.state = 38;
;
- //BA.debugLineNum = 3914;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 4245;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
this.state = 100;
return;
@@ -13688,18 +14281,18 @@ case 100:
//C
this.state = 38;
;
- //BA.debugLineNum = 3915;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 4246;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
case 21:
//C
this.state = 22;
- //BA.debugLineNum = 3918;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 4249;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 3919;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 4250;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 3920;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
+ //BA.debugLineNum = 4251;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;
case 22:
@@ -13714,7 +14307,7 @@ if (true) break;
case 24:
//C
this.state = 25;
- //BA.debugLineNum = 3921;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4252;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 101;
return;
@@ -13722,9 +14315,9 @@ case 101:
//C
this.state = 25;
;
- //BA.debugLineNum = 3922;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 4253;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 3923;BA.debugLine="If cont = 2 Then Printer1.Connect";
+ //BA.debugLineNum = 4254;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;
case 25:
@@ -13744,7 +14337,7 @@ case 30:
//C
this.state = 31;
;
- //BA.debugLineNum = 3924;BA.debugLine="If cont > 4 Then impresoraConectada = True";
+ //BA.debugLineNum = 4255;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;
case 31:
@@ -13770,7 +14363,7 @@ case 37:
//C
this.state = 38;
;
- //BA.debugLineNum = 3926;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 4257;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
this.state = 102;
return;
@@ -13778,7 +14371,7 @@ case 102:
//C
this.state = 38;
;
- //BA.debugLineNum = 3927;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 4258;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
@@ -13786,37 +14379,37 @@ case 38:
//C
this.state = 39;
;
- //BA.debugLineNum = 3930;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4261;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3931;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4262;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3932;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4263;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
- //BA.debugLineNum = 3949;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
+ //BA.debugLineNum = 4280;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed);
- //BA.debugLineNum = 3951;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
+ //BA.debugLineNum = 4282;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed);
- //BA.debugLineNum = 3952;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
+ //BA.debugLineNum = 4283;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._stime+_elinefeed);
- //BA.debugLineNum = 3953;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
+ //BA.debugLineNum = 4284;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed);
- //BA.debugLineNum = 3954;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
+ //BA.debugLineNum = 4285;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed);
- //BA.debugLineNum = 3955;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
+ //BA.debugLineNum = 4286;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed);
- //BA.debugLineNum = 3956;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
+ //BA.debugLineNum = 4287;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 3957;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
+ //BA.debugLineNum = 4288;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed);
- //BA.debugLineNum = 3959;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
+ //BA.debugLineNum = 4290;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed);
- //BA.debugLineNum = 3960;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
+ //BA.debugLineNum = 4291;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed);
- //BA.debugLineNum = 3962;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
+ //BA.debugLineNum = 4293;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA--------";
parent._printer1._writestring /*String*/ ("-----------PREVENTA-----------"+_elinefeed);
- //BA.debugLineNum = 3964;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
+ //BA.debugLineNum = 4295;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)})));
- //BA.debugLineNum = 3965;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 4296;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 39:
@@ -13829,7 +14422,7 @@ this.state = 41;
case 41:
//C
this.state = 42;
- //BA.debugLineNum = 3966;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 4297;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 42:
@@ -13856,9 +14449,9 @@ if (true) break;
case 44:
//C
this.state = 45;
- //BA.debugLineNum = 3967;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 4298;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 3968;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
+ //BA.debugLineNum = 4299;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;
case 45:
@@ -13873,14 +14466,14 @@ this.state = 49;
case 47:
//C
this.state = 74;
- //BA.debugLineNum = 3969;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
+ //BA.debugLineNum = 4300;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
if (true) break;
case 49:
//C
this.state = 50;
- //BA.debugLineNum = 3971;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
+ //BA.debugLineNum = 4302;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
if (true) break;
case 50:
@@ -13897,17 +14490,17 @@ this.state = 64;
case 52:
//C
this.state = 53;
- //BA.debugLineNum = 3972;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 4303;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3973;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4304;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3974;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 4305;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 3975;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 4306;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 3977;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4308;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3979;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4310;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 53:
@@ -13934,7 +14527,7 @@ if (true) break;
case 55:
//C
this.state = 106;
- //BA.debugLineNum = 3980;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4311;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -13943,30 +14536,30 @@ case 56:
//C
this.state = 73;
;
- //BA.debugLineNum = 3982;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 4313;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3983;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4314;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3984;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4315;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3985;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4316;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
case 58:
//C
this.state = 59;
- //BA.debugLineNum = 3987;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 4318;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3988;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4319;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3989;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 4320;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 3990;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
+ //BA.debugLineNum = 4321;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano);
- //BA.debugLineNum = 3992;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4323;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3994;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4325;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 59:
@@ -13993,7 +14586,7 @@ if (true) break;
case 61:
//C
this.state = 108;
- //BA.debugLineNum = 3995;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4326;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -14002,43 +14595,43 @@ case 62:
//C
this.state = 73;
;
- //BA.debugLineNum = 3998;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
+ //BA.debugLineNum = 4329;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
- //BA.debugLineNum = 3999;BA.debugLine="descpro.Position = 0";
+ //BA.debugLineNum = 4330;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
- //BA.debugLineNum = 4001;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 4332;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent._s.GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed);
- //BA.debugLineNum = 4003;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
+ //BA.debugLineNum = 4334;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
- //BA.debugLineNum = 4004;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4335;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4005;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4336;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4006;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4337;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
case 64:
//C
this.state = 65;
- //BA.debugLineNum = 4008;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
-parent.__c.LogImpl("717760376",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0);
- //BA.debugLineNum = 4009;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
-parent.__c.LogImpl("717760377",BA.NumberToString(parent._s.GetInt("PE_CANT")),0);
- //BA.debugLineNum = 4010;BA.debugLine="Log(\"aqui\")";
-parent.__c.LogImpl("717760378","aqui",0);
- //BA.debugLineNum = 4011;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
+ //BA.debugLineNum = 4339;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
+parent.__c.LogImpl("417891448",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0);
+ //BA.debugLineNum = 4340;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
+parent.__c.LogImpl("417891449",BA.NumberToString(parent._s.GetInt("PE_CANT")),0);
+ //BA.debugLineNum = 4341;BA.debugLine="Log(\"aqui\")";
+parent.__c.LogImpl("417891450","aqui",0);
+ //BA.debugLineNum = 4342;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_RECCANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 4012;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4343;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 4013;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 4344;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 4014;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
+ //BA.debugLineNum = 4345;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano);
- //BA.debugLineNum = 4016;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4347;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 4018;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4349;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 65:
@@ -14065,7 +14658,7 @@ if (true) break;
case 67:
//C
this.state = 110;
- //BA.debugLineNum = 4019;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4350;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -14074,26 +14667,26 @@ case 68:
//C
this.state = 69;
;
- //BA.debugLineNum = 4023;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
+ //BA.debugLineNum = 4354;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
- //BA.debugLineNum = 4024;BA.debugLine="descpro.Position = 0";
+ //BA.debugLineNum = 4355;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
- //BA.debugLineNum = 4026;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 4357;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_RECCANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(parent._s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
- //BA.debugLineNum = 4027;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
+ //BA.debugLineNum = 4358;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
- //BA.debugLineNum = 4029;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
+ //BA.debugLineNum = 4360;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
_subtot = BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))));
- //BA.debugLineNum = 4030;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4361;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 4031;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 4362;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 4032;BA.debugLine="TAMANO = subTot + TAMANO";
+ //BA.debugLineNum = 4363;BA.debugLine="TAMANO = subTot + TAMANO";
parent._tamano = (int) ((double)(Double.parseDouble(_subtot))+parent._tamano);
- //BA.debugLineNum = 4034;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4365;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 4036;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4367;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 69:
@@ -14120,7 +14713,7 @@ if (true) break;
case 71:
//C
this.state = 112;
- //BA.debugLineNum = 4037;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4368;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -14129,15 +14722,15 @@ case 72:
//C
this.state = 73;
;
- //BA.debugLineNum = 4040;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
+ //BA.debugLineNum = 4371;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
parent._printer1._writestring /*String*/ (BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 4041;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
+ //BA.debugLineNum = 4372;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
parent._printer1._writestring /*String*/ (parent._blanco+BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
- //BA.debugLineNum = 4044;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4375;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4045;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4376;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4046;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4377;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
@@ -14164,13 +14757,13 @@ case 76:
//C
this.state = 77;
;
- //BA.debugLineNum = 4051;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4382;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 4052;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4383;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4053;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
+ //BA.debugLineNum = 4384;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU")));
- //BA.debugLineNum = 4054;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 4385;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 77:
@@ -14183,9 +14776,9 @@ this.state = 79;
case 79:
//C
this.state = 80;
- //BA.debugLineNum = 4055;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------";
+ //BA.debugLineNum = 4386;BA.debugLine="Printer1.WriteString(\"------------PROMOS--------";
parent._printer1._writestring /*String*/ ("------------PROMOS------------"+_elinefeed);
- //BA.debugLineNum = 4056;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 4387;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 80:
@@ -14212,9 +14805,9 @@ if (true) break;
case 82:
//C
this.state = 83;
- //BA.debugLineNum = 4057;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 4388;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 4058;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
+ //BA.debugLineNum = 4389;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;
case 83:
@@ -14229,24 +14822,24 @@ this.state = 87;
case 85:
//C
this.state = 92;
- //BA.debugLineNum = 4059;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
+ //BA.debugLineNum = 4390;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
if (true) break;
case 87:
//C
this.state = 88;
- //BA.debugLineNum = 4063;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 4394;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 4064;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4395;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 4065;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 4396;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 4066;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 4397;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 4068;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4399;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 4070;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4401;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 88:
@@ -14273,7 +14866,7 @@ if (true) break;
case 90:
//C
this.state = 116;
- //BA.debugLineNum = 4071;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 4402;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -14282,13 +14875,13 @@ case 91:
//C
this.state = 92;
;
- //BA.debugLineNum = 4073;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
+ //BA.debugLineNum = 4404;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed);
- //BA.debugLineNum = 4074;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4405;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 4075;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4406;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 4076;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4407;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
@@ -14303,7 +14896,7 @@ case 93:
//C
this.state = 94;
;
- //BA.debugLineNum = 4079;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4410;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
if (true) break;
@@ -14311,32 +14904,32 @@ case 94:
//C
this.state = 95;
;
- //BA.debugLineNum = 4081;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4412;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 4083;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
+ //BA.debugLineNum = 4414;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TOT";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 4084;BA.debugLine="s.Position =0";
+ //BA.debugLineNum = 4415;BA.debugLine="s.Position =0";
parent._s.setPosition((int) (0));
- //BA.debugLineNum = 4088;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s";
+ //BA.debugLineNum = 4419;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & s";
parent._printer1._writestring /*String*/ ("Subtotal Preventa: $"+parent._s.GetString("TOTAL")+_elinefeed);
- //BA.debugLineNum = 4091;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
+ //BA.debugLineNum = 4422;BA.debugLine="c= skmt.ExecQuery(\"select sum(PE_CANT) as PC_NOAR";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )")));
- //BA.debugLineNum = 4092;BA.debugLine="C.Position=0";
+ //BA.debugLineNum = 4423;BA.debugLine="C.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 4093;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge";
+ //BA.debugLineNum = 4424;BA.debugLine="Printer1.WriteString(\"Total Articulos: \" & c.Ge";
parent._printer1._writestring /*String*/ ("Total Articulos: "+parent._c.GetString("PC_NOART")+_elinefeed);
- //BA.debugLineNum = 4094;BA.debugLine="c.Close";
+ //BA.debugLineNum = 4425;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 4095;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(S";
+ //BA.debugLineNum = 4426;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(S";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0")));
- //BA.debugLineNum = 4096;BA.debugLine="s3.Position =0";
+ //BA.debugLineNum = 4427;BA.debugLine="s3.Position =0";
_s3.setPosition((int) (0));
- //BA.debugLineNum = 4097;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCULO";
+ //BA.debugLineNum = 4428;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCULO";
parent._s2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0")));
- //BA.debugLineNum = 4098;BA.debugLine="S2.Position =0";
+ //BA.debugLineNum = 4429;BA.debugLine="S2.Position =0";
parent._s2.setPosition((int) (0));
- //BA.debugLineNum = 4100;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.GetS";
+ //BA.debugLineNum = 4431;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.GetS";
if (true) break;
case 95:
@@ -14349,7 +14942,7 @@ this.state = 97;
case 97:
//C
this.state = 98;
- //BA.debugLineNum = 4102;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo";
+ //BA.debugLineNum = 4433;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo";
parent._printer1._writestring /*String*/ ("Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("TOTAL")))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
if (true) break;
@@ -14357,27 +14950,27 @@ case 98:
//C
this.state = -1;
;
- //BA.debugLineNum = 4109;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb";
+ //BA.debugLineNum = 4440;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb";
parent._printer1._writestring /*String*/ ("Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
- //BA.debugLineNum = 4111;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4442;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4112;BA.debugLine="Printer1.WriteString(\"---------------------------";
+ //BA.debugLineNum = 4443;BA.debugLine="Printer1.WriteString(\"---------------------------";
parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed);
- //BA.debugLineNum = 4113;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)";
+ //BA.debugLineNum = 4444;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)";
parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed);
- //BA.debugLineNum = 4114;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
+ //BA.debugLineNum = 4445;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 4115;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
+ //BA.debugLineNum = 4446;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --";
parent._printer1._writestring /*String*/ ("----ESTE TICKET NO ES UN -----"+_elinefeed);
- //BA.debugLineNum = 4116;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
+ //BA.debugLineNum = 4447;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO";
parent._printer1._writestring /*String*/ ("--COMPROBANTE FISCAL, SOLO ES-"+_elinefeed);
- //BA.debugLineNum = 4117;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
+ //BA.debugLineNum = 4448;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------";
parent._printer1._writestring /*String*/ ("--------INFORMATIVO-----------"+_elinefeed);
- //BA.debugLineNum = 4118;BA.debugLine="Printer1.WriteString(\"---------------------------";
+ //BA.debugLineNum = 4449;BA.debugLine="Printer1.WriteString(\"---------------------------";
parent._printer1._writestring /*String*/ ("------------------------------"+_elinefeed);
- //BA.debugLineNum = 4119;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4450;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 4121;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 4452;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 117;
return;
@@ -14385,11 +14978,11 @@ case 117:
//C
this.state = -1;
;
- //BA.debugLineNum = 4122;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 4453;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 4124;BA.debugLine="ProgressDialogHide";
+ //BA.debugLineNum = 4455;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
- //BA.debugLineNum = 4127;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4458;BA.debugLine="End Sub";
if (true) break;
}
@@ -14415,21 +15008,23 @@ String _subtot = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _coloressaldo = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _contadocredito = null;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _creditocod2 = null;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _creditocod = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _pedifutu = null;
-int step58;
-int limit58;
-int step68;
-int limit68;
-int step81;
-int limit81;
-int step102;
-int limit102;
-int step114;
-int limit114;
-int step131;
-int limit131;
-int step140;
-int limit140;
+int step57;
+int limit57;
+int step67;
+int limit67;
+int step80;
+int limit80;
+int step101;
+int limit101;
+int step113;
+int limit113;
+int step130;
+int limit130;
+int step139;
+int limit139;
@Override
public void resume(BA ba, Object[] result) throws Exception{
@@ -14442,15 +15037,15 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 3235;BA.debugLine="Dim pedinow As Cursor = skmt.ExecQuery(\"select *";
+ //BA.debugLineNum = 3537;BA.debugLine="Dim pedinow As Cursor = skmt.ExecQuery(\"select *";
_pedinow = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pedinow = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '0' ")));
- //BA.debugLineNum = 3236;BA.debugLine="If pedinow.RowCount > 0 Then";
+ //BA.debugLineNum = 3538;BA.debugLine="If pedinow.RowCount > 0 Then";
if (true) break;
case 1:
//if
-this.state = 125;
+this.state = 137;
if (_pedinow.getRowCount()>0) {
this.state = 3;
}if (true) break;
@@ -14458,29 +15053,27 @@ this.state = 3;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 3237;BA.debugLine="Mandapedido";
-parent._mandapedido();
- //BA.debugLineNum = 3239;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 3541;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 3240;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 3542;BA.debugLine="c.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 3241;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 3543;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
parent._usuario = parent._c.GetString("USUARIO");
- //BA.debugLineNum = 3243;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
+ //BA.debugLineNum = 3545;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 3244;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 3546;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 3245;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 3547;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 3246;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3548;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 3251;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
+ //BA.debugLineNum = 3553;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
- //BA.debugLineNum = 3252;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
+ //BA.debugLineNum = 3554;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
- //BA.debugLineNum = 3253;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 3555;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 3254;BA.debugLine="If Not(Printer1.IsConnected) Then";
+ //BA.debugLineNum = 3556;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;
case 4:
@@ -14495,11 +15088,11 @@ this.state = 24;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 3256;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 3558;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 3257;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 3559;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 3258;BA.debugLine="Do While Not(impresoraConectada)";
+ //BA.debugLineNum = 3560;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;
case 7:
@@ -14514,17 +15107,17 @@ if (true) break;
case 9:
//C
this.state = 10;
- //BA.debugLineNum = 3259;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 3561;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
-this.state = 130;
+this.state = 142;
return;
-case 130:
+case 142:
//C
this.state = 10;
;
- //BA.debugLineNum = 3260;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 3562;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 3261;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
+ //BA.debugLineNum = 3563;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;
case 10:
@@ -14544,7 +15137,7 @@ case 15:
//C
this.state = 16;
;
- //BA.debugLineNum = 3262;BA.debugLine="If cont > 15 Then impresoraConectada = True";
+ //BA.debugLineNum = 3564;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;
case 16:
@@ -14570,26 +15163,26 @@ case 22:
//C
this.state = 41;
;
- //BA.debugLineNum = 3264;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 3566;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
-this.state = 131;
+this.state = 143;
return;
-case 131:
+case 143:
//C
this.state = 41;
;
- //BA.debugLineNum = 3265;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 3567;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
case 24:
//C
this.state = 25;
- //BA.debugLineNum = 3268;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 3570;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 3269;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 3571;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 3270;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
+ //BA.debugLineNum = 3572;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;
case 25:
@@ -14604,17 +15197,17 @@ if (true) break;
case 27:
//C
this.state = 28;
- //BA.debugLineNum = 3271;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 3573;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
-this.state = 132;
+this.state = 144;
return;
-case 132:
+case 144:
//C
this.state = 28;
;
- //BA.debugLineNum = 3272;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 3574;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 3273;BA.debugLine="If cont = 2 Then Printer1.Connect";
+ //BA.debugLineNum = 3575;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;
case 28:
@@ -14634,7 +15227,7 @@ case 33:
//C
this.state = 34;
;
- //BA.debugLineNum = 3274;BA.debugLine="If cont > 4 Then impresoraConectada = True";
+ //BA.debugLineNum = 3576;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;
case 34:
@@ -14660,15 +15253,15 @@ case 40:
//C
this.state = 41;
;
- //BA.debugLineNum = 3276;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 3578;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
-this.state = 133;
+this.state = 145;
return;
-case 133:
+case 145:
//C
this.state = 41;
;
- //BA.debugLineNum = 3277;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 3579;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
@@ -14676,47 +15269,47 @@ case 41:
//C
this.state = 42;
;
- //BA.debugLineNum = 3280;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 3582;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3281;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 3583;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3282;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 3584;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
- //BA.debugLineNum = 3298;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client";
+ //BA.debugLineNum = 3600;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client";
parent._printer1._writestring /*String*/ ("Centro de atencion a Clientes Bat"+_elinefeed);
- //BA.debugLineNum = 3299;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &";
+ //BA.debugLineNum = 3601;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &";
parent._printer1._writestring /*String*/ ("Telefono: 800 400 5000"+_elinefeed);
- //BA.debugLineNum = 3300;BA.debugLine="Printer1.WriteString(eLINEFEED)";
+ //BA.debugLineNum = 3602;BA.debugLine="Printer1.WriteString(eLINEFEED)";
parent._printer1._writestring /*String*/ (_elinefeed);
- //BA.debugLineNum = 3301;BA.debugLine="Printer1.WriteString(eLINEFEED)";
+ //BA.debugLineNum = 3603;BA.debugLine="Printer1.WriteString(eLINEFEED)";
parent._printer1._writestring /*String*/ (_elinefeed);
- //BA.debugLineNum = 3304;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA";
+ //BA.debugLineNum = 3606;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA";
parent._printer1._writestring /*String*/ ("DISTRIBUIDORA ROCHA TULA PACHUCA"+_elinefeed);
- //BA.debugLineNum = 3305;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
+ //BA.debugLineNum = 3607;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed);
- //BA.debugLineNum = 3307;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
+ //BA.debugLineNum = 3609;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed);
- //BA.debugLineNum = 3308;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
+ //BA.debugLineNum = 3610;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._stime+_elinefeed);
- //BA.debugLineNum = 3309;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
+ //BA.debugLineNum = 3611;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed);
- //BA.debugLineNum = 3310;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
+ //BA.debugLineNum = 3612;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed);
- //BA.debugLineNum = 3311;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
+ //BA.debugLineNum = 3613;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed);
- //BA.debugLineNum = 3312;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
+ //BA.debugLineNum = 3614;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 3313;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
+ //BA.debugLineNum = 3615;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed);
- //BA.debugLineNum = 3315;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
+ //BA.debugLineNum = 3617;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed);
- //BA.debugLineNum = 3316;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
+ //BA.debugLineNum = 3618;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed);
- //BA.debugLineNum = 3318;BA.debugLine="Printer1.WriteString(\"--------------------PREVENT";
+ //BA.debugLineNum = 3620;BA.debugLine="Printer1.WriteString(\"--------------------PREVENT";
parent._printer1._writestring /*String*/ ("--------------------PREVENTA--------------------"+_elinefeed);
- //BA.debugLineNum = 3320;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
+ //BA.debugLineNum = 3622;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)})));
- //BA.debugLineNum = 3321;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 3623;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 42:
@@ -14729,36 +15322,36 @@ this.state = 44;
case 44:
//C
this.state = 45;
- //BA.debugLineNum = 3322;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 3624;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 45:
//for
this.state = 78;
-step58 = 1;
-limit58 = (int) (parent._s.getRowCount()-1);
+step57 = 1;
+limit57 = (int) (parent._s.getRowCount()-1);
_i = (int) (0) ;
-this.state = 134;
+this.state = 146;
if (true) break;
-case 134:
+case 146:
//C
this.state = 78;
-if ((step58 > 0 && _i <= limit58) || (step58 < 0 && _i >= limit58)) this.state = 47;
+if ((step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57)) this.state = 47;
if (true) break;
-case 135:
+case 147:
//C
-this.state = 134;
-_i = ((int)(0 + _i + step58)) ;
+this.state = 146;
+_i = ((int)(0 + _i + step57)) ;
if (true) break;
case 47:
//C
this.state = 48;
- //BA.debugLineNum = 3323;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 3625;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 3324;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
+ //BA.debugLineNum = 3626;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;
case 48:
@@ -14778,7 +15371,7 @@ this.state = 77;
case 52:
//C
this.state = 53;
- //BA.debugLineNum = 3327;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
+ //BA.debugLineNum = 3629;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
if (true) break;
case 53:
@@ -14795,44 +15388,44 @@ this.state = 67;
case 55:
//C
this.state = 56;
- //BA.debugLineNum = 3328;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 3630;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3329;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 3631;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3330;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 3632;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 3331;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 3633;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 3333;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 3635;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3335;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 3637;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 56:
//for
this.state = 59;
-step68 = 1;
-limit68 = (int) (parent._espacio-1);
+step67 = 1;
+limit67 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 136;
+this.state = 148;
if (true) break;
-case 136:
+case 148:
//C
this.state = 59;
-if ((step68 > 0 && _e <= limit68) || (step68 < 0 && _e >= limit68)) this.state = 58;
+if ((step67 > 0 && _e <= limit67) || (step67 < 0 && _e >= limit67)) this.state = 58;
if (true) break;
-case 137:
+case 149:
//C
-this.state = 136;
-_e = ((int)(0 + _e + step68)) ;
+this.state = 148;
+_e = ((int)(0 + _e + step67)) ;
if (true) break;
case 58:
//C
-this.state = 137;
- //BA.debugLineNum = 3336;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 149;
+ //BA.debugLineNum = 3638;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -14841,57 +15434,57 @@ case 59:
//C
this.state = 76;
;
- //BA.debugLineNum = 3338;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 3640;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3339;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 3641;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3340;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 3642;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3341;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 3643;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
case 61:
//C
this.state = 62;
- //BA.debugLineNum = 3343;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 3645;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3344;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 3646;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3345;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 3647;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 3346;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
+ //BA.debugLineNum = 3648;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano);
- //BA.debugLineNum = 3348;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 3650;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3350;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 3652;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 62:
//for
this.state = 65;
-step81 = 1;
-limit81 = (int) (parent._espacio-1);
+step80 = 1;
+limit80 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 138;
+this.state = 150;
if (true) break;
-case 138:
+case 150:
//C
this.state = 65;
-if ((step81 > 0 && _e <= limit81) || (step81 < 0 && _e >= limit81)) this.state = 64;
+if ((step80 > 0 && _e <= limit80) || (step80 < 0 && _e >= limit80)) this.state = 64;
if (true) break;
-case 139:
+case 151:
//C
-this.state = 138;
-_e = ((int)(0 + _e + step81)) ;
+this.state = 150;
+_e = ((int)(0 + _e + step80)) ;
if (true) break;
case 64:
//C
-this.state = 139;
- //BA.debugLineNum = 3351;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 151;
+ //BA.debugLineNum = 3653;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -14900,74 +15493,74 @@ case 65:
//C
this.state = 76;
;
- //BA.debugLineNum = 3354;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
+ //BA.debugLineNum = 3656;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
- //BA.debugLineNum = 3355;BA.debugLine="descpro.Position = 0";
+ //BA.debugLineNum = 3657;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
- //BA.debugLineNum = 3357;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 3659;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent._s.GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3359;BA.debugLine="Log(s.GetString(\"PE_PRONOMBRE\"))";
-parent.__c.LogImpl("717498237",parent._s.GetString("PE_PRONOMBRE"),0);
- //BA.debugLineNum = 3360;BA.debugLine="Log(descpro.GetDouble(\"CAT_PD_DESCUENTO\"))";
-parent.__c.LogImpl("717498238",BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO")),0);
- //BA.debugLineNum = 3361;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
+ //BA.debugLineNum = 3661;BA.debugLine="Log(s.GetString(\"PE_PRONOMBRE\"))";
+parent.__c.LogImpl("417629309",parent._s.GetString("PE_PRONOMBRE"),0);
+ //BA.debugLineNum = 3662;BA.debugLine="Log(descpro.GetDouble(\"CAT_PD_DESCUENTO\"))";
+parent.__c.LogImpl("417629310",BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO")),0);
+ //BA.debugLineNum = 3663;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3362;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 3664;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3363;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 3665;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3364;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 3666;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
case 67:
//C
this.state = 68;
- //BA.debugLineNum = 3366;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
-parent.__c.LogImpl("717498244",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0);
- //BA.debugLineNum = 3367;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
-parent.__c.LogImpl("717498245",BA.NumberToString(parent._s.GetInt("PE_CANT")),0);
- //BA.debugLineNum = 3368;BA.debugLine="Log(\"aqui\")";
-parent.__c.LogImpl("717498246","aqui",0);
- //BA.debugLineNum = 3369;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
+ //BA.debugLineNum = 3668;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
+parent.__c.LogImpl("417629316",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0);
+ //BA.debugLineNum = 3669;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
+parent.__c.LogImpl("417629317",BA.NumberToString(parent._s.GetInt("PE_CANT")),0);
+ //BA.debugLineNum = 3670;BA.debugLine="Log(\"aqui\")";
+parent.__c.LogImpl("417629318","aqui",0);
+ //BA.debugLineNum = 3671;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_RECCANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3370;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 3672;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3371;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 3673;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 3372;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
+ //BA.debugLineNum = 3674;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano);
- //BA.debugLineNum = 3374;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 3676;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3376;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 3678;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 68:
//for
this.state = 71;
-step102 = 1;
-limit102 = (int) (parent._espacio-1);
+step101 = 1;
+limit101 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 140;
+this.state = 152;
if (true) break;
-case 140:
+case 152:
//C
this.state = 71;
-if ((step102 > 0 && _e <= limit102) || (step102 < 0 && _e >= limit102)) this.state = 70;
+if ((step101 > 0 && _e <= limit101) || (step101 < 0 && _e >= limit101)) this.state = 70;
if (true) break;
-case 141:
+case 153:
//C
-this.state = 140;
-_e = ((int)(0 + _e + step102)) ;
+this.state = 152;
+_e = ((int)(0 + _e + step101)) ;
if (true) break;
case 70:
//C
-this.state = 141;
- //BA.debugLineNum = 3377;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 153;
+ //BA.debugLineNum = 3679;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -14976,53 +15569,53 @@ case 71:
//C
this.state = 72;
;
- //BA.debugLineNum = 3381;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
+ //BA.debugLineNum = 3683;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
- //BA.debugLineNum = 3382;BA.debugLine="descpro.Position = 0";
+ //BA.debugLineNum = 3684;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
- //BA.debugLineNum = 3384;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 3686;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_RECCANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(parent._s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3385;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
+ //BA.debugLineNum = 3687;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3387;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
+ //BA.debugLineNum = 3689;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
_subtot = BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))));
- //BA.debugLineNum = 3388;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 3690;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3389;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 3691;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 3390;BA.debugLine="TAMANO = subTot + TAMANO";
+ //BA.debugLineNum = 3692;BA.debugLine="TAMANO = subTot + TAMANO";
parent._tamano = (int) ((double)(Double.parseDouble(_subtot))+parent._tamano);
- //BA.debugLineNum = 3392;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 3694;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3394;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 3696;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 72:
//for
this.state = 75;
-step114 = 1;
-limit114 = (int) (parent._espacio-1);
+step113 = 1;
+limit113 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 142;
+this.state = 154;
if (true) break;
-case 142:
+case 154:
//C
this.state = 75;
-if ((step114 > 0 && _e <= limit114) || (step114 < 0 && _e >= limit114)) this.state = 74;
+if ((step113 > 0 && _e <= limit113) || (step113 < 0 && _e >= limit113)) this.state = 74;
if (true) break;
-case 143:
+case 155:
//C
-this.state = 142;
-_e = ((int)(0 + _e + step114)) ;
+this.state = 154;
+_e = ((int)(0 + _e + step113)) ;
if (true) break;
case 74:
//C
-this.state = 143;
- //BA.debugLineNum = 3395;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 155;
+ //BA.debugLineNum = 3697;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -15031,15 +15624,15 @@ case 75:
//C
this.state = 76;
;
- //BA.debugLineNum = 3398;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
+ //BA.debugLineNum = 3700;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
parent._printer1._writestring /*String*/ (BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3399;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
+ //BA.debugLineNum = 3701;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
parent._printer1._writestring /*String*/ (parent._blanco+BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3402;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 3704;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3403;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 3705;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3404;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 3706;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
@@ -15051,7 +15644,7 @@ this.state = 77;
case 77:
//C
-this.state = 135;
+this.state = 147;
;
if (true) break;
if (true) break;
@@ -15066,15 +15659,15 @@ case 79:
//C
this.state = 80;
;
- //BA.debugLineNum = 3409;BA.debugLine="s.Close";
+ //BA.debugLineNum = 3711;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 3412;BA.debugLine="totalpromos = 0";
+ //BA.debugLineNum = 3714;BA.debugLine="totalpromos = 0";
parent._totalpromos = 0;
- //BA.debugLineNum = 3413;BA.debugLine="totalpromostotal = 0";
+ //BA.debugLineNum = 3715;BA.debugLine="totalpromostotal = 0";
parent._totalpromostotal = 0;
- //BA.debugLineNum = 3414;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
+ //BA.debugLineNum = 3716;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '0' order by PE_CEDIS, PE_COSTOU")));
- //BA.debugLineNum = 3415;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 3717;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 80:
@@ -15087,36 +15680,36 @@ this.state = 82;
case 82:
//C
this.state = 83;
- //BA.debugLineNum = 3417;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 3719;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 83:
//for
this.state = 109;
-step131 = 1;
-limit131 = (int) (parent._s.getRowCount()-1);
+step130 = 1;
+limit130 = (int) (parent._s.getRowCount()-1);
_i = (int) (0) ;
-this.state = 144;
+this.state = 156;
if (true) break;
-case 144:
+case 156:
//C
this.state = 109;
-if ((step131 > 0 && _i <= limit131) || (step131 < 0 && _i >= limit131)) this.state = 85;
+if ((step130 > 0 && _i <= limit130) || (step130 < 0 && _i >= limit130)) this.state = 85;
if (true) break;
-case 145:
+case 157:
//C
-this.state = 144;
-_i = ((int)(0 + _i + step131)) ;
+this.state = 156;
+_i = ((int)(0 + _i + step130)) ;
if (true) break;
case 85:
//C
this.state = 86;
- //BA.debugLineNum = 3418;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 3720;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 3419;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
+ //BA.debugLineNum = 3721;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;
case 86:
@@ -15136,44 +15729,44 @@ this.state = 108;
case 90:
//C
this.state = 91;
- //BA.debugLineNum = 3424;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 3726;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3425;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 3727;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3426;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 3728;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 3427;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 3729;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 3429;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 3731;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3431;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 3733;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 91:
//for
this.state = 94;
-step140 = 1;
-limit140 = (int) (parent._espacio-1);
+step139 = 1;
+limit139 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 146;
+this.state = 158;
if (true) break;
-case 146:
+case 158:
//C
this.state = 94;
-if ((step140 > 0 && _e <= limit140) || (step140 < 0 && _e >= limit140)) this.state = 93;
+if ((step139 > 0 && _e <= limit139) || (step139 < 0 && _e >= limit139)) this.state = 93;
if (true) break;
-case 147:
+case 159:
//C
-this.state = 146;
-_e = ((int)(0 + _e + step140)) ;
+this.state = 158;
+_e = ((int)(0 + _e + step139)) ;
if (true) break;
case 93:
//C
-this.state = 147;
- //BA.debugLineNum = 3432;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 159;
+ //BA.debugLineNum = 3734;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -15182,14 +15775,14 @@ case 94:
//C
this.state = 95;
;
- //BA.debugLineNum = 3434;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 3736;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed);
- //BA.debugLineNum = 3437;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.";
+ //BA.debugLineNum = 3739;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.";
_coloressaldo = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coloressaldo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR2,0) AS CAT_CL_CLASIFICADOR2 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 3438;BA.debugLine="coloressaldo.Position = 0";
+ //BA.debugLineNum = 3740;BA.debugLine="coloressaldo.Position = 0";
_coloressaldo.setPosition((int) (0));
- //BA.debugLineNum = 3440;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADO";
+ //BA.debugLineNum = 3742;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADO";
if (true) break;
case 95:
@@ -15204,7 +15797,7 @@ this.state = 99;
case 97:
//C
this.state = 100;
- //BA.debugLineNum = 3442;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec";
+ //BA.debugLineNum = 3744;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec";
_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_LISTAPRECIO AS CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"' "))));
if (true) break;
@@ -15212,12 +15805,12 @@ _precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.
case 99:
//C
this.state = 100;
- //BA.debugLineNum = 3444;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec";
+ //BA.debugLineNum = 3746;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.Exec";
_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"' "))));
if (true) break;
;
- //BA.debugLineNum = 3447;BA.debugLine="If precioprom.RowCount > 0 Then";
+ //BA.debugLineNum = 3749;BA.debugLine="If precioprom.RowCount > 0 Then";
case 100:
//if
@@ -15229,13 +15822,13 @@ this.state = 102;
case 102:
//C
this.state = 103;
- //BA.debugLineNum = 3448;BA.debugLine="precioprom.Position = 0";
+ //BA.debugLineNum = 3750;BA.debugLine="precioprom.Position = 0";
_precioprom.setPosition((int) (0));
- //BA.debugLineNum = 3449;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))";
-parent.__c.LogImpl("717498327",_precioprom.GetString("CAT_GP_PRECIO"),0);
- //BA.debugLineNum = 3450;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))";
-parent.__c.LogImpl("717498328",parent._s.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 3451;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_G";
+ //BA.debugLineNum = 3751;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))";
+parent.__c.LogImpl("417629399",_precioprom.GetString("CAT_GP_PRECIO"),0);
+ //BA.debugLineNum = 3752;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))";
+parent.__c.LogImpl("417629400",parent._s.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 3753;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_G";
if (true) break;
case 103:
@@ -15248,7 +15841,7 @@ this.state = 105;
case 105:
//C
this.state = 106;
- //BA.debugLineNum = 3453;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & prec";
+ //BA.debugLineNum = 3755;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & prec";
parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+_precioprom.GetString("CAT_GP_PRECIO")+" Desc.: "+parent.__c.NumberFormat2(((((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))))*100)/(double)(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))),(int) (0.),(int) (2),(int) (2),parent.__c.False)+"%"+_elinefeed+_elinefeed);
if (true) break;
@@ -15262,17 +15855,17 @@ case 107:
//C
this.state = 108;
;
- //BA.debugLineNum = 3457;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 3759;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3458;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 3760;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3459;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 3761;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
case 108:
//C
-this.state = 145;
+this.state = 157;
;
if (true) break;
if (true) break;
@@ -15281,7 +15874,7 @@ case 109:
//C
this.state = 110;
;
- //BA.debugLineNum = 3462;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 3764;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
if (true) break;
@@ -15289,11 +15882,11 @@ case 110:
//C
this.state = 111;
;
- //BA.debugLineNum = 3464;BA.debugLine="s.Close";
+ //BA.debugLineNum = 3766;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 3494;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" &";
+ //BA.debugLineNum = 3796;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" &";
parent._printer1._writestring /*String*/ ("Subtotal Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
- //BA.debugLineNum = 3495;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango";
+ //BA.debugLineNum = 3797;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango";
if (true) break;
case 111:
@@ -15306,7 +15899,7 @@ this.state = 113;
case 113:
//C
this.state = 114;
- //BA.debugLineNum = 3496;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberF";
+ //BA.debugLineNum = 3798;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberF";
parent._printer1._writestring /*String*/ ("Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango3 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
if (true) break;
@@ -15314,14 +15907,14 @@ case 114:
//C
this.state = 115;
;
- //BA.debugLineNum = 3499;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Num";
+ //BA.debugLineNum = 3801;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Num";
parent._printer1._writestring /*String*/ ("Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango2 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
- //BA.debugLineNum = 3500;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 3802;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 3502;BA.debugLine="Private contadocredito As Cursor = Starter.skmt.";
+ //BA.debugLineNum = 3804;BA.debugLine="Private contadocredito As Cursor = Starter.skmt.";
_contadocredito = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_contadocredito = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT BANDERA FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA) "))));
- //BA.debugLineNum = 3503;BA.debugLine="If contadocredito.RowCount > 0 Then";
+ //BA.debugLineNum = 3805;BA.debugLine="If contadocredito.RowCount > 0 Then";
if (true) break;
case 115:
@@ -15334,9 +15927,9 @@ this.state = 117;
case 117:
//C
this.state = 118;
- //BA.debugLineNum = 3504;BA.debugLine="contadocredito.Position = 0";
+ //BA.debugLineNum = 3806;BA.debugLine="contadocredito.Position = 0";
_contadocredito.setPosition((int) (0));
- //BA.debugLineNum = 3505;BA.debugLine="If contadocredito.getstring(\"BANDERA\") = \"1\" Th";
+ //BA.debugLineNum = 3807;BA.debugLine="If contadocredito.getstring(\"BANDERA\") = \"1\" Th";
if (true) break;
case 118:
@@ -15351,14 +15944,14 @@ this.state = 122;
case 120:
//C
this.state = 123;
- //BA.debugLineNum = 3506;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CREDI";
+ //BA.debugLineNum = 3808;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CREDI";
parent._printer1._writestring /*String*/ ("Tipo de entrega: CREDITO"+_elinefeed);
if (true) break;
case 122:
//C
this.state = 123;
- //BA.debugLineNum = 3508;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CONTA";
+ //BA.debugLineNum = 3810;BA.debugLine="Printer1.WriteString(\"Tipo de entrega: CONTA";
parent._printer1._writestring /*String*/ ("Tipo de entrega: CONTADO"+_elinefeed);
if (true) break;
@@ -15372,75 +15965,146 @@ case 124:
//C
this.state = 125;
;
- //BA.debugLineNum = 3512;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 3814;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 3513;BA.debugLine="Printer1.WriteString(\"--------------------------";
+ //BA.debugLineNum = 3815;BA.debugLine="Printer1.WriteString(\"--------------------------";
parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed);
- //BA.debugLineNum = 3514;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED";
+ //BA.debugLineNum = 3816;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED";
parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed);
- //BA.debugLineNum = 3515;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
+ //BA.debugLineNum = 3817;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 3516;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET";
+ //BA.debugLineNum = 3818;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET";
parent._printer1._writestring /*String*/ ("--------------ESTE TICKET NO ES UN--------------"+_elinefeed);
- //BA.debugLineNum = 3517;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISC";
+ //BA.debugLineNum = 3819;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISC";
parent._printer1._writestring /*String*/ ("----------COMPROBANTE FISCAL, SOLO ES-----------"+_elinefeed);
- //BA.debugLineNum = 3518;BA.debugLine="Printer1.WriteString(\"------------------INFORMAT";
+ //BA.debugLineNum = 3820;BA.debugLine="Printer1.WriteString(\"------------------INFORMAT";
parent._printer1._writestring /*String*/ ("------------------INFORMATIVO-------------------"+_elinefeed);
- //BA.debugLineNum = 3519;BA.debugLine="Printer1.WriteString(\"--------------------------";
+ //BA.debugLineNum = 3821;BA.debugLine="Printer1.WriteString(\"--------------------------";
parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed);
- //BA.debugLineNum = 3520;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
-parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 3522;BA.debugLine="Sleep(1000)";
-parent.__c.Sleep(ba,this,(int) (1000));
-this.state = 148;
-return;
-case 148:
+ //BA.debugLineNum = 3822;BA.debugLine="If ALMACEN = 81 Then";
+if (true) break;
+
+case 125:
+//if
+this.state = 136;
+if ((parent._almacen).equals(BA.NumberToString(81))) {
+this.state = 127;
+}if (true) break;
+
+case 127:
//C
-this.state = 125;
+this.state = 128;
+ //BA.debugLineNum = 3824;BA.debugLine="Dim creditocod2 As Cursor = Starter.skmt.ExecQu";
+_creditocod2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_creditocod2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT BANDERA FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 3825;BA.debugLine="If creditocod2.RowCount > 0 Then";
+if (true) break;
+
+case 128:
+//if
+this.state = 135;
+if (_creditocod2.getRowCount()>0) {
+this.state = 130;
+}if (true) break;
+
+case 130:
+//C
+this.state = 131;
+ //BA.debugLineNum = 3826;BA.debugLine="creditocod2.Position = 0";
+_creditocod2.setPosition((int) (0));
+ //BA.debugLineNum = 3827;BA.debugLine="If creditocod2.GetString(\"BANDERA\") = \"1\" Then";
+if (true) break;
+
+case 131:
+//if
+this.state = 134;
+if ((_creditocod2.GetString("BANDERA")).equals("1")) {
+this.state = 133;
+}if (true) break;
+
+case 133:
+//C
+this.state = 134;
+ //BA.debugLineNum = 3828;BA.debugLine="Dim creditocod As Cursor = Starter.skmt.ExecQ";
+_creditocod = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_creditocod = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 3829;BA.debugLine="creditocod.Position = 0";
+_creditocod.setPosition((int) (0));
+ //BA.debugLineNum = 3830;BA.debugLine="Printer1.WriteString(\"------------------CODIG";
+parent._printer1._writestring /*String*/ ("------------------CODIGO: "+_creditocod.GetString("CODIGO")+"------------------"+_elinefeed);
+ //BA.debugLineNum = 3831;BA.debugLine="Printer1.WriteString(\"-----------------------";
+parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed);
+ if (true) break;
+
+case 134:
+//C
+this.state = 135;
;
- //BA.debugLineNum = 3523;BA.debugLine="Printer1.DisConnect";
+ if (true) break;
+
+case 135:
+//C
+this.state = 136;
+;
+ if (true) break;
+
+case 136:
+//C
+this.state = 137;
+;
+ //BA.debugLineNum = 3836;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+parent._printer1._writestring /*String*/ (" "+_elinefeed);
+ //BA.debugLineNum = 3838;BA.debugLine="Sleep(1000)";
+parent.__c.Sleep(ba,this,(int) (1000));
+this.state = 160;
+return;
+case 160:
+//C
+this.state = 137;
+;
+ //BA.debugLineNum = 3839;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 3525;BA.debugLine="ProgressDialogHide";
+ //BA.debugLineNum = 3841;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
if (true) break;
-case 125:
+case 137:
//C
-this.state = 126;
+this.state = 138;
;
- //BA.debugLineNum = 3529;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 3845;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
-this.state = 149;
+this.state = 161;
return;
-case 149:
+case 161:
//C
-this.state = 126;
+this.state = 138;
;
- //BA.debugLineNum = 3530;BA.debugLine="Dim pedifutu As Cursor = skmt.ExecQuery(\"select *";
+ //BA.debugLineNum = 3846;BA.debugLine="Dim pedifutu As Cursor = skmt.ExecQuery(\"select *";
_pedifutu = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pedifutu = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FUTURO = '1' ")));
- //BA.debugLineNum = 3531;BA.debugLine="If pedifutu.RowCount > 0 Then";
+ //BA.debugLineNum = 3847;BA.debugLine="If pedifutu.RowCount > 0 Then";
if (true) break;
-case 126:
+case 138:
//if
-this.state = 129;
+this.state = 141;
if (_pedifutu.getRowCount()>0) {
-this.state = 128;
+this.state = 140;
}if (true) break;
-case 128:
+case 140:
//C
-this.state = 129;
- //BA.debugLineNum = 3532;BA.debugLine="Impresion5";
+this.state = 141;
+ //BA.debugLineNum = 3848;BA.debugLine="Impresion5";
parent._impresion5();
if (true) break;
-case 129:
+case 141:
//C
this.state = -1;
;
- //BA.debugLineNum = 3534;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3850;BA.debugLine="End Sub";
if (true) break;
}
@@ -15463,6 +16127,8 @@ int _e = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _descpro = null;
String _subtot = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _creditocod2 = null;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _creditocod = null;
int step55;
int limit55;
int step66;
@@ -15489,27 +16155,27 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 3614;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 3930;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 3615;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 3931;BA.debugLine="c.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 3616;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 3932;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
parent._usuario = parent._c.GetString("USUARIO");
- //BA.debugLineNum = 3618;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
+ //BA.debugLineNum = 3934;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 3619;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 3935;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 3620;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 3936;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 3621;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3937;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 3626;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
+ //BA.debugLineNum = 3942;BA.debugLine="Public Const eLINEFEED As String = \"\" & Chr(0x0D)";
_elinefeed = ""+BA.ObjectToString(parent.__c.Chr(((int)0x0d)))+BA.ObjectToString(parent.__c.Chr(((int)0x0a)));
- //BA.debugLineNum = 3627;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
+ //BA.debugLineNum = 3943;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ..."));
- //BA.debugLineNum = 3628;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 3944;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 3629;BA.debugLine="If Not(Printer1.IsConnected) Then";
+ //BA.debugLineNum = 3945;BA.debugLine="If Not(Printer1.IsConnected) Then";
if (true) break;
case 1:
@@ -15524,11 +16190,11 @@ this.state = 21;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 3631;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 3947;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 3632;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 3948;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 3633;BA.debugLine="Do While Not(impresoraConectada)";
+ //BA.debugLineNum = 3949;BA.debugLine="Do While Not(impresoraConectada)";
if (true) break;
case 4:
@@ -15543,17 +16209,17 @@ if (true) break;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 3634;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 3950;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
-this.state = 107;
+this.state = 119;
return;
-case 107:
+case 119:
//C
this.state = 7;
;
- //BA.debugLineNum = 3635;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 3951;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 3636;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
+ //BA.debugLineNum = 3952;BA.debugLine="If cont = 7 Then Printer1.Connect 'Tratamos de";
if (true) break;
case 7:
@@ -15573,7 +16239,7 @@ case 12:
//C
this.state = 13;
;
- //BA.debugLineNum = 3637;BA.debugLine="If cont > 15 Then impresoraConectada = True";
+ //BA.debugLineNum = 3953;BA.debugLine="If cont > 15 Then impresoraConectada = True";
if (true) break;
case 13:
@@ -15599,26 +16265,26 @@ case 19:
//C
this.state = 38;
;
- //BA.debugLineNum = 3639;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 3955;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
-this.state = 108;
+this.state = 120;
return;
-case 108:
+case 120:
//C
this.state = 38;
;
- //BA.debugLineNum = 3640;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 3956;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
case 21:
//C
this.state = 22;
- //BA.debugLineNum = 3643;BA.debugLine="Printer1.Connect";
+ //BA.debugLineNum = 3959;BA.debugLine="Printer1.Connect";
parent._printer1._connect /*boolean*/ ();
- //BA.debugLineNum = 3644;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 3960;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 3645;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
+ //BA.debugLineNum = 3961;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1";
if (true) break;
case 22:
@@ -15633,17 +16299,17 @@ if (true) break;
case 24:
//C
this.state = 25;
- //BA.debugLineNum = 3646;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 3962;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
-this.state = 109;
+this.state = 121;
return;
-case 109:
+case 121:
//C
this.state = 25;
;
- //BA.debugLineNum = 3647;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 3963;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 3648;BA.debugLine="If cont = 2 Then Printer1.Connect";
+ //BA.debugLineNum = 3964;BA.debugLine="If cont = 2 Then Printer1.Connect";
if (true) break;
case 25:
@@ -15663,7 +16329,7 @@ case 30:
//C
this.state = 31;
;
- //BA.debugLineNum = 3649;BA.debugLine="If cont > 4 Then impresoraConectada = True";
+ //BA.debugLineNum = 3965;BA.debugLine="If cont > 4 Then impresoraConectada = True";
if (true) break;
case 31:
@@ -15689,15 +16355,15 @@ case 37:
//C
this.state = 38;
;
- //BA.debugLineNum = 3651;BA.debugLine="Sleep(500)";
+ //BA.debugLineNum = 3967;BA.debugLine="Sleep(500)";
parent.__c.Sleep(ba,this,(int) (500));
-this.state = 110;
+this.state = 122;
return;
-case 110:
+case 122:
//C
this.state = 38;
;
- //BA.debugLineNum = 3652;BA.debugLine="impresoraConectada = False";
+ //BA.debugLineNum = 3968;BA.debugLine="impresoraConectada = False";
parent._impresoraconectada = parent.__c.False;
if (true) break;
@@ -15705,47 +16371,47 @@ case 38:
//C
this.state = 39;
;
- //BA.debugLineNum = 3655;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 3971;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3656;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 3972;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3657;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 3973;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
- //BA.debugLineNum = 3673;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client";
+ //BA.debugLineNum = 3989;BA.debugLine="Printer1.WriteString(\"Centro de atencion a Client";
parent._printer1._writestring /*String*/ ("Centro de atencion a Clientes Bat"+_elinefeed);
- //BA.debugLineNum = 3674;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &";
+ //BA.debugLineNum = 3990;BA.debugLine="Printer1.WriteString(\"Telefono: 800 400 5000\" &";
parent._printer1._writestring /*String*/ ("Telefono: 800 400 5000"+_elinefeed);
- //BA.debugLineNum = 3675;BA.debugLine="Printer1.WriteString(eLINEFEED)";
+ //BA.debugLineNum = 3991;BA.debugLine="Printer1.WriteString(eLINEFEED)";
parent._printer1._writestring /*String*/ (_elinefeed);
- //BA.debugLineNum = 3676;BA.debugLine="Printer1.WriteString(eLINEFEED)";
+ //BA.debugLineNum = 3992;BA.debugLine="Printer1.WriteString(eLINEFEED)";
parent._printer1._writestring /*String*/ (_elinefeed);
- //BA.debugLineNum = 3677;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA";
+ //BA.debugLineNum = 3993;BA.debugLine="Printer1.WriteString(\"DISTRIBUIDORA ROCHA TULA PA";
parent._printer1._writestring /*String*/ ("DISTRIBUIDORA ROCHA TULA PACHUCA"+_elinefeed);
- //BA.debugLineNum = 3678;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
+ //BA.debugLineNum = 3994;BA.debugLine="Printer1.WriteString(\"RFC: DRT-110316-9J1\" & eLI";
parent._printer1._writestring /*String*/ ("RFC: DRT-110316-9J1"+_elinefeed);
- //BA.debugLineNum = 3680;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
+ //BA.debugLineNum = 3996;BA.debugLine="Printer1.WriteString(sDate & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._sdate+_elinefeed);
- //BA.debugLineNum = 3681;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
+ //BA.debugLineNum = 3997;BA.debugLine="Printer1.WriteString(sTime & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._stime+_elinefeed);
- //BA.debugLineNum = 3682;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
+ //BA.debugLineNum = 3998;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & eLI";
parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+_elinefeed);
- //BA.debugLineNum = 3683;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
+ //BA.debugLineNum = 3999;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text";
parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+_elinefeed);
- //BA.debugLineNum = 3684;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
+ //BA.debugLineNum = 4000;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta.";
parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+_elinefeed);
- //BA.debugLineNum = 3685;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
+ //BA.debugLineNum = 4001;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &";
parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 3686;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
+ //BA.debugLineNum = 4002;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &";
parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+_elinefeed);
- //BA.debugLineNum = 3688;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
+ //BA.debugLineNum = 4004;BA.debugLine="Printer1.WriteString(\"Entre calle1: \" & l_entre1.";
parent._printer1._writestring /*String*/ ("Entre calle1: "+parent._l_entre1.getText()+_elinefeed);
- //BA.debugLineNum = 3689;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
+ //BA.debugLineNum = 4005;BA.debugLine="Printer1.WriteString(\"Entre Calle2: \" & l_entre2.";
parent._printer1._writestring /*String*/ ("Entre Calle2: "+parent._l_entre2.getText()+_elinefeed);
- //BA.debugLineNum = 3691;BA.debugLine="Printer1.WriteString(\"--------------PEDIDO PREACO";
+ //BA.debugLineNum = 4007;BA.debugLine="Printer1.WriteString(\"--------------PEDIDO PREACO";
parent._printer1._writestring /*String*/ ("--------------PEDIDO PREACORDADO----------------"+_elinefeed);
- //BA.debugLineNum = 3693;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
+ //BA.debugLineNum = 4009;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC, PE_CANT * PE_COSTOU AS PE_COSTO_TOT, PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT, length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC, PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by PE_PROID",new String[]{parent._subs._traealmacen /*String*/ (ba)})));
- //BA.debugLineNum = 3694;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 4010;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 39:
@@ -15758,7 +16424,7 @@ this.state = 41;
case 41:
//C
this.state = 42;
- //BA.debugLineNum = 3695;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 4011;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 42:
@@ -15767,27 +16433,27 @@ this.state = 75;
step55 = 1;
limit55 = (int) (parent._s.getRowCount()-1);
_i = (int) (0) ;
-this.state = 111;
+this.state = 123;
if (true) break;
-case 111:
+case 123:
//C
this.state = 75;
if ((step55 > 0 && _i <= limit55) || (step55 < 0 && _i >= limit55)) this.state = 44;
if (true) break;
-case 112:
+case 124:
//C
-this.state = 111;
+this.state = 123;
_i = ((int)(0 + _i + step55)) ;
if (true) break;
case 44:
//C
this.state = 45;
- //BA.debugLineNum = 3696;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 4012;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 3697;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
+ //BA.debugLineNum = 4013;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;
case 45:
@@ -15802,14 +16468,14 @@ this.state = 49;
case 47:
//C
this.state = 74;
- //BA.debugLineNum = 3698;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
+ //BA.debugLineNum = 4014;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBRE";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
if (true) break;
case 49:
//C
this.state = 50;
- //BA.debugLineNum = 3700;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
+ //BA.debugLineNum = 4016;BA.debugLine="If s.GetInt(\"PE_RECALCULO\") = 0 Then";
if (true) break;
case 50:
@@ -15826,17 +16492,17 @@ this.state = 64;
case 52:
//C
this.state = 53;
- //BA.debugLineNum = 3701;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 4017;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3702;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4018;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3703;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 4019;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 3704;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 4020;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 3706;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4022;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3708;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4024;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 53:
@@ -15845,25 +16511,25 @@ this.state = 56;
step66 = 1;
limit66 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 113;
+this.state = 125;
if (true) break;
-case 113:
+case 125:
//C
this.state = 56;
if ((step66 > 0 && _e <= limit66) || (step66 < 0 && _e >= limit66)) this.state = 55;
if (true) break;
-case 114:
+case 126:
//C
-this.state = 113;
+this.state = 125;
_e = ((int)(0 + _e + step66)) ;
if (true) break;
case 55:
//C
-this.state = 114;
- //BA.debugLineNum = 3709;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 126;
+ //BA.debugLineNum = 4025;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -15872,30 +16538,30 @@ case 56:
//C
this.state = 73;
;
- //BA.debugLineNum = 3711;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 4027;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3712;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4028;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3713;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4029;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3714;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4030;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
case 58:
//C
this.state = 59;
- //BA.debugLineNum = 3716;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 4032;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3717;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4033;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3718;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 4034;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 3719;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
+ //BA.debugLineNum = 4035;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano);
- //BA.debugLineNum = 3721;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4037;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3723;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4039;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 59:
@@ -15904,25 +16570,25 @@ this.state = 62;
step79 = 1;
limit79 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 115;
+this.state = 127;
if (true) break;
-case 115:
+case 127:
//C
this.state = 62;
if ((step79 > 0 && _e <= limit79) || (step79 < 0 && _e >= limit79)) this.state = 61;
if (true) break;
-case 116:
+case 128:
//C
-this.state = 115;
+this.state = 127;
_e = ((int)(0 + _e + step79)) ;
if (true) break;
case 61:
//C
-this.state = 116;
- //BA.debugLineNum = 3724;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 128;
+ //BA.debugLineNum = 4040;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -15931,43 +16597,43 @@ case 62:
//C
this.state = 73;
;
- //BA.debugLineNum = 3727;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
+ //BA.debugLineNum = 4043;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
- //BA.debugLineNum = 3728;BA.debugLine="descpro.Position = 0";
+ //BA.debugLineNum = 4044;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
- //BA.debugLineNum = 3730;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 4046;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent._s.GetString("PE_COSTO_TOTREC")+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3732;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
+ //BA.debugLineNum = 4048;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3733;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4049;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3734;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4050;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3735;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4051;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
case 64:
//C
this.state = 65;
- //BA.debugLineNum = 3737;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
-parent.__c.LogImpl("717629308",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0);
- //BA.debugLineNum = 3738;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
-parent.__c.LogImpl("717629309",BA.NumberToString(parent._s.GetInt("PE_CANT")),0);
- //BA.debugLineNum = 3739;BA.debugLine="Log(\"aqui\")";
-parent.__c.LogImpl("717629310","aqui",0);
- //BA.debugLineNum = 3740;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
+ //BA.debugLineNum = 4053;BA.debugLine="Log(s.GetInt(\"PE_RECCANT\"))";
+parent.__c.LogImpl("417760380",BA.NumberToString(parent._s.GetInt("PE_RECCANT")),0);
+ //BA.debugLineNum = 4054;BA.debugLine="Log(s.GetInt(\"PE_CANT\"))";
+parent.__c.LogImpl("417760381",BA.NumberToString(parent._s.GetInt("PE_CANT")),0);
+ //BA.debugLineNum = 4055;BA.debugLine="Log(\"aqui\")";
+parent.__c.LogImpl("417760382","aqui",0);
+ //BA.debugLineNum = 4056;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_RECCANT\"";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_RECCANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3741;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4057;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3742;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 4058;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 3743;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
+ //BA.debugLineNum = 4059;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOTREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOTREC")+parent._tamano);
- //BA.debugLineNum = 3745;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4061;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3747;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4063;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 65:
@@ -15976,25 +16642,25 @@ this.state = 68;
step98 = 1;
limit98 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 117;
+this.state = 129;
if (true) break;
-case 117:
+case 129:
//C
this.state = 68;
if ((step98 > 0 && _e <= limit98) || (step98 < 0 && _e >= limit98)) this.state = 67;
if (true) break;
-case 118:
+case 130:
//C
-this.state = 117;
+this.state = 129;
_e = ((int)(0 + _e + step98)) ;
if (true) break;
case 67:
//C
-this.state = 118;
- //BA.debugLineNum = 3748;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 130;
+ //BA.debugLineNum = 4064;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -16003,26 +16669,26 @@ case 68:
//C
this.state = 69;
;
- //BA.debugLineNum = 3752;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
+ //BA.debugLineNum = 4068;BA.debugLine="Dim descpro As Cursor = Starter.skmt.ExecQuer";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
- //BA.debugLineNum = 3753;BA.debugLine="descpro.Position = 0";
+ //BA.debugLineNum = 4069;BA.debugLine="descpro.Position = 0";
_descpro.setPosition((int) (0));
- //BA.debugLineNum = 3755;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
+ //BA.debugLineNum = 4071;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_RECCANT")+" X $"+parent._s.GetString("PE_RECALCULO")+" $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(parent._s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3756;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
+ //BA.debugLineNum = 4072;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & s.GETS";
parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+parent._s.GetString("PE_COSTOU")+" Desc.: "+BA.NumberToString(_descpro.GetDouble("CAT_PD_DESCUENTO"))+"%"+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3758;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
+ //BA.debugLineNum = 4074;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE_C";
_subtot = BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))));
- //BA.debugLineNum = 3759;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4075;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3760;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
+ //BA.debugLineNum = 4076;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOREC\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOREC")+parent._tamano);
- //BA.debugLineNum = 3761;BA.debugLine="TAMANO = subTot + TAMANO";
+ //BA.debugLineNum = 4077;BA.debugLine="TAMANO = subTot + TAMANO";
parent._tamano = (int) ((double)(Double.parseDouble(_subtot))+parent._tamano);
- //BA.debugLineNum = 3763;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4079;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3765;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4081;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 69:
@@ -16031,25 +16697,25 @@ this.state = 72;
step110 = 1;
limit110 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 119;
+this.state = 131;
if (true) break;
-case 119:
+case 131:
//C
this.state = 72;
if ((step110 > 0 && _e <= limit110) || (step110 < 0 && _e >= limit110)) this.state = 71;
if (true) break;
-case 120:
+case 132:
//C
-this.state = 119;
+this.state = 131;
_e = ((int)(0 + _e + step110)) ;
if (true) break;
case 71:
//C
-this.state = 120;
- //BA.debugLineNum = 3766;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 132;
+ //BA.debugLineNum = 4082;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -16058,15 +16724,15 @@ case 72:
//C
this.state = 73;
;
- //BA.debugLineNum = 3769;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
+ //BA.debugLineNum = 4085;BA.debugLine="Printer1.WriteString((s.GETSTRING(\"PE_CANT\")-";
parent._printer1._writestring /*String*/ (BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3770;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
+ //BA.debugLineNum = 4086;BA.debugLine="Printer1.WriteString(BLANCO & (s.GETSTRING(\"P";
parent._printer1._writestring /*String*/ (parent._blanco+BA.NumberToString(((double)(Double.parseDouble(parent._s.GetString("PE_CANT")))-(double)(Double.parseDouble(parent._s.GetString("PE_RECCANT")))))+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent.__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),parent.__c.False)+_elinefeed+_elinefeed);
- //BA.debugLineNum = 3773;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4089;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3774;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4090;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3775;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4091;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
@@ -16078,7 +16744,7 @@ this.state = 74;
case 74:
//C
-this.state = 112;
+this.state = 124;
;
if (true) break;
if (true) break;
@@ -16093,11 +16759,11 @@ case 76:
//C
this.state = 77;
;
- //BA.debugLineNum = 3780;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4096;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 3782;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
+ //BA.debugLineNum = 4098;BA.debugLine="s=skmt.ExecQuery(\"select PE_PRONOMBRE, PE_CANT, l";
parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_FUTURO = '1' order by PE_CEDIS, PE_COSTOU")));
- //BA.debugLineNum = 3783;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 4099;BA.debugLine="If S.RowCount>0 Then";
if (true) break;
case 77:
@@ -16110,7 +16776,7 @@ this.state = 79;
case 79:
//C
this.state = 80;
- //BA.debugLineNum = 3785;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 4101;BA.debugLine="For i=0 To S.RowCount -1";
if (true) break;
case 80:
@@ -16119,27 +16785,27 @@ this.state = 101;
step125 = 1;
limit125 = (int) (parent._s.getRowCount()-1);
_i = (int) (0) ;
-this.state = 121;
+this.state = 133;
if (true) break;
-case 121:
+case 133:
//C
this.state = 101;
if ((step125 > 0 && _i <= limit125) || (step125 < 0 && _i >= limit125)) this.state = 82;
if (true) break;
-case 122:
+case 134:
//C
-this.state = 121;
+this.state = 133;
_i = ((int)(0 + _i + step125)) ;
if (true) break;
case 82:
//C
this.state = 83;
- //BA.debugLineNum = 3786;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 4102;BA.debugLine="S.Position=i";
parent._s.setPosition(_i);
- //BA.debugLineNum = 3787;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
+ //BA.debugLineNum = 4103;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_PR";
if (true) break;
case 83:
@@ -16159,17 +16825,17 @@ this.state = 100;
case 87:
//C
this.state = 88;
- //BA.debugLineNum = 3792;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
+ //BA.debugLineNum = 4108;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_CANT\") &";
parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+" "+parent._s.GetString("PE_PRONOMBRE")+_elinefeed);
- //BA.debugLineNum = 3793;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
+ //BA.debugLineNum = 4109;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano);
- //BA.debugLineNum = 3794;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
+ //BA.debugLineNum = 4110;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano);
- //BA.debugLineNum = 3795;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
+ //BA.debugLineNum = 4111;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO";
parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano);
- //BA.debugLineNum = 3797;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 4113;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
parent._espacio = (int) (parent._espacio-parent._tamano);
- //BA.debugLineNum = 3799;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 4115;BA.debugLine="For E=0 To ESPACIO -1";
if (true) break;
case 88:
@@ -16178,25 +16844,25 @@ this.state = 91;
step134 = 1;
limit134 = (int) (parent._espacio-1);
_e = (int) (0) ;
-this.state = 123;
+this.state = 135;
if (true) break;
-case 123:
+case 135:
//C
this.state = 91;
if ((step134 > 0 && _e <= limit134) || (step134 < 0 && _e >= limit134)) this.state = 90;
if (true) break;
-case 124:
+case 136:
//C
-this.state = 123;
+this.state = 135;
_e = ((int)(0 + _e + step134)) ;
if (true) break;
case 90:
//C
-this.state = 124;
- //BA.debugLineNum = 3800;BA.debugLine="BLANCO = \" \" & BLANCO";
+this.state = 136;
+ //BA.debugLineNum = 4116;BA.debugLine="BLANCO = \" \" & BLANCO";
parent._blanco = " "+parent._blanco;
if (true) break;
if (true) break;
@@ -16205,12 +16871,12 @@ case 91:
//C
this.state = 92;
;
- //BA.debugLineNum = 3802;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
+ //BA.debugLineNum = 4118;BA.debugLine="Printer1.WriteString(BLANCO & s.GETSTRING(\"PE_";
parent._printer1._writestring /*String*/ (parent._blanco+parent._s.GetString("PE_CANT")+" X $"+parent._s.GetString("PE_COSTOU")+" $"+parent._s.GetString("PE_COSTO_TOT")+_elinefeed);
- //BA.debugLineNum = 3804;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQu";
+ //BA.debugLineNum = 4120;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQu";
_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+parent.__c.SmartStringFormatter("",(Object)(parent._s.GetString("PE_PRONOMBRE")))+"' "))));
- //BA.debugLineNum = 3805;BA.debugLine="If precioprom.RowCount > 0 Then";
+ //BA.debugLineNum = 4121;BA.debugLine="If precioprom.RowCount > 0 Then";
if (true) break;
case 92:
@@ -16223,13 +16889,13 @@ this.state = 94;
case 94:
//C
this.state = 95;
- //BA.debugLineNum = 3806;BA.debugLine="precioprom.Position = 0";
+ //BA.debugLineNum = 4122;BA.debugLine="precioprom.Position = 0";
_precioprom.setPosition((int) (0));
- //BA.debugLineNum = 3807;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))";
-parent.__c.LogImpl("717629378",_precioprom.GetString("CAT_GP_PRECIO"),0);
- //BA.debugLineNum = 3808;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))";
-parent.__c.LogImpl("717629379",parent._s.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 3809;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP";
+ //BA.debugLineNum = 4123;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))";
+parent.__c.LogImpl("417760450",_precioprom.GetString("CAT_GP_PRECIO"),0);
+ //BA.debugLineNum = 4124;BA.debugLine="Log (s.GETSTRING(\"PE_COSTOU\"))";
+parent.__c.LogImpl("417760451",parent._s.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 4125;BA.debugLine="If NumberFormat2(precioprom.GETSTRING(\"CAT_GP";
if (true) break;
case 95:
@@ -16242,7 +16908,7 @@ this.state = 97;
case 97:
//C
this.state = 98;
- //BA.debugLineNum = 3811;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & preci";
+ //BA.debugLineNum = 4127;BA.debugLine="Printer1.WriteString(BLANCO & \"PL $\" & preci";
parent._printer1._writestring /*String*/ (parent._blanco+"PL $"+_precioprom.GetString("CAT_GP_PRECIO")+" Desc.: "+parent.__c.NumberFormat2(((((double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))-(double)(Double.parseDouble(parent._s.GetString("PE_COSTOU"))))*100)/(double)(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO")))),(int) (0.),(int) (2),(int) (2),parent.__c.False)+"%"+_elinefeed+_elinefeed);
if (true) break;
@@ -16256,17 +16922,17 @@ case 99:
//C
this.state = 100;
;
- //BA.debugLineNum = 3815;BA.debugLine="TAMANO = 0";
+ //BA.debugLineNum = 4131;BA.debugLine="TAMANO = 0";
parent._tamano = (int) (0);
- //BA.debugLineNum = 3816;BA.debugLine="ESPACIO = 21";
+ //BA.debugLineNum = 4132;BA.debugLine="ESPACIO = 21";
parent._espacio = (int) (21);
- //BA.debugLineNum = 3817;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 4133;BA.debugLine="BLANCO = \" \"";
parent._blanco = " ";
if (true) break;
case 100:
//C
-this.state = 122;
+this.state = 134;
;
if (true) break;
if (true) break;
@@ -16275,7 +16941,7 @@ case 101:
//C
this.state = 102;
;
- //BA.debugLineNum = 3820;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4136;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
if (true) break;
@@ -16283,11 +16949,11 @@ case 102:
//C
this.state = 103;
;
- //BA.debugLineNum = 3822;BA.debugLine="s.Close";
+ //BA.debugLineNum = 4138;BA.debugLine="s.Close";
parent._s.Close();
- //BA.debugLineNum = 3853;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & N";
+ //BA.debugLineNum = 4169;BA.debugLine="Printer1.WriteString(\"Subtotal Preventa: $\" & N";
parent._printer1._writestring /*String*/ ("Subtotal Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
- //BA.debugLineNum = 3854;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango4";
+ //BA.debugLineNum = 4170;BA.debugLine="If NumberFormat2(Subs.calculaTotalConPromoXRango4";
if (true) break;
case 103:
@@ -16300,47 +16966,118 @@ this.state = 105;
case 105:
//C
this.state = 106;
- //BA.debugLineNum = 3855;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo";
+ //BA.debugLineNum = 4171;BA.debugLine="Printer1.WriteString(\"Descuento: $\" & NumberFo";
parent._printer1._writestring /*String*/ ("Descuento: $"+parent.__c.NumberFormat2(((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango4 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))-(double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba))))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
if (true) break;
case 106:
//C
-this.state = -1;
+this.state = 107;
;
- //BA.debugLineNum = 3858;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb";
+ //BA.debugLineNum = 4174;BA.debugLine="Printer1.WriteString(\"Total Preventa: $\" & Numb";
parent._printer1._writestring /*String*/ ("Total Preventa: $"+parent.__c.NumberFormat2((double)(Double.parseDouble(parent._subs._calculatotalconpromoxrango1 /*String*/ (ba,parent._subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),parent.__c.False)+_elinefeed);
- //BA.debugLineNum = 3860;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+ //BA.debugLineNum = 4176;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 3861;BA.debugLine="Printer1.WriteString(\"---------------------------";
+ //BA.debugLineNum = 4177;BA.debugLine="Printer1.WriteString(\"---------------------------";
parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed);
- //BA.debugLineNum = 3862;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)";
+ //BA.debugLineNum = 4178;BA.debugLine="Printer1.WriteString(\"ENTREGA EN :\" & eLINEFEED)";
parent._printer1._writestring /*String*/ ("ENTREGA EN :"+_elinefeed);
- //BA.debugLineNum = 3863;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
+ //BA.debugLineNum = 4179;BA.debugLine="Printer1.WriteString(la_Calle.Text & eLINEFEED)";
parent._printer1._writestring /*String*/ (parent._la_calle.getText()+_elinefeed);
- //BA.debugLineNum = 3864;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET N";
+ //BA.debugLineNum = 4180;BA.debugLine="Printer1.WriteString(\"--------------ESTE TICKET N";
parent._printer1._writestring /*String*/ ("--------------ESTE TICKET NO ES UN--------------"+_elinefeed);
- //BA.debugLineNum = 3865;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISCA";
+ //BA.debugLineNum = 4181;BA.debugLine="Printer1.WriteString(\"----------COMPROBANTE FISCA";
parent._printer1._writestring /*String*/ ("----------COMPROBANTE FISCAL, SOLO ES-----------"+_elinefeed);
- //BA.debugLineNum = 3866;BA.debugLine="Printer1.WriteString(\"------------------INFORMATI";
+ //BA.debugLineNum = 4182;BA.debugLine="Printer1.WriteString(\"------------------INFORMATI";
parent._printer1._writestring /*String*/ ("------------------INFORMATIVO-------------------"+_elinefeed);
- //BA.debugLineNum = 3867;BA.debugLine="Printer1.WriteString(\"---------------------------";
+ //BA.debugLineNum = 4183;BA.debugLine="Printer1.WriteString(\"---------------------------";
parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed);
- //BA.debugLineNum = 3868;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
-parent._printer1._writestring /*String*/ (" "+_elinefeed);
- //BA.debugLineNum = 3870;BA.debugLine="Sleep(1000)";
-parent.__c.Sleep(ba,this,(int) (1000));
-this.state = 125;
-return;
-case 125:
+ //BA.debugLineNum = 4185;BA.debugLine="If ALMACEN = 81 Then";
+if (true) break;
+
+case 107:
+//if
+this.state = 118;
+if ((parent._almacen).equals(BA.NumberToString(81))) {
+this.state = 109;
+}if (true) break;
+
+case 109:
+//C
+this.state = 110;
+ //BA.debugLineNum = 4187;BA.debugLine="Dim creditocod2 As Cursor = Starter.skmt.ExecQue";
+_creditocod2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_creditocod2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT BANDERA FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 4188;BA.debugLine="If creditocod2.RowCount > 0 Then";
+if (true) break;
+
+case 110:
+//if
+this.state = 117;
+if (_creditocod2.getRowCount()>0) {
+this.state = 112;
+}if (true) break;
+
+case 112:
+//C
+this.state = 113;
+ //BA.debugLineNum = 4189;BA.debugLine="creditocod2.Position = 0";
+_creditocod2.setPosition((int) (0));
+ //BA.debugLineNum = 4190;BA.debugLine="If creditocod2.GetString(\"BANDERA\") = \"1\" Then";
+if (true) break;
+
+case 113:
+//if
+this.state = 116;
+if ((_creditocod2.GetString("BANDERA")).equals("1")) {
+this.state = 115;
+}if (true) break;
+
+case 115:
+//C
+this.state = 116;
+ //BA.debugLineNum = 4191;BA.debugLine="Dim creditocod As Cursor = Starter.skmt.ExecQu";
+_creditocod = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_creditocod = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGO FROM CODIGOS_CREDITO WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 4192;BA.debugLine="creditocod.Position = 0";
+_creditocod.setPosition((int) (0));
+ //BA.debugLineNum = 4193;BA.debugLine="Printer1.WriteString(\"------------------CODIGO";
+parent._printer1._writestring /*String*/ ("------------------CODIGO: "+_creditocod.GetString("CODIGO")+"------------------"+_elinefeed);
+ //BA.debugLineNum = 4194;BA.debugLine="Printer1.WriteString(\"------------------------";
+parent._printer1._writestring /*String*/ ("------------------------------------------------"+_elinefeed);
+ if (true) break;
+
+case 116:
+//C
+this.state = 117;
+;
+ if (true) break;
+
+case 117:
+//C
+this.state = 118;
+;
+ if (true) break;
+
+case 118:
//C
this.state = -1;
;
- //BA.debugLineNum = 3871;BA.debugLine="Printer1.DisConnect";
+ //BA.debugLineNum = 4198;BA.debugLine="Printer1.WriteString(\" \" & eLINEFEED)";
+parent._printer1._writestring /*String*/ (" "+_elinefeed);
+ //BA.debugLineNum = 4201;BA.debugLine="Sleep(1000)";
+parent.__c.Sleep(ba,this,(int) (1000));
+this.state = 137;
+return;
+case 137:
+//C
+this.state = -1;
+;
+ //BA.debugLineNum = 4202;BA.debugLine="Printer1.DisConnect";
parent._printer1._disconnect /*String*/ ();
- //BA.debugLineNum = 3873;BA.debugLine="ProgressDialogHide";
+ //BA.debugLineNum = 4204;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
- //BA.debugLineNum = 3876;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4207;BA.debugLine="End Sub";
if (true) break;
}
@@ -16349,27 +17086,27 @@ if (true) break;
}
public String _inicializarlocalizacionmejorada() throws Exception{
anywheresoftware.b4j.object.JavaObject _locationmanager = null;
- //BA.debugLineNum = 1516;BA.debugLine="Sub InicializarLocalizacionMejorada";
- //BA.debugLineNum = 1518;BA.debugLine="Dim LocationManager As JavaObject";
+ //BA.debugLineNum = 1538;BA.debugLine="Sub InicializarLocalizacionMejorada";
+ //BA.debugLineNum = 1540;BA.debugLine="Dim LocationManager As JavaObject";
_locationmanager = new anywheresoftware.b4j.object.JavaObject();
- //BA.debugLineNum = 1519;BA.debugLine="LocationManager.InitializeStatic(\"android.locatio";
+ //BA.debugLineNum = 1541;BA.debugLine="LocationManager.InitializeStatic(\"android.locatio";
_locationmanager.InitializeStatic("android.location.LocationManager");
- //BA.debugLineNum = 1521;BA.debugLine="g.Start(0, 0) ' GPS";
+ //BA.debugLineNum = 1543;BA.debugLine="g.Start(0, 0) ' GPS";
_g.Start(ba,(long) (0),(float) (0));
- //BA.debugLineNum = 1523;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1545;BA.debugLine="End Sub";
return "";
}
public String _iniciofin() throws Exception{
- //BA.debugLineNum = 1906;BA.debugLine="Private Sub iniciofin";
- //BA.debugLineNum = 1918;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1928;BA.debugLine="Private Sub iniciofin";
+ //BA.debugLineNum = 1940;BA.debugLine="End Sub";
return "";
}
public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
- //BA.debugLineNum = 483;BA.debugLine="Public Sub Initialize As Object";
- //BA.debugLineNum = 484;BA.debugLine="Return Me";
+ //BA.debugLineNum = 503;BA.debugLine="Public Sub Initialize As Object";
+ //BA.debugLineNum = 504;BA.debugLine="Return Me";
if (true) return this;
- //BA.debugLineNum = 485;BA.debugLine="End Sub";
+ //BA.debugLineNum = 505;BA.debugLine="End Sub";
return null;
}
public void _initializecamera2() throws Exception{
@@ -16395,9 +17132,9 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 7729;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
+ //BA.debugLineNum = 8060;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_";
parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA);
- //BA.debugLineNum = 7730;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
+ //BA.debugLineNum = 8061;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As";
parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null);
this.state = 7;
return;
@@ -16407,7 +17144,7 @@ this.state = 1;
_permission = (String) result[0];
_resultc = (Boolean) result[1];
;
- //BA.debugLineNum = 7731;BA.debugLine="If resultC Then";
+ //BA.debugLineNum = 8062;BA.debugLine="If resultC Then";
if (true) break;
case 1:
@@ -16422,18 +17159,18 @@ this.state = 5;
case 3:
//C
this.state = 6;
- //BA.debugLineNum = 7732;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera";
+ //BA.debugLineNum = 8063;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera";
parent._camex._initialize /*String*/ (ba,parent._p_cam,parent._frontcamera,parent,"Camera1");
- //BA.debugLineNum = 7733;BA.debugLine="frontCamera = camEx.Front";
+ //BA.debugLineNum = 8064;BA.debugLine="frontCamera = camEx.Front";
parent._frontcamera = parent._camex._front /*boolean*/ ;
- //BA.debugLineNum = 7734;BA.debugLine="Log(\"inicializamos Camara\")";
-parent.__c.LogImpl("727394054","inicializamos Camara",0);
+ //BA.debugLineNum = 8065;BA.debugLine="Log(\"inicializamos Camara\")";
+parent.__c.LogImpl("427525126","inicializamos Camara",0);
if (true) break;
case 5:
//C
this.state = 6;
- //BA.debugLineNum = 7736;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True";
+ //BA.debugLineNum = 8067;BA.debugLine="ToastMessageShow(\"No permission Camara!!!\", True";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission Camara!!!"),parent.__c.True);
if (true) break;
@@ -16441,7 +17178,7 @@ case 6:
//C
this.state = -1;
;
- //BA.debugLineNum = 7738;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8069;BA.debugLine="End Sub";
if (true) break;
}
@@ -16460,26 +17197,26 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar1 = null;
byte[] _fotomostrarfinal = null;
anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _inputstream1 = null;
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bitmap1 = null;
- //BA.debugLineNum = 1952;BA.debugLine="Sub JobDone(Job As HttpJob)";
- //BA.debugLineNum = 1953;BA.debugLine="If Job.Success = False Then";
+ //BA.debugLineNum = 1974;BA.debugLine="Sub JobDone(Job As HttpJob)";
+ //BA.debugLineNum = 1975;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
- //BA.debugLineNum = 1955;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars";
-__c.LogImpl("714942211","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);
+ //BA.debugLineNum = 1977;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Subs.pars";
+__c.LogImpl("415007747","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);
}else {
- //BA.debugLineNum = 1958;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
-__c.LogImpl("714942214","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
- //BA.debugLineNum = 1959;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1980;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job";
+__c.LogImpl("415007750","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+ //BA.debugLineNum = 1981;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1960;BA.debugLine="Dim result1 As DBResult = reqManager.HandleJob(";
+ //BA.debugLineNum = 1982;BA.debugLine="Dim result1 As DBResult = reqManager.HandleJob(";
_result1 = _reqmanager._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1961;BA.debugLine="If result1.Tag = \"traeGeoPass\" Then 'query tag";
+ //BA.debugLineNum = 1983;BA.debugLine="If result1.Tag = \"traeGeoPass\" Then 'query tag";
if ((_result1.Tag /*Object*/ ).equals((Object)("traeGeoPass"))) {
- //BA.debugLineNum = 1962;BA.debugLine="Log(\"SIN REGISTROS \" & result1.Rows.Size)";
-__c.LogImpl("714942218","SIN REGISTROS "+BA.NumberToString(_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
- //BA.debugLineNum = 1963;BA.debugLine="If result1.Rows.Size = 0 Then MsgboxAsync(\"Con";
+ //BA.debugLineNum = 1984;BA.debugLine="Log(\"SIN REGISTROS \" & result1.Rows.Size)";
+__c.LogImpl("415007754","SIN REGISTROS "+BA.NumberToString(_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
+ //BA.debugLineNum = 1985;BA.debugLine="If result1.Rows.Size = 0 Then MsgboxAsync(\"Con";
if (_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0) {
__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo."),BA.ObjectToCharSequence("ATENCION"),ba);};
- //BA.debugLineNum = 1964;BA.debugLine="For Each records() As Object In result1.Rows";
+ //BA.debugLineNum = 1986;BA.debugLine="For Each records() As Object In result1.Rows";
{
final anywheresoftware.b4a.BA.IterableList group10 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen10 = group10.getSize()
@@ -16487,7 +17224,7 @@ final int groupLen10 = group10.getSize()
;
for (; index10 < groupLen10;index10++){
_records = (Object[])(group10.Get(index10));
- //BA.debugLineNum = 1965;BA.debugLine="For Each k As String In result1.Columns.Keys";
+ //BA.debugLineNum = 1987;BA.debugLine="For Each k As String In result1.Columns.Keys";
{
final anywheresoftware.b4a.BA.IterableList group11 = _result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
final int groupLen11 = group11.getSize()
@@ -16495,50 +17232,50 @@ final int groupLen11 = group11.getSize()
;
for (; index11 < groupLen11;index11++){
_k = BA.ObjectToString(group11.Get(index11));
- //BA.debugLineNum = 1966;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(k";
-__c.LogImpl("714942222",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
+ //BA.debugLineNum = 1988;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(k";
+__c.LogImpl("415007758",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
- //BA.debugLineNum = 1968;BA.debugLine="Private permiso_geoPass As String = \"KO\"";
+ //BA.debugLineNum = 1990;BA.debugLine="Private permiso_geoPass As String = \"KO\"";
_permiso_geopass = "KO";
- //BA.debugLineNum = 1969;BA.debugLine="Log($\"|${result1.Columns.Get(\"'OK'\")}|\"$)";
-__c.LogImpl("714942225",("|"+__c.SmartStringFormatter("",_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'")))+"|"),0);
- //BA.debugLineNum = 1972;BA.debugLine="permiso_geoPass = result1.Columns.Get(\"'OK'\"";
+ //BA.debugLineNum = 1991;BA.debugLine="Log($\"|${result1.Columns.Get(\"'OK'\")}|\"$)";
+__c.LogImpl("415007761",("|"+__c.SmartStringFormatter("",_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'")))+"|"),0);
+ //BA.debugLineNum = 1994;BA.debugLine="permiso_geoPass = result1.Columns.Get(\"'OK'\"";
_permiso_geopass = BA.ObjectToString(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("'OK'")));
- //BA.debugLineNum = 1974;BA.debugLine="If permiso_geoPass = \"OK\" Then";
+ //BA.debugLineNum = 1996;BA.debugLine="If permiso_geoPass = \"OK\" Then";
if ((_permiso_geopass).equals("OK")) {
- //BA.debugLineNum = 1975;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps";
+ //BA.debugLineNum = 1997;BA.debugLine="m_lat = B4XPages.MainPage.lat_gps";
_m_lat = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ;
- //BA.debugLineNum = 1976;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps";
+ //BA.debugLineNum = 1998;BA.debugLine="m_lon = B4XPages.MainPage.lon_gps";
_m_lon = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ;
- //BA.debugLineNum = 1977;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)";
+ //BA.debugLineNum = 1999;BA.debugLine="GPS_LocationChanged(Starter.ubicacionActual)";
_gps_locationchanged(_starter._ubicacionactual /*anywheresoftware.b4a.gps.LocationWrapper*/ );
- //BA.debugLineNum = 1978;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT";
+ //BA.debugLineNum = 2000;BA.debugLine="skmt.ExecNonQuery($\"update kmt_info3 set CAT";
_skmt.ExecNonQuery(("update kmt_info3 set CAT_CL_LAT = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ))+"', CAT_CL_LONG = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ))+"' where CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"'"));
- //BA.debugLineNum = 1979;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 2001;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1980;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 2002;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1981;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\"";
+ //BA.debugLineNum = 2003;BA.debugLine="cmd.Name = \"delete_geoPass_GUNA\"";
_cmd.Name /*String*/ = "delete_geoPass_GUNA";
- //BA.debugLineNum = 1982;BA.debugLine="cmd.Parameters = Array As Object( Subs.traeA";
+ //BA.debugLineNum = 2004;BA.debugLine="cmd.Parameters = Array As Object( Subs.traeA";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))};
- //BA.debugLineNum = 1983;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPas";
+ //BA.debugLineNum = 2005;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"traeGeoPas";
_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("traeGeoPass"));
}else {
- //BA.debugLineNum = 1985;BA.debugLine="MsgboxAsync(\"Contraseña equivocada, por favo";
+ //BA.debugLineNum = 2007;BA.debugLine="MsgboxAsync(\"Contraseña equivocada, por favo";
__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña equivocada, por favor intente de nuevo."),BA.ObjectToCharSequence("ATENCION"),ba);
};
}
};
};
- //BA.debugLineNum = 1990;BA.debugLine="If result1.Tag = \"codigoAutorizacion\" Then";
+ //BA.debugLineNum = 2012;BA.debugLine="If result1.Tag = \"codigoAutorizacion\" Then";
if ((_result1.Tag /*Object*/ ).equals((Object)("codigoAutorizacion"))) {
- //BA.debugLineNum = 1991;BA.debugLine="If result1.Rows.Size > 0 Then";
+ //BA.debugLineNum = 2013;BA.debugLine="If result1.Rows.Size > 0 Then";
if (_result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()>0) {
- //BA.debugLineNum = 1992;BA.debugLine="Log(\"Si hay codigo de autorizaion\")";
-__c.LogImpl("714942248","Si hay codigo de autorizaion",0);
- //BA.debugLineNum = 1993;BA.debugLine="For Each records() As Object In result1.Rows";
+ //BA.debugLineNum = 2014;BA.debugLine="Log(\"Si hay codigo de autorizaion\")";
+__c.LogImpl("415007784","Si hay codigo de autorizaion",0);
+ //BA.debugLineNum = 2015;BA.debugLine="For Each records() As Object In result1.Rows";
{
final anywheresoftware.b4a.BA.IterableList group35 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen35 = group35.getSize()
@@ -16546,7 +17283,7 @@ final int groupLen35 = group35.getSize()
;
for (; index35 < groupLen35;index35++){
_records = (Object[])(group35.Get(index35));
- //BA.debugLineNum = 1994;BA.debugLine="For Each k As String In result1.Columns.Keys";
+ //BA.debugLineNum = 2016;BA.debugLine="For Each k As String In result1.Columns.Keys";
{
final anywheresoftware.b4a.BA.IterableList group36 = _result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
final int groupLen36 = group36.getSize()
@@ -16554,70 +17291,70 @@ final int groupLen36 = group36.getSize()
;
for (; index36 < groupLen36;index36++){
_k = BA.ObjectToString(group36.Get(index36));
- //BA.debugLineNum = 1995;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(";
-__c.LogImpl("714942251",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
+ //BA.debugLineNum = 2017;BA.debugLine="Log(k & \": \" & records(result1.Columns.Get(";
+__c.LogImpl("415007787",_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0);
}
};
}
};
- //BA.debugLineNum = 1998;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 2020;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1999;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 2021;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 2000;BA.debugLine="cmd.Name = \"delete_codigoAutorizacion\"";
+ //BA.debugLineNum = 2022;BA.debugLine="cmd.Name = \"delete_codigoAutorizacion\"";
_cmd.Name /*String*/ = "delete_codigoAutorizacion";
- //BA.debugLineNum = 2001;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAut";
+ //BA.debugLineNum = 2023;BA.debugLine="cmd.Parameters = Array As Object(et_codigoAut";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_et_codigoautorizacion.getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))};
- //BA.debugLineNum = 2002;BA.debugLine="reqManager.ExecuteCommand(cmd , \"deleteCodigo";
+ //BA.debugLineNum = 2024;BA.debugLine="reqManager.ExecuteCommand(cmd , \"deleteCodigo";
_reqmanager._executecommand /*String*/ (_cmd,(Object)("deleteCodigoAutorizacion"));
- //BA.debugLineNum = 2003;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\"";
+ //BA.debugLineNum = 2025;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\"";
__c.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss");
- //BA.debugLineNum = 2004;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 2026;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 2005;BA.debugLine="cmd.Name = \"update_codigoAutorizacion\"";
+ //BA.debugLineNum = 2027;BA.debugLine="cmd.Name = \"update_codigoAutorizacion\"";
_cmd.Name /*String*/ = "update_codigoAutorizacion";
- //BA.debugLineNum = 2007;BA.debugLine="cmd.Parameters = Array As Object(DateTime.Dat";
+ //BA.debugLineNum = 2029;BA.debugLine="cmd.Parameters = Array As Object(DateTime.Dat";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__c.DateTime.Date(__c.DateTime.getNow())),(Object)(_subs._traeusuariodebd /*String*/ (ba)),(Object)(_et_codigoautorizacion.getText().trim()),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_subs._traealmacen /*String*/ (ba))};
- //BA.debugLineNum = 2008;BA.debugLine="reqManager.ExecuteCommand(cmd , \"updateCodigo";
+ //BA.debugLineNum = 2030;BA.debugLine="reqManager.ExecuteCommand(cmd , \"updateCodigo";
_reqmanager._executecommand /*String*/ (_cmd,(Object)("updateCodigoAutorizacion"));
- //BA.debugLineNum = 2009;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket";
+ //BA.debugLineNum = 2031;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from ticket";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ticket_impreso where idCliente in (select cuenta from cuentaa)");
- //BA.debugLineNum = 2010;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
+ //BA.debugLineNum = 2032;BA.debugLine="p_transparenteTicketImpreso.Visible = False";
_p_transparenteticketimpreso.setVisible(__c.False);
- //BA.debugLineNum = 2011;BA.debugLine="et_codigoAutorizacion.Text = \"\"";
+ //BA.debugLineNum = 2033;BA.debugLine="et_codigoAutorizacion.Text = \"\"";
_et_codigoautorizacion.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 2012;BA.debugLine="teclado.HideKeyboard";
+ //BA.debugLineNum = 2034;BA.debugLine="teclado.HideKeyboard";
_teclado.HideKeyboard(ba);
- //BA.debugLineNum = 2013;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s";
+ //BA.debugLineNum = 2035;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 s";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set CONFIRMADO = 0 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)");
- //BA.debugLineNum = 2014;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE";
+ //BA.debugLineNum = 2036;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update CODIGOS_CRE";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update CODIGOS_CREDITO set BANDERA = 0 WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)");
- //BA.debugLineNum = 2015;BA.debugLine="ToastMessageShow(\"Listo, ya se puede modifica";
+ //BA.debugLineNum = 2037;BA.debugLine="ToastMessageShow(\"Listo, ya se puede modifica";
__c.ToastMessageShow(BA.ObjectToCharSequence("Listo, ya se puede modificar la venta."),__c.True);
}else {
- //BA.debugLineNum = 2017;BA.debugLine="ToastMessageShow(\"El codigo es incorrecto, po";
+ //BA.debugLineNum = 2039;BA.debugLine="ToastMessageShow(\"El codigo es incorrecto, po";
__c.ToastMessageShow(BA.ObjectToCharSequence("El codigo es incorrecto, por favor revise y vuelva a intentar!!"),__c.True);
};
};
- //BA.debugLineNum = 2020;BA.debugLine="If result1.Tag = \"delete_codigoAutorizacion\" Th";
+ //BA.debugLineNum = 2042;BA.debugLine="If result1.Tag = \"delete_codigoAutorizacion\" Th";
if ((_result1.Tag /*Object*/ ).equals((Object)("delete_codigoAutorizacion"))) {
- //BA.debugLineNum = 2021;BA.debugLine="Log(\"Codigo Borrado!!\")";
-__c.LogImpl("714942277","Codigo Borrado!!",0);
+ //BA.debugLineNum = 2043;BA.debugLine="Log(\"Codigo Borrado!!\")";
+__c.LogImpl("415007813","Codigo Borrado!!",0);
};
- //BA.debugLineNum = 2023;BA.debugLine="If result1.Tag = \"updateCodigoAutorizacion\" The";
+ //BA.debugLineNum = 2045;BA.debugLine="If result1.Tag = \"updateCodigoAutorizacion\" The";
if ((_result1.Tag /*Object*/ ).equals((Object)("updateCodigoAutorizacion"))) {
- //BA.debugLineNum = 2024;BA.debugLine="Log(\"Codigo Actualizado\")";
-__c.LogImpl("714942280","Codigo Actualizado",0);
+ //BA.debugLineNum = 2046;BA.debugLine="Log(\"Codigo Actualizado\")";
+__c.LogImpl("415007816","Codigo Actualizado",0);
};
- //BA.debugLineNum = 2026;BA.debugLine="If result1.Tag = \"insertEnvioTicketPDF\" Then";
+ //BA.debugLineNum = 2048;BA.debugLine="If result1.Tag = \"insertEnvioTicketPDF\" Then";
if ((_result1.Tag /*Object*/ ).equals((Object)("insertEnvioTicketPDF"))) {
- //BA.debugLineNum = 2027;BA.debugLine="Log(\"Información de ticket enviada a web!!\")";
-__c.LogImpl("714942283","Información de ticket enviada a web!!",0);
+ //BA.debugLineNum = 2049;BA.debugLine="Log(\"Información de ticket enviada a web!!\")";
+__c.LogImpl("415007819","Información de ticket enviada a web!!",0);
};
};
- //BA.debugLineNum = 2049;BA.debugLine="If result1.Tag = \"kmt_datos_foto\" Then 'query ta";
+ //BA.debugLineNum = 2071;BA.debugLine="If result1.Tag = \"kmt_datos_foto\" Then 'query ta";
if ((_result1.Tag /*Object*/ ).equals((Object)("kmt_datos_foto"))) {
- //BA.debugLineNum = 2050;BA.debugLine="For Each records() As Object In result1.Rows";
+ //BA.debugLineNum = 2072;BA.debugLine="For Each records() As Object In result1.Rows";
{
final anywheresoftware.b4a.BA.IterableList group72 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen72 = group72.getSize()
@@ -16625,70 +17362,70 @@ final int groupLen72 = group72.getSize()
;
for (; index72 < groupLen72;index72++){
_records = (Object[])(group72.Get(index72));
- //BA.debugLineNum = 2051;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(result1.Co";
+ //BA.debugLineNum = 2073;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(result1.Co";
_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]);
}
};
- //BA.debugLineNum = 2053;BA.debugLine="Log(\"si paso\")";
-__c.LogImpl("714942309","si paso",0);
- //BA.debugLineNum = 2054;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
+ //BA.debugLineNum = 2075;BA.debugLine="Log(\"si paso\")";
+__c.LogImpl("415007845","si paso",0);
+ //BA.debugLineNum = 2076;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 SET foto = (?) WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_foto)}));
- //BA.debugLineNum = 2056;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQu";
+ //BA.debugLineNum = 2078;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQu";
_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 2057;BA.debugLine="If fotomostrar.RowCount > 0 Then";
+ //BA.debugLineNum = 2079;BA.debugLine="If fotomostrar.RowCount > 0 Then";
if (_fotomostrar.getRowCount()>0) {
- //BA.debugLineNum = 2058;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.Exec";
+ //BA.debugLineNum = 2080;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.Exec";
_fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT foto FROM kmt_info3 where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) AND foto IS NULL")));
- //BA.debugLineNum = 2059;BA.debugLine="If fotomostrar1.RowCount > 0 Then";
+ //BA.debugLineNum = 2081;BA.debugLine="If fotomostrar1.RowCount > 0 Then";
if (_fotomostrar1.getRowCount()>0) {
- //BA.debugLineNum = 2060;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets";
+ //BA.debugLineNum = 2082;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets";
_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"images.png").getObject()));
- //BA.debugLineNum = 2061;BA.debugLine="Log(\"aqui no hay foto\")";
-__c.LogImpl("714942317","aqui no hay foto",0);
+ //BA.debugLineNum = 2083;BA.debugLine="Log(\"aqui no hay foto\")";
+__c.LogImpl("415007853","aqui no hay foto",0);
}else {
- //BA.debugLineNum = 2063;BA.debugLine="fotomostrar.Position = 0";
+ //BA.debugLineNum = 2085;BA.debugLine="fotomostrar.Position = 0";
_fotomostrar.setPosition((int) (0));
- //BA.debugLineNum = 2064;BA.debugLine="Private fotomostrarfinal() As Byte = fotomost";
+ //BA.debugLineNum = 2086;BA.debugLine="Private fotomostrarfinal() As Byte = fotomost";
_fotomostrarfinal = _fotomostrar.GetBlob("foto");
- //BA.debugLineNum = 2065;BA.debugLine="Dim InputStream1 As InputStream";
+ //BA.debugLineNum = 2087;BA.debugLine="Dim InputStream1 As InputStream";
_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
- //BA.debugLineNum = 2066;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomos";
+ //BA.debugLineNum = 2088;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomos";
_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
- //BA.debugLineNum = 2067;BA.debugLine="Dim Bitmap1 As Bitmap";
+ //BA.debugLineNum = 2089;BA.debugLine="Dim Bitmap1 As Bitmap";
_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
- //BA.debugLineNum = 2068;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
+ //BA.debugLineNum = 2090;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
- //BA.debugLineNum = 2069;BA.debugLine="InputStream1.Close";
+ //BA.debugLineNum = 2091;BA.debugLine="InputStream1.Close";
_inputstream1.Close();
- //BA.debugLineNum = 2070;BA.debugLine="ImageView4.Bitmap = Bitmap1";
+ //BA.debugLineNum = 2092;BA.debugLine="ImageView4.Bitmap = Bitmap1";
_imageview4.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
- //BA.debugLineNum = 2071;BA.debugLine="Log(\"aqui si hay foto\")";
-__c.LogImpl("714942327","aqui si hay foto",0);
+ //BA.debugLineNum = 2093;BA.debugLine="Log(\"aqui si hay foto\")";
+__c.LogImpl("415007863","aqui si hay foto",0);
};
};
};
};
- //BA.debugLineNum = 2076;BA.debugLine="Job.Release";
+ //BA.debugLineNum = 2098;BA.debugLine="Job.Release";
_job._release /*String*/ ();
- //BA.debugLineNum = 2077;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2099;BA.debugLine="End Sub";
return "";
}
public String _l_atiende_longclick() throws Exception{
- //BA.debugLineNum = 7957;BA.debugLine="Private Sub l_atiende_LongClick";
- //BA.debugLineNum = 7958;BA.debugLine="p_atiende.Height = Root.Height";
+ //BA.debugLineNum = 8288;BA.debugLine="Private Sub l_atiende_LongClick";
+ //BA.debugLineNum = 8289;BA.debugLine="p_atiende.Height = Root.Height";
_p_atiende.setHeight(_root.getHeight());
- //BA.debugLineNum = 7959;BA.debugLine="p_atiende.Width = Root.Width";
+ //BA.debugLineNum = 8290;BA.debugLine="p_atiende.Width = Root.Width";
_p_atiende.setWidth(_root.getWidth());
- //BA.debugLineNum = 7960;BA.debugLine="p_atiende.Visible = True";
+ //BA.debugLineNum = 8291;BA.debugLine="p_atiende.Visible = True";
_p_atiende.setVisible(__c.True);
- //BA.debugLineNum = 7961;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8292;BA.debugLine="End Sub";
return "";
}
public String _l_chk_e_click() throws Exception{
- //BA.debugLineNum = 6538;BA.debugLine="Private Sub l_chk_e_Click";
- //BA.debugLineNum = 6540;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6869;BA.debugLine="Private Sub l_chk_e_Click";
+ //BA.debugLineNum = 6871;BA.debugLine="End Sub";
return "";
}
public String _l_limite_click() throws Exception{
@@ -16698,281 +17435,281 @@ String _fechainicio = "";
long _ticksinicio = 0L;
long _tickshoy = 0L;
int _diferenciadias = 0;
- //BA.debugLineNum = 7858;BA.debugLine="Private Sub l_limite_Click";
- //BA.debugLineNum = 7861;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
+ //BA.debugLineNum = 8189;BA.debugLine="Private Sub l_limite_Click";
+ //BA.debugLineNum = 8192;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 7862;BA.debugLine="If pagarepen.RowCount > 0 Then";
+ //BA.debugLineNum = 8193;BA.debugLine="If pagarepen.RowCount > 0 Then";
if (_pagarepen.getRowCount()>0) {
- //BA.debugLineNum = 7863;BA.debugLine="Dim cs As CSBuilder";
+ //BA.debugLineNum = 8194;BA.debugLine="Dim cs As CSBuilder";
_cs = new anywheresoftware.b4a.objects.CSBuilder();
- //BA.debugLineNum = 7864;BA.debugLine="cs.Initialize";
+ //BA.debugLineNum = 8195;BA.debugLine="cs.Initialize";
_cs.Initialize();
- //BA.debugLineNum = 7865;BA.debugLine="p_deuda.Visible = True";
+ //BA.debugLineNum = 8196;BA.debugLine="p_deuda.Visible = True";
_p_deuda.setVisible(__c.True);
- //BA.debugLineNum = 7866;BA.debugLine="p_deuda.Width = Root.Width";
+ //BA.debugLineNum = 8197;BA.debugLine="p_deuda.Width = Root.Width";
_p_deuda.setWidth(_root.getWidth());
- //BA.debugLineNum = 7867;BA.debugLine="p_deuda.Height = Root.Height";
+ //BA.debugLineNum = 8198;BA.debugLine="p_deuda.Height = Root.Height";
_p_deuda.setHeight(_root.getHeight());
- //BA.debugLineNum = 7869;BA.debugLine="pagarepen.Position = 0";
+ //BA.debugLineNum = 8200;BA.debugLine="pagarepen.Position = 0";
_pagarepen.setPosition((int) (0));
- //BA.debugLineNum = 7870;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
+ //BA.debugLineNum = 8201;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 7871;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
+ //BA.debugLineNum = 8202;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
_fechainicio = _pagarepen.GetString("FECHA");
- //BA.debugLineNum = 7873;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
-__c.LogImpl("727983887",_pagarepen.GetString("FECHA"),0);
- //BA.debugLineNum = 7876;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
+ //BA.debugLineNum = 8204;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
+__c.LogImpl("428114959",_pagarepen.GetString("FECHA"),0);
+ //BA.debugLineNum = 8207;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
_ticksinicio = __c.DateTime.DateParse(_fechainicio);
- //BA.debugLineNum = 7877;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
+ //BA.debugLineNum = 8208;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
_tickshoy = __c.DateTime.DateParse(__c.DateTime.Date(__c.DateTime.getNow()));
- //BA.debugLineNum = 7880;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
+ //BA.debugLineNum = 8211;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)__c.DateTime.TicksPerDay);
- //BA.debugLineNum = 7883;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
-__c.LogImpl("727983897",("Días transcurridos: "+__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
- //BA.debugLineNum = 7885;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
+ //BA.debugLineNum = 8214;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
+__c.LogImpl("428114969",("Días transcurridos: "+__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
+ //BA.debugLineNum = 8216;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 7886;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 8217;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 7888;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT";
+ //BA.debugLineNum = 8219;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT";
if (_diferenciadias<=_c.GetInt("CAT_CL_DIASCREDITO")+8) {
- //BA.debugLineNum = 7892;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M";
+ //BA.debugLineNum = 8223;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M";
_l_deuda.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.RGB((int) (48),(int) (109),(int) (0))).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE"))).PopAll().getObject()));
}else if(_diferenciadias>_c.GetInt("CAT_CL_DIASCREDITO")+8) {
- //BA.debugLineNum = 7895;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M";
+ //BA.debugLineNum = 8226;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M";
_l_deuda.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Color(__c.Colors.Red).Size((int) (18)).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE")+__c.CRLF+__c.CRLF)).Pop().Size((int) (14)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Dias de atraso:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.Red).Append(BA.ObjectToCharSequence((_diferenciadias-(_c.GetInt("CAT_CL_DIASCREDITO")+1)))).PopAll().getObject()));
};
}else {
- //BA.debugLineNum = 7898;BA.debugLine="p_deuda.Visible = True";
+ //BA.debugLineNum = 8229;BA.debugLine="p_deuda.Visible = True";
_p_deuda.setVisible(__c.True);
- //BA.debugLineNum = 7900;BA.debugLine="p_deuda.Width = Root.Width";
+ //BA.debugLineNum = 8231;BA.debugLine="p_deuda.Width = Root.Width";
_p_deuda.setWidth(_root.getWidth());
- //BA.debugLineNum = 7901;BA.debugLine="p_deuda.Height = Root.Height";
+ //BA.debugLineNum = 8232;BA.debugLine="p_deuda.Height = Root.Height";
_p_deuda.setHeight(_root.getHeight());
- //BA.debugLineNum = 7903;BA.debugLine="l_deuda.Text = \"No tiene adeudo\"";
+ //BA.debugLineNum = 8234;BA.debugLine="l_deuda.Text = \"No tiene adeudo\"";
_l_deuda.setText(BA.ObjectToCharSequence("No tiene adeudo"));
};
- //BA.debugLineNum = 7906;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8237;BA.debugLine="End Sub";
return "";
}
public String _la_geo_click() throws Exception{
- //BA.debugLineNum = 6751;BA.debugLine="Private Sub LA_GEO_Click";
- //BA.debugLineNum = 6752;BA.debugLine="Log(geoCont)";
-__c.LogImpl("725427969",BA.NumberToString(_geocont),0);
- //BA.debugLineNum = 6753;BA.debugLine="If geoCont = 3 Then";
+ //BA.debugLineNum = 7082;BA.debugLine="Private Sub LA_GEO_Click";
+ //BA.debugLineNum = 7083;BA.debugLine="Log(geoCont)";
+__c.LogImpl("425559041",BA.NumberToString(_geocont),0);
+ //BA.debugLineNum = 7084;BA.debugLine="If geoCont = 3 Then";
if (_geocont==3) {
- //BA.debugLineNum = 6754;BA.debugLine="Subs.centraPanel(p_pideGeoPass, Root.Width)";
+ //BA.debugLineNum = 7085;BA.debugLine="Subs.centraPanel(p_pideGeoPass, Root.Width)";
_subs._centrapanel /*String*/ (ba,_p_pidegeopass,_root.getWidth());
- //BA.debugLineNum = 6755;BA.debugLine="geoCont = 0";
+ //BA.debugLineNum = 7086;BA.debugLine="geoCont = 0";
_geocont = (int) (0);
- //BA.debugLineNum = 6756;BA.debugLine="If distance > 99 Then";
+ //BA.debugLineNum = 7087;BA.debugLine="If distance > 99 Then";
if (_distance>99) {
- //BA.debugLineNum = 6757;BA.debugLine="p_pideGeoPass.BringToFront";
+ //BA.debugLineNum = 7088;BA.debugLine="p_pideGeoPass.BringToFront";
_p_pidegeopass.BringToFront();
- //BA.debugLineNum = 6758;BA.debugLine="et_geopass.RequestFocus";
+ //BA.debugLineNum = 7089;BA.debugLine="et_geopass.RequestFocus";
_et_geopass.RequestFocus();
- //BA.debugLineNum = 6759;BA.debugLine="p_pideGeoPass.Visible = True";
+ //BA.debugLineNum = 7090;BA.debugLine="p_pideGeoPass.Visible = True";
_p_pidegeopass.setVisible(__c.True);
};
};
- //BA.debugLineNum = 6762;BA.debugLine="geoCont = geoCont + 1";
+ //BA.debugLineNum = 7093;BA.debugLine="geoCont = geoCont + 1";
_geocont = (int) (_geocont+1);
- //BA.debugLineNum = 6763;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7094;BA.debugLine="End Sub";
return "";
}
public String _la_geo_longclick() throws Exception{
- //BA.debugLineNum = 1945;BA.debugLine="Private Sub LA_GEO_LongClick";
- //BA.debugLineNum = 1950;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1967;BA.debugLine="Private Sub LA_GEO_LongClick";
+ //BA.debugLineNum = 1972;BA.debugLine="End Sub";
return "";
}
public String _la_gps_click() throws Exception{
- //BA.debugLineNum = 1458;BA.debugLine="Private Sub LA_GPS_Click";
- //BA.debugLineNum = 1460;BA.debugLine="MejorarPrecisionGPS";
+ //BA.debugLineNum = 1480;BA.debugLine="Private Sub LA_GPS_Click";
+ //BA.debugLineNum = 1482;BA.debugLine="MejorarPrecisionGPS";
_mejorarprecisiongps();
- //BA.debugLineNum = 1462;BA.debugLine="ToastMessageShow(\"Mejorando precisión GPS...\", Fa";
+ //BA.debugLineNum = 1484;BA.debugLine="ToastMessageShow(\"Mejorando precisión GPS...\", Fa";
__c.ToastMessageShow(BA.ObjectToCharSequence("Mejorando precisión GPS..."),__c.False);
- //BA.debugLineNum = 1463;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1485;BA.debugLine="End Sub";
return "";
}
public String _label19_click() throws Exception{
String _numerotel = "";
anywheresoftware.b4a.objects.IntentWrapper _intent1 = null;
- //BA.debugLineNum = 7701;BA.debugLine="Private Sub Label19_Click";
- //BA.debugLineNum = 7702;BA.debugLine="Dim numeroTel As String = Label19.Text";
+ //BA.debugLineNum = 8032;BA.debugLine="Private Sub Label19_Click";
+ //BA.debugLineNum = 8033;BA.debugLine="Dim numeroTel As String = Label19.Text";
_numerotel = _label19.getText();
- //BA.debugLineNum = 7704;BA.debugLine="numeroTel = numeroTel.Replace(\" \", \"\").Replace(\"-";
+ //BA.debugLineNum = 8035;BA.debugLine="numeroTel = numeroTel.Replace(\" \", \"\").Replace(\"-";
_numerotel = _numerotel.replace(" ","").replace("-","").replace("(","").replace(")","");
- //BA.debugLineNum = 7706;BA.debugLine="If numeroTel.Length > 0 Then";
+ //BA.debugLineNum = 8037;BA.debugLine="If numeroTel.Length > 0 Then";
if (_numerotel.length()>0) {
- //BA.debugLineNum = 7707;BA.debugLine="Dim Intent1 As Intent";
+ //BA.debugLineNum = 8038;BA.debugLine="Dim Intent1 As Intent";
_intent1 = new anywheresoftware.b4a.objects.IntentWrapper();
- //BA.debugLineNum = 7708;BA.debugLine="Intent1.Initialize(\"android.intent.action.DIAL\",";
+ //BA.debugLineNum = 8039;BA.debugLine="Intent1.Initialize(\"android.intent.action.DIAL\",";
_intent1.Initialize("android.intent.action.DIAL","tel:"+_numerotel);
- //BA.debugLineNum = 7709;BA.debugLine="StartActivity(Intent1)";
+ //BA.debugLineNum = 8040;BA.debugLine="StartActivity(Intent1)";
__c.StartActivity(ba,(Object)(_intent1.getObject()));
}else {
- //BA.debugLineNum = 7711;BA.debugLine="ToastMessageShow(\"Número no válido\", False)";
+ //BA.debugLineNum = 8042;BA.debugLine="ToastMessageShow(\"Número no válido\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Número no válido"),__c.False);
};
- //BA.debugLineNum = 7714;BA.debugLine="Return True";
+ //BA.debugLineNum = 8045;BA.debugLine="Return True";
if (true) return BA.ObjectToString(__c.True);
- //BA.debugLineNum = 7715;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8046;BA.debugLine="End Sub";
return "";
}
public String _label19_longclick() throws Exception{
- //BA.debugLineNum = 8002;BA.debugLine="Private Sub Label19_LongClick";
- //BA.debugLineNum = 8003;BA.debugLine="p_telefono.Height = Root.Height";
+ //BA.debugLineNum = 8333;BA.debugLine="Private Sub Label19_LongClick";
+ //BA.debugLineNum = 8334;BA.debugLine="p_telefono.Height = Root.Height";
_p_telefono.setHeight(_root.getHeight());
- //BA.debugLineNum = 8004;BA.debugLine="p_telefono.Width = Root.Width";
+ //BA.debugLineNum = 8335;BA.debugLine="p_telefono.Width = Root.Width";
_p_telefono.setWidth(_root.getWidth());
- //BA.debugLineNum = 8005;BA.debugLine="p_telefono.Visible = True";
+ //BA.debugLineNum = 8336;BA.debugLine="p_telefono.Visible = True";
_p_telefono.setVisible(__c.True);
- //BA.debugLineNum = 8008;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8339;BA.debugLine="End Sub";
return "";
}
public String _listview1_itemlongclick(int _position,Object _value) throws Exception{
- //BA.debugLineNum = 2079;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
- //BA.debugLineNum = 2081;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2101;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
+ //BA.debugLineNum = 2103;BA.debugLine="End Sub";
return "";
}
public String _mandapedido() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null;
int _i = 0;
gunav2.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null;
- //BA.debugLineNum = 3536;BA.debugLine="Sub Mandapedido";
- //BA.debugLineNum = 3538;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_CE";
+ //BA.debugLineNum = 3852;BA.debugLine="Sub Mandapedido";
+ //BA.debugLineNum = 3854;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_CE";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"})));
- //BA.debugLineNum = 3539;BA.debugLine="Dim d As Cursor=B4XPages.MainPage.skmt.ExecQuery(";
+ //BA.debugLineNum = 3855;BA.debugLine="Dim d As Cursor=B4XPages.MainPage.skmt.ExecQuery(";
_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO")));
- //BA.debugLineNum = 3540;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 3856;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 3541;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 3857;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step4 = 1;
final int limit4 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit4 ;_i = _i + step4 ) {
- //BA.debugLineNum = 3542;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 3858;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 3543;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 3859;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 3544;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3860;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3545;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 3861;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 3546;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"P";
+ //BA.debugLineNum = 3862;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"P";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 3547;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+ //BA.debugLineNum = 3863;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
}
};
};
- //BA.debugLineNum = 3550;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3866;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3551;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 3867;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3554;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3870;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3558;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select * from";
+ //BA.debugLineNum = 3874;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select * from";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CODIGOS_CREDITO where BANDERA = 1")));
- //BA.debugLineNum = 3559;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 3875;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 3560;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 3876;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step18 = 1;
final int limit18 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit18 ;_i = _i + step18 ) {
- //BA.debugLineNum = 3561;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 3877;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 3562;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 3878;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 3563;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3879;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3564;BA.debugLine="cmd.Name = \"update_ventacredito_guna\"";
+ //BA.debugLineNum = 3880;BA.debugLine="cmd.Name = \"update_ventacredito_guna\"";
_cmd.Name /*String*/ = "update_ventacredito_guna";
- //BA.debugLineNum = 3565;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"B";
+ //BA.debugLineNum = 3881;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"B";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("BANDERA")),(Object)(_c.GetString("CLIENTE")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CLIENTE")))};
- //BA.debugLineNum = 3566;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+ //BA.debugLineNum = 3882;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("up_coordenadas"));
}
};
};
- //BA.debugLineNum = 3569;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3885;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3572;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_RE";
+ //BA.debugLineNum = 3888;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_RE";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL",new String[]{"","null"})));
- //BA.debugLineNum = 3573;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUNT";
+ //BA.debugLineNum = 3889;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUNT";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"'"))));
- //BA.debugLineNum = 3574;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 3890;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 3575;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 3891;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step31 = 1;
final int limit31 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit31 ;_i = _i + step31 ) {
- //BA.debugLineNum = 3576;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 3892;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 3577;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then";
+ //BA.debugLineNum = 3893;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then";
if ((_c.GetString("PE_RECCEDIS")).equals("")) {
- //BA.debugLineNum = 3578;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 3894;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 3579;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3895;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3580;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 3896;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 3581;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+ //BA.debugLineNum = 3897;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 3582;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 3898;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
}else {
- //BA.debugLineNum = 3584;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"PE";
+ //BA.debugLineNum = 3900;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"PE";
if ((_c.GetString("PE_RECCANT")).equals(_c.GetString("PE_CANT"))) {
- //BA.debugLineNum = 3585;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 3901;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 3586;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3902;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3587;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 3903;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 3588;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
+ //BA.debugLineNum = 3904;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_RECCEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 3589;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
+ //BA.debugLineNum = 3905;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
}else {
- //BA.debugLineNum = 3592;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 3908;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 3593;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3909;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3594;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 3910;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 3595;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
+ //BA.debugLineNum = 3911;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_RECCEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_RECCANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 3596;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
+ //BA.debugLineNum = 3912;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
- //BA.debugLineNum = 3598;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 3914;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 3599;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3915;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3600;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 3916;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 3601;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
+ //BA.debugLineNum = 3917;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(_c.GetString("PE_CANT")))-(double)(Double.parseDouble(_c.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU"))),(int) (1),(int) (2),(int) (2),__c.False)),(Object)(_c.GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(_c.GetString("PE_CANT")))-(double)(Double.parseDouble(_c.GetString("PE_RECCANT"))))),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 3602;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
+ //BA.debugLineNum = 3918;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
};
};
}
};
};
- //BA.debugLineNum = 3607;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3923;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3608;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 3924;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3610;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3926;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3611;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3927;BA.debugLine="End Sub";
return "";
}
public void _mandawamsgcredito(String _numtel,String _monto) throws Exception{
@@ -17005,33 +17742,33 @@ return;
case 0:
//C
this.state = -1;
- //BA.debugLineNum = 7566;BA.debugLine="DateTime.DateFormat=\"MM/dd/yyyy HH:mm:ss\"";
+ //BA.debugLineNum = 7897;BA.debugLine="DateTime.DateFormat=\"MM/dd/yyyy HH:mm:ss\"";
parent.__c.DateTime.setDateFormat("MM/dd/yyyy HH:mm:ss");
- //BA.debugLineNum = 7567;BA.debugLine="Private Fecha As String=DateTime.Date(DateTime.no";
+ //BA.debugLineNum = 7898;BA.debugLine="Private Fecha As String=DateTime.Date(DateTime.no";
_fecha = parent.__c.DateTime.Date(parent.__c.DateTime.getNow());
- //BA.debugLineNum = 7568;BA.debugLine="numTel = \"521\" & numTel";
+ //BA.debugLineNum = 7899;BA.debugLine="numTel = \"521\" & numTel";
_numtel = "521"+_numtel;
- //BA.debugLineNum = 7569;BA.debugLine="Private numTel As String = \"5215554192439\"";
+ //BA.debugLineNum = 7900;BA.debugLine="Private numTel As String = \"5215554192439\"";
_numtel = "5215554192439";
- //BA.debugLineNum = 7571;BA.debugLine="Private idCliente As String = Subs.traeCliente '\"";
+ //BA.debugLineNum = 7902;BA.debugLine="Private idCliente As String = Subs.traeCliente '\"";
_idcliente = parent._subs._traecliente /*String*/ (ba);
- //BA.debugLineNum = 7572;BA.debugLine="Private ruta As String = Subs.traeRuta '\"333\"";
+ //BA.debugLineNum = 7903;BA.debugLine="Private ruta As String = Subs.traeRuta '\"333\"";
parent._ruta = parent._subs._traeruta /*String*/ (ba);
- //BA.debugLineNum = 7573;BA.debugLine="Private ALMACEN As String = Subs.traeAlmacen '\"1\"";
+ //BA.debugLineNum = 7904;BA.debugLine="Private ALMACEN As String = Subs.traeAlmacen '\"1\"";
parent._almacen = parent._subs._traealmacen /*String*/ (ba);
- //BA.debugLineNum = 7576;BA.debugLine="Private link As String = \"http://keymon.net:9000/";
+ //BA.debugLineNum = 7907;BA.debugLine="Private link As String = \"http://keymon.net:9000/";
_link = "http://keymon.net:9000/v1/messages";
- //BA.debugLineNum = 7577;BA.debugLine="Private elJSON As String = $\"{ \"number\":\"${numT";
+ //BA.debugLineNum = 7908;BA.debugLine="Private elJSON As String = $\"{ \"number\":\"${numT";
_eljson = ("{\n"+" \"number\":\""+parent.__c.SmartStringFormatter("",(Object)(_numtel))+"\",\n"+" \"message\":\"Tu compra de Guna va ser a *crédito* por el monto de $"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.NumberFormat2((double)(Double.parseDouble(_monto)),(int) (1),(int) (2),(int) (2),parent.__c.True)))+"\\n\\nManda *1* para confirmar\\nManda *0* para rechazar\\n\\n*Nota:* Si este mensaje no se contesta, se considerará que el pago es en *EFECTIVO*.\\n\\n(Solo el *número* por favor)\",\n"+" \"monto\":\""+parent.__c.SmartStringFormatter("",(Object)(_monto))+"\",\n"+" \"idcliente\":\""+parent.__c.SmartStringFormatter("",(Object)(_idcliente))+"\",\n"+" \"almacen\":\""+parent.__c.SmartStringFormatter("",(Object)(parent._almacen))+"\",\n"+" \"ruta\": \""+parent.__c.SmartStringFormatter("",(Object)(parent._ruta))+"\",\n"+" \"fecha\":\""+parent.__c.SmartStringFormatter("",(Object)(_fecha))+"\"\n"+" }");
- //BA.debugLineNum = 7586;BA.debugLine="Private job As HttpJob";
+ //BA.debugLineNum = 7917;BA.debugLine="Private job As HttpJob";
_job = new gunav2.keymon.com.mx.httpjob();
- //BA.debugLineNum = 7587;BA.debugLine="job.Initialize(\"\", Me)";
+ //BA.debugLineNum = 7918;BA.debugLine="job.Initialize(\"\", Me)";
_job._initialize /*String*/ (ba,"",parent);
- //BA.debugLineNum = 7588;BA.debugLine="job.PostString(link, elJSON)";
+ //BA.debugLineNum = 7919;BA.debugLine="job.PostString(link, elJSON)";
_job._poststring /*String*/ (_link,_eljson);
- //BA.debugLineNum = 7589;BA.debugLine="job.GetRequest.SetContentType(\"application/json\")";
+ //BA.debugLineNum = 7920;BA.debugLine="job.GetRequest.SetContentType(\"application/json\")";
_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ().SetContentType("application/json");
- //BA.debugLineNum = 7590;BA.debugLine="Wait For (job) JobDone(job As HttpJob)";
+ //BA.debugLineNum = 7921;BA.debugLine="Wait For (job) JobDone(job As HttpJob)";
parent.__c.WaitFor("jobdone", ba, this, (Object)(_job));
this.state = 1;
return;
@@ -17040,9 +17777,9 @@ case 1:
this.state = -1;
_job = (gunav2.keymon.com.mx.httpjob) result[0];
;
- //BA.debugLineNum = 7602;BA.debugLine="Log(\"Whatsapp enviado con exito: \" & job.Success)";
-parent.__c.LogImpl("726869797","Whatsapp enviado con exito: "+BA.ObjectToString(_job._success /*boolean*/ ),0);
- //BA.debugLineNum = 7603;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7933;BA.debugLine="Log(\"Whatsapp enviado con exito: \" & job.Success)";
+parent.__c.LogImpl("427000869","Whatsapp enviado con exito: "+BA.ObjectToString(_job._success /*boolean*/ ),0);
+ //BA.debugLineNum = 7934;BA.debugLine="End Sub";
if (true) break;
}
@@ -17075,9 +17812,9 @@ parent.__c.ReturnFromResumableSub(this,null);return;}
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 1384;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP2\")";
+ //BA.debugLineNum = 1406;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP2\")";
parent.__c.CallSubDelayed(ba,(Object)(parent._tracker.getObject()),"StartFLP2");
- //BA.debugLineNum = 1386;BA.debugLine="For i = 1 To 10";
+ //BA.debugLineNum = 1408;BA.debugLine="For i = 1 To 10";
if (true) break;
case 1:
@@ -17104,7 +17841,7 @@ if (true) break;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 1387;BA.debugLine="Sleep(1000)";
+ //BA.debugLineNum = 1409;BA.debugLine="Sleep(1000)";
parent.__c.Sleep(ba,this,(int) (1000));
this.state = 15;
return;
@@ -17112,7 +17849,7 @@ case 15:
//C
this.state = 4;
;
- //BA.debugLineNum = 1388;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize";
+ //BA.debugLineNum = 1410;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize";
if (true) break;
case 4:
@@ -17125,10 +17862,10 @@ this.state = 6;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 1389;BA.debugLine="Dim loc As Location = Tracker.FLP.GetLastKnownL";
+ //BA.debugLineNum = 1411;BA.debugLine="Dim loc As Location = Tracker.FLP.GetLastKnownL";
_loc = new anywheresoftware.b4a.gps.LocationWrapper();
_loc = parent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation();
- //BA.debugLineNum = 1390;BA.debugLine="If loc.Accuracy < 25 Then ' Buena precisión";
+ //BA.debugLineNum = 1412;BA.debugLine="If loc.Accuracy < 25 Then ' Buena precisión";
if (true) break;
case 7:
@@ -17141,7 +17878,7 @@ this.state = 9;
case 9:
//C
this.state = 10;
- //BA.debugLineNum = 1391;BA.debugLine="Return True";
+ //BA.debugLineNum = 1413;BA.debugLine="Return True";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;};
if (true) break;
@@ -17163,10 +17900,10 @@ case 12:
//C
this.state = -1;
;
- //BA.debugLineNum = 1395;BA.debugLine="Return False ' No se logró buena precisión";
+ //BA.debugLineNum = 1417;BA.debugLine="Return False ' No se logró buena precisión";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
- //BA.debugLineNum = 1396;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1418;BA.debugLine="End Sub";
if (true) break;
}
@@ -17174,228 +17911,235 @@ if (true) break;
}
}
public String _muestraboton(anywheresoftware.b4a.objects.ButtonWrapper _thisbutton,String _thetext,String _thetag,int _left,int _top,int _width,int _height) throws Exception{
- //BA.debugLineNum = 6515;BA.debugLine="Sub muestraBoton (thisButton As Button, theText As";
- //BA.debugLineNum = 6516;BA.debugLine="thisButton.Text = theText";
+ //BA.debugLineNum = 6846;BA.debugLine="Sub muestraBoton (thisButton As Button, theText As";
+ //BA.debugLineNum = 6847;BA.debugLine="thisButton.Text = theText";
_thisbutton.setText(BA.ObjectToCharSequence(_thetext));
- //BA.debugLineNum = 6517;BA.debugLine="thisButton.Tag = theTag";
+ //BA.debugLineNum = 6848;BA.debugLine="thisButton.Tag = theTag";
_thisbutton.setTag((Object)(_thetag));
- //BA.debugLineNum = 6518;BA.debugLine="thisButton.Left = Left";
+ //BA.debugLineNum = 6849;BA.debugLine="thisButton.Left = Left";
_thisbutton.setLeft(_left);
- //BA.debugLineNum = 6519;BA.debugLine="thisButton.Top = Top";
+ //BA.debugLineNum = 6850;BA.debugLine="thisButton.Top = Top";
_thisbutton.setTop(_top);
- //BA.debugLineNum = 6520;BA.debugLine="thisButton.Width = width";
+ //BA.debugLineNum = 6851;BA.debugLine="thisButton.Width = width";
_thisbutton.setWidth(_width);
- //BA.debugLineNum = 6521;BA.debugLine="thisButton.Height = height";
+ //BA.debugLineNum = 6852;BA.debugLine="thisButton.Height = height";
_thisbutton.setHeight(_height);
- //BA.debugLineNum = 6522;BA.debugLine="thisButton.Visible = True";
+ //BA.debugLineNum = 6853;BA.debugLine="thisButton.Visible = True";
_thisbutton.setVisible(__c.True);
- //BA.debugLineNum = 6523;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6854;BA.debugLine="End Sub";
return "";
}
public String _muestrabotoncentrado(anywheresoftware.b4a.objects.ButtonWrapper _thisbutton,String _thetext,String _thetag,int _top,int _width,int _height) throws Exception{
int _anchopantalla = 0;
- //BA.debugLineNum = 6526;BA.debugLine="Sub muestraBotonCentrado (thisButton As Button, th";
- //BA.debugLineNum = 6527;BA.debugLine="Private anchoPantalla As Int";
+ //BA.debugLineNum = 6857;BA.debugLine="Sub muestraBotonCentrado (thisButton As Button, th";
+ //BA.debugLineNum = 6858;BA.debugLine="Private anchoPantalla As Int";
_anchopantalla = 0;
- //BA.debugLineNum = 6528;BA.debugLine="thisButton.Text = theText";
+ //BA.debugLineNum = 6859;BA.debugLine="thisButton.Text = theText";
_thisbutton.setText(BA.ObjectToCharSequence(_thetext));
- //BA.debugLineNum = 6529;BA.debugLine="thisButton.Tag = theTag";
+ //BA.debugLineNum = 6860;BA.debugLine="thisButton.Tag = theTag";
_thisbutton.setTag((Object)(_thetag));
- //BA.debugLineNum = 6530;BA.debugLine="anchoPantalla = GetDeviceLayoutValues.Width";
+ //BA.debugLineNum = 6861;BA.debugLine="anchoPantalla = GetDeviceLayoutValues.Width";
_anchopantalla = __c.GetDeviceLayoutValues(ba).Width;
- //BA.debugLineNum = 6531;BA.debugLine="thisButton.Left = (anchoPantalla/2) - (width/2)";
+ //BA.debugLineNum = 6862;BA.debugLine="thisButton.Left = (anchoPantalla/2) - (width/2)";
_thisbutton.setLeft((int) ((_anchopantalla/(double)2)-(_width/(double)2)));
- //BA.debugLineNum = 6532;BA.debugLine="thisButton.Top = Top";
+ //BA.debugLineNum = 6863;BA.debugLine="thisButton.Top = Top";
_thisbutton.setTop(_top);
- //BA.debugLineNum = 6533;BA.debugLine="thisButton.Width = width";
+ //BA.debugLineNum = 6864;BA.debugLine="thisButton.Width = width";
_thisbutton.setWidth(_width);
- //BA.debugLineNum = 6534;BA.debugLine="thisButton.Height = height";
+ //BA.debugLineNum = 6865;BA.debugLine="thisButton.Height = height";
_thisbutton.setHeight(_height);
- //BA.debugLineNum = 6535;BA.debugLine="thisButton.Visible = True";
+ //BA.debugLineNum = 6866;BA.debugLine="thisButton.Visible = True";
_thisbutton.setVisible(__c.True);
- //BA.debugLineNum = 6536;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6867;BA.debugLine="End Sub";
return "";
}
public String _muestraencuesta() throws Exception{
- //BA.debugLineNum = 6435;BA.debugLine="Sub muestraEncuesta";
- //BA.debugLineNum = 6436;BA.debugLine="Log(\"Muestra Encuesta\")";
-__c.LogImpl("724379393","Muestra Encuesta",0);
- //BA.debugLineNum = 6437;BA.debugLine="p_encuesta.Top = 0";
+ //BA.debugLineNum = 6766;BA.debugLine="Sub muestraEncuesta";
+ //BA.debugLineNum = 6767;BA.debugLine="Log(\"Muestra Encuesta\")";
+__c.LogImpl("424510465","Muestra Encuesta",0);
+ //BA.debugLineNum = 6768;BA.debugLine="p_encuesta.Top = 0";
_p_encuesta.setTop((int) (0));
- //BA.debugLineNum = 6438;BA.debugLine="p_encuesta.left = 0";
+ //BA.debugLineNum = 6769;BA.debugLine="p_encuesta.left = 0";
_p_encuesta.setLeft((int) (0));
- //BA.debugLineNum = 6439;BA.debugLine="p_encuesta.Height = GetDeviceLayoutValues.Height";
+ //BA.debugLineNum = 6770;BA.debugLine="p_encuesta.Height = GetDeviceLayoutValues.Height";
_p_encuesta.setHeight(__c.GetDeviceLayoutValues(ba).Height);
- //BA.debugLineNum = 6440;BA.debugLine="p_encuesta.Width = GetDeviceLayoutValues.Width";
+ //BA.debugLineNum = 6771;BA.debugLine="p_encuesta.Width = GetDeviceLayoutValues.Width";
_p_encuesta.setWidth(__c.GetDeviceLayoutValues(ba).Width);
- //BA.debugLineNum = 6441;BA.debugLine="p_encuesta.SetVisibleAnimated(200, True)";
+ //BA.debugLineNum = 6772;BA.debugLine="p_encuesta.SetVisibleAnimated(200, True)";
_p_encuesta.SetVisibleAnimated((int) (200),__c.True);
- //BA.debugLineNum = 6442;BA.debugLine="p_encuesta.Elevation = 90 'ignore";
+ //BA.debugLineNum = 6773;BA.debugLine="p_encuesta.Elevation = 90 'ignore";
_p_encuesta.setElevation((float) (90));
- //BA.debugLineNum = 6443;BA.debugLine="p_encuesta.BringToFront";
+ //BA.debugLineNum = 6774;BA.debugLine="p_encuesta.BringToFront";
_p_encuesta.BringToFront();
- //BA.debugLineNum = 6446;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6777;BA.debugLine="End Sub";
return "";
}
public String _nuevo_click() throws Exception{
- //BA.debugLineNum = 3077;BA.debugLine="Sub NUEVO_Click";
- //BA.debugLineNum = 3078;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
+ //BA.debugLineNum = 3379;BA.debugLine="Sub NUEVO_Click";
+ //BA.debugLineNum = 3380;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
_b4xpages._showpage /*String*/ (ba,"NuevoCliente");
- //BA.debugLineNum = 3079;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3381;BA.debugLine="End Sub";
return "";
}
public String _ocultapanelencuesta() throws Exception{
- //BA.debugLineNum = 6449;BA.debugLine="Sub ocultaPanelEncuesta";
- //BA.debugLineNum = 6451;BA.debugLine="b_encuesta_1.Visible = False";
+ //BA.debugLineNum = 6780;BA.debugLine="Sub ocultaPanelEncuesta";
+ //BA.debugLineNum = 6782;BA.debugLine="b_encuesta_1.Visible = False";
_b_encuesta_1.setVisible(__c.False);
- //BA.debugLineNum = 6452;BA.debugLine="b_encuesta_2.Visible = False";
+ //BA.debugLineNum = 6783;BA.debugLine="b_encuesta_2.Visible = False";
_b_encuesta_2.setVisible(__c.False);
- //BA.debugLineNum = 6453;BA.debugLine="b_encuesta_3.Visible = False";
+ //BA.debugLineNum = 6784;BA.debugLine="b_encuesta_3.Visible = False";
_b_encuesta_3.setVisible(__c.False);
- //BA.debugLineNum = 6454;BA.debugLine="p_encuesta.Visible = False";
+ //BA.debugLineNum = 6785;BA.debugLine="p_encuesta.Visible = False";
_p_encuesta.setVisible(__c.False);
- //BA.debugLineNum = 6457;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6788;BA.debugLine="End Sub";
return "";
}
public String _openpdf(String _afile) throws Exception{
anywheresoftware.b4a.objects.IntentWrapper _in = null;
- //BA.debugLineNum = 7331;BA.debugLine="private Sub openPDF(afile As String)";
- //BA.debugLineNum = 7336;BA.debugLine="Dim in As Intent";
+ //BA.debugLineNum = 7662;BA.debugLine="private Sub openPDF(afile As String)";
+ //BA.debugLineNum = 7667;BA.debugLine="Dim in As Intent";
_in = new anywheresoftware.b4a.objects.IntentWrapper();
- //BA.debugLineNum = 7337;BA.debugLine="in.Initialize(in.ACTION_VIEW, \"\")";
+ //BA.debugLineNum = 7668;BA.debugLine="in.Initialize(in.ACTION_VIEW, \"\")";
_in.Initialize(_in.ACTION_VIEW,"");
- //BA.debugLineNum = 7338;BA.debugLine="Starter.ffileProvider.SetFileUriAsIntentData(in,";
+ //BA.debugLineNum = 7669;BA.debugLine="Starter.ffileProvider.SetFileUriAsIntentData(in,";
_starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._setfileuriasintentdata /*String*/ (_in,_afile);
- //BA.debugLineNum = 7339;BA.debugLine="in.SetComponent(\"android/com.android.internal.app";
+ //BA.debugLineNum = 7670;BA.debugLine="in.SetComponent(\"android/com.android.internal.app";
_in.SetComponent("android/com.android.internal.app.ResolverActivity");
- //BA.debugLineNum = 7340;BA.debugLine="in.SetType(\"application/pdf\")";
+ //BA.debugLineNum = 7671;BA.debugLine="in.SetType(\"application/pdf\")";
_in.SetType("application/pdf");
- //BA.debugLineNum = 7341;BA.debugLine="StartActivity(in)";
+ //BA.debugLineNum = 7672;BA.debugLine="StartActivity(in)";
__c.StartActivity(ba,(Object)(_in.getObject()));
- //BA.debugLineNum = 7346;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7677;BA.debugLine="End Sub";
return "";
}
public String _p_atiende_click() throws Exception{
- //BA.debugLineNum = 7998;BA.debugLine="Private Sub p_atiende_Click";
- //BA.debugLineNum = 8000;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8329;BA.debugLine="Private Sub p_atiende_Click";
+ //BA.debugLineNum = 8331;BA.debugLine="End Sub";
return "";
}
public String _p_camara_click() throws Exception{
- //BA.debugLineNum = 7806;BA.debugLine="Private Sub p_camara_Click";
- //BA.debugLineNum = 7808;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8137;BA.debugLine="Private Sub p_camara_Click";
+ //BA.debugLineNum = 8139;BA.debugLine="End Sub";
return "";
}
public String _p_cliente__click() throws Exception{
- //BA.debugLineNum = 7846;BA.debugLine="Private Sub p_cliente__Click";
- //BA.debugLineNum = 7848;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8177;BA.debugLine="Private Sub p_cliente__Click";
+ //BA.debugLineNum = 8179;BA.debugLine="End Sub";
return "";
}
public String _p_cliente_click() throws Exception{
- //BA.debugLineNum = 4735;BA.debugLine="Private Sub p_cliente_Click";
- //BA.debugLineNum = 4737;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5066;BA.debugLine="Private Sub p_cliente_Click";
+ //BA.debugLineNum = 5068;BA.debugLine="End Sub";
return "";
}
public String _p_comentario_click() throws Exception{
- //BA.debugLineNum = 7609;BA.debugLine="Private Sub p_comentario_Click";
- //BA.debugLineNum = 7611;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7940;BA.debugLine="Private Sub p_comentario_Click";
+ //BA.debugLineNum = 7942;BA.debugLine="End Sub";
return "";
}
public String _p_comentarios_click() throws Exception{
- //BA.debugLineNum = 7613;BA.debugLine="Private Sub p_comentarios_Click";
- //BA.debugLineNum = 7615;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7944;BA.debugLine="Private Sub p_comentarios_Click";
+ //BA.debugLineNum = 7946;BA.debugLine="End Sub";
return "";
}
public String _p_deuda_click() throws Exception{
- //BA.debugLineNum = 7912;BA.debugLine="Private Sub p_deuda_Click";
- //BA.debugLineNum = 7913;BA.debugLine="p_deuda.Visible = False";
+ //BA.debugLineNum = 8243;BA.debugLine="Private Sub p_deuda_Click";
+ //BA.debugLineNum = 8244;BA.debugLine="p_deuda.Visible = False";
_p_deuda.setVisible(__c.False);
- //BA.debugLineNum = 7914;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8245;BA.debugLine="End Sub";
return "";
}
public String _p_encuesta_click() throws Exception{
- //BA.debugLineNum = 6550;BA.debugLine="Private Sub p_encuesta_Click";
- //BA.debugLineNum = 6552;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6881;BA.debugLine="Private Sub p_encuesta_Click";
+ //BA.debugLineNum = 6883;BA.debugLine="End Sub";
+return "";
+}
+public String _p_imagengrande_click() throws Exception{
+ //BA.debugLineNum = 8388;BA.debugLine="Sub P_Imagengrande_click";
+ //BA.debugLineNum = 8389;BA.debugLine="P_Imagengrande.Visible = False";
+_p_imagengrande.setVisible(__c.False);
+ //BA.debugLineNum = 8390;BA.debugLine="End Sub";
return "";
}
public String _p_modulo5_click() throws Exception{
- //BA.debugLineNum = 5724;BA.debugLine="Private Sub p_modulo5_Click";
- //BA.debugLineNum = 5726;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6055;BA.debugLine="Private Sub p_modulo5_Click";
+ //BA.debugLineNum = 6057;BA.debugLine="End Sub";
return "";
}
public String _p_pidegeopass_click() throws Exception{
- //BA.debugLineNum = 1901;BA.debugLine="Private Sub p_pideGeoPass_Click";
- //BA.debugLineNum = 1903;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1923;BA.debugLine="Private Sub p_pideGeoPass_Click";
+ //BA.debugLineNum = 1925;BA.debugLine="End Sub";
return "";
}
public String _p_telefono_click() throws Exception{
- //BA.debugLineNum = 8049;BA.debugLine="Private Sub p_telefono_Click";
- //BA.debugLineNum = 8051;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8380;BA.debugLine="Private Sub p_telefono_Click";
+ //BA.debugLineNum = 8382;BA.debugLine="End Sub";
return "";
}
public String _p_transparenteiniciofin_click() throws Exception{
- //BA.debugLineNum = 6765;BA.debugLine="Private Sub p_transparenteInicioFin_Click";
- //BA.debugLineNum = 6767;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7096;BA.debugLine="Private Sub p_transparenteInicioFin_Click";
+ //BA.debugLineNum = 7098;BA.debugLine="End Sub";
return "";
}
public String _p_transparentepdf_click() throws Exception{
- //BA.debugLineNum = 7529;BA.debugLine="Private Sub p_transparentePDF_Click";
- //BA.debugLineNum = 7531;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7860;BA.debugLine="Private Sub p_transparentePDF_Click";
+ //BA.debugLineNum = 7862;BA.debugLine="End Sub";
return "";
}
public String _p_transparenteticketimpreso_click() throws Exception{
- //BA.debugLineNum = 6773;BA.debugLine="Private Sub p_transparenteTicketImpreso_Click";
- //BA.debugLineNum = 6775;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7104;BA.debugLine="Private Sub p_transparenteTicketImpreso_Click";
+ //BA.debugLineNum = 7106;BA.debugLine="End Sub";
return "";
}
public String _p6_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 5545;BA.debugLine="Private Sub p6_TextChanged (Old As String, New As";
- //BA.debugLineNum = 5546;BA.debugLine="If p6.Text.Length > 2 Then";
+ //BA.debugLineNum = 5876;BA.debugLine="Private Sub p6_TextChanged (Old As String, New As";
+ //BA.debugLineNum = 5877;BA.debugLine="If p6.Text.Length > 2 Then";
if (_p6.getText().length()>2) {
- //BA.debugLineNum = 5547;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido1\",\"A";
+ //BA.debugLineNum = 5878;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido1\",\"A";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido1"),BA.ObjectToCharSequence("Aviso"),ba);
- //BA.debugLineNum = 5548;BA.debugLine="p6.Text = \"\"";
+ //BA.debugLineNum = 5879;BA.debugLine="p6.Text = \"\"";
_p6.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 5550;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5881;BA.debugLine="End Sub";
return "";
}
public String _p7_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 5554;BA.debugLine="Private Sub p7_TextChanged (Old As String, New As";
- //BA.debugLineNum = 5555;BA.debugLine="If p7.Text.Length > 2 Then";
+ //BA.debugLineNum = 5885;BA.debugLine="Private Sub p7_TextChanged (Old As String, New As";
+ //BA.debugLineNum = 5886;BA.debugLine="If p7.Text.Length > 2 Then";
if (_p7.getText().length()>2) {
- //BA.debugLineNum = 5556;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido2\",\"A";
+ //BA.debugLineNum = 5887;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido2\",\"A";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido2"),BA.ObjectToCharSequence("Aviso"),ba);
- //BA.debugLineNum = 5557;BA.debugLine="p7.Text = \"\"";
+ //BA.debugLineNum = 5888;BA.debugLine="p7.Text = \"\"";
_p7.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 5559;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5890;BA.debugLine="End Sub";
return "";
}
public String _p8_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 5563;BA.debugLine="Private Sub p8_TextChanged (Old As String, New As";
- //BA.debugLineNum = 5564;BA.debugLine="If p8.Text.Length > 2 Then";
+ //BA.debugLineNum = 5894;BA.debugLine="Private Sub p8_TextChanged (Old As String, New As";
+ //BA.debugLineNum = 5895;BA.debugLine="If p8.Text.Length > 2 Then";
if (_p8.getText().length()>2) {
- //BA.debugLineNum = 5566;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido3\",\"A";
+ //BA.debugLineNum = 5897;BA.debugLine="Msgbox(\"Valida tu respuesta, dato no valido3\",\"A";
__c.Msgbox(BA.ObjectToCharSequence("Valida tu respuesta, dato no valido3"),BA.ObjectToCharSequence("Aviso"),ba);
- //BA.debugLineNum = 5567;BA.debugLine="p8.Text = \"\"";
+ //BA.debugLineNum = 5898;BA.debugLine="p8.Text = \"\"";
_p8.setText(BA.ObjectToCharSequence(""));
};
- //BA.debugLineNum = 5569;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5900;BA.debugLine="End Sub";
return "";
}
public String _panel10_click() throws Exception{
- //BA.debugLineNum = 6546;BA.debugLine="Private Sub Panel10_Click";
- //BA.debugLineNum = 6548;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6877;BA.debugLine="Private Sub Panel10_Click";
+ //BA.debugLineNum = 6879;BA.debugLine="End Sub";
return "";
}
public String _panel4_click() throws Exception{
- //BA.debugLineNum = 5728;BA.debugLine="Private Sub Panel4_Click";
- //BA.debugLineNum = 5730;BA.debugLine="End Sub";
+ //BA.debugLineNum = 6059;BA.debugLine="Private Sub Panel4_Click";
+ //BA.debugLineNum = 6061;BA.debugLine="End Sub";
return "";
}
public String _panel5_click() throws Exception{
- //BA.debugLineNum = 4739;BA.debugLine="Private Sub Panel5_Click";
- //BA.debugLineNum = 4741;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5070;BA.debugLine="Private Sub Panel5_Click";
+ //BA.debugLineNum = 5072;BA.debugLine="End Sub";
return "";
}
public String _pdfgenerar() throws Exception{
@@ -17408,566 +18152,31 @@ int _i = 0;
int _e = 0;
String _subtot = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _s3 = null;
- //BA.debugLineNum = 6799;BA.debugLine="Private Sub PDFGENERAR";
- //BA.debugLineNum = 6800;BA.debugLine="ESPACIO = 0";
+ //BA.debugLineNum = 7130;BA.debugLine="Private Sub PDFGENERAR";
+ //BA.debugLineNum = 7131;BA.debugLine="ESPACIO = 0";
_espacio = (int) (0);
- //BA.debugLineNum = 6802;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
+ //BA.debugLineNum = 7133;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\"";
__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 6803;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
+ //BA.debugLineNum = 7134;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
- //BA.debugLineNum = 6804;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 7135;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 6805;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 7136;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 6806;BA.debugLine="Dim PDF As cPDF";
+ //BA.debugLineNum = 7137;BA.debugLine="Dim PDF As cPDF";
_pdf = new gunav2.keymon.com.mx.cpdf();
- //BA.debugLineNum = 6808;BA.debugLine="PDF.Initialize(\"mm\")";
+ //BA.debugLineNum = 7139;BA.debugLine="PDF.Initialize(\"mm\")";
_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (ba,"mm");
- //BA.debugLineNum = 6810;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _";
-_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform");
- //BA.debugLineNum = 6817;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON";
-_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 6818;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR";
-_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 6820;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +";
-_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+25;
- //BA.debugLineNum = 6822;BA.debugLine="Dim multiplicador As Int = 0";
-_multiplicador = (int) (0);
- //BA.debugLineNum = 6823;BA.debugLine="PDF.pageAdd(-300,pagina)";
-_pdf._pageadd /*gunav2.keymon.com.mx.cpdf*/ (-300,_pagina);
- //BA.debugLineNum = 6826;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6828;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1";
-_pdf._outimage /*gunav2.keymon.com.mx.cpdf*/ (_xui.getDefaultFolder(),"guna-fondo.jpg",1,_pagina-45,45,0);
- //BA.debugLineNum = 6829;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6830;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"GUNA");
- //BA.debugLineNum = 6831;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6832;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_sdate+" "+_stime);
- //BA.debugLineNum = 6833;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6834;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\"";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba));
- //BA.debugLineNum = 6835;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6836;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Tienda: "+_la_nombre.getText());
- //BA.debugLineNum = 6837;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6838;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"ID.Cliente: "+_la_cuenta.getText());
- //BA.debugLineNum = 6839;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6840;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Calle: "+_la_calle.getText());
- //BA.debugLineNum = 6841;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6842;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \"";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Colonia: "+_la_col.getText());
- //BA.debugLineNum = 6843;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6844;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 6845;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6846;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 6847;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 6848;BA.debugLine="If c.RowCount > 0 Then";
-if (_c.getRowCount()>0) {
- //BA.debugLineNum = 6851;BA.debugLine="If ALMACEN = 88 Then";
-if ((_almacen).equals(BA.NumberToString(88))) {
- //BA.debugLineNum = 6853;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
-_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 6854;BA.debugLine="If S.RowCount>0 Then";
-if (_s.getRowCount()>0) {
- //BA.debugLineNum = 6855;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6856;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
- //BA.debugLineNum = 6857;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6858;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
- //BA.debugLineNum = 6859;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6860;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 6861;BA.debugLine="For i=0 To S.RowCount -1";
-{
-final int step45 = 1;
-final int limit45 = (int) (_s.getRowCount()-1);
-_i = (int) (0) ;
-for (;_i <= limit45 ;_i = _i + step45 ) {
- //BA.debugLineNum = 6862;BA.debugLine="S.Position=i";
-_s.setPosition(_i);
- //BA.debugLineNum = 6864;BA.debugLine="If s.GetDouble(\"PE_RECALCULO\") = 0 Then";
-if (_s.GetDouble("PE_RECALCULO")==0) {
- //BA.debugLineNum = 6865;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
-if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
- //BA.debugLineNum = 6866;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6867;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- }else {
- //BA.debugLineNum = 6869;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6870;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6871;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- //BA.debugLineNum = 6875;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
-_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT"));
- //BA.debugLineNum = 6876;BA.debugLine="ESPACIO = 92";
-_espacio = (int) (92);
- //BA.debugLineNum = 6877;BA.debugLine="BLANCO = \" \"";
-_blanco = " ";
- //BA.debugLineNum = 6878;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
-_espacio = (int) (_espacio-_tamano);
- //BA.debugLineNum = 6879;BA.debugLine="ESPACIO = ESPACIO / 2";
-_espacio = (int) (_espacio/(double)2);
- //BA.debugLineNum = 6880;BA.debugLine="For E=0 To ESPACIO -1";
-{
-final int step60 = 1;
-final int limit60 = (int) (_espacio-1);
-_e = (int) (0) ;
-for (;_e <= limit60 ;_e = _e + step60 ) {
- //BA.debugLineNum = 6881;BA.debugLine="BLANCO = \" \" & BLANCO";
-_blanco = " "+_blanco;
- }
-};
- //BA.debugLineNum = 6883;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6884;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6885;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT"));
- };
- }else if(_s.GetDouble("PE_CANT")==_s.GetDouble("PE_RECCANT")) {
- //BA.debugLineNum = 6891;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
-if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
- //BA.debugLineNum = 6892;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6893;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- }else {
- //BA.debugLineNum = 6895;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6896;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6897;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- //BA.debugLineNum = 6901;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
-_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOREC")+_s.GetLong("L_COSTO_TOTREC"));
- //BA.debugLineNum = 6902;BA.debugLine="ESPACIO = 92";
-_espacio = (int) (92);
- //BA.debugLineNum = 6903;BA.debugLine="BLANCO = \" \"";
-_blanco = " ";
- //BA.debugLineNum = 6904;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
-_espacio = (int) (_espacio-_tamano);
- //BA.debugLineNum = 6905;BA.debugLine="ESPACIO = ESPACIO / 2";
-_espacio = (int) (_espacio/(double)2);
- //BA.debugLineNum = 6906;BA.debugLine="For E=0 To ESPACIO -1";
-{
-final int step80 = 1;
-final int limit80 = (int) (_espacio-1);
-_e = (int) (0) ;
-for (;_e <= limit80 ;_e = _e + step80 ) {
- //BA.debugLineNum = 6907;BA.debugLine="BLANCO = \" \" & BLANCO";
-_blanco = " "+_blanco;
- }
-};
- //BA.debugLineNum = 6909;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6910;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6911;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_RECALCULO")+_blanco+_s.GetString("PE_COSTO_TOTREC"));
- };
- }else if(_s.GetDouble("PE_CANT")!=_s.GetDouble("PE_RECCANT")) {
- //BA.debugLineNum = 6919;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
-if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
- //BA.debugLineNum = 6920;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6921;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- }else {
- //BA.debugLineNum = 6923;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6924;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6925;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- //BA.debugLineNum = 6926;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
-_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOREC")+_s.GetLong("L_COSTO_TOTREC"));
- //BA.debugLineNum = 6927;BA.debugLine="ESPACIO = 92";
-_espacio = (int) (92);
- //BA.debugLineNum = 6928;BA.debugLine="BLANCO = \" \"";
-_blanco = " ";
- //BA.debugLineNum = 6929;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
-_espacio = (int) (_espacio-_tamano);
- //BA.debugLineNum = 6930;BA.debugLine="ESPACIO = ESPACIO / 2";
-_espacio = (int) (_espacio/(double)2);
- //BA.debugLineNum = 6931;BA.debugLine="For E=0 To ESPACIO -1";
-{
-final int step100 = 1;
-final int limit100 = (int) (_espacio-1);
-_e = (int) (0) ;
-for (;_e <= limit100 ;_e = _e + step100 ) {
- //BA.debugLineNum = 6932;BA.debugLine="BLANCO = \" \" & BLANCO";
-_blanco = " "+_blanco;
- }
-};
- //BA.debugLineNum = 6934;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6935;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6936;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_RECCANT")+_blanco+_s.GetString("PE_RECALCULO")+_blanco+__c.NumberFormat2(((double)(Double.parseDouble(_s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(_s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),__c.False));
- };
- //BA.debugLineNum = 6940;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
-if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
- //BA.debugLineNum = 6941;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6942;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- }else {
- //BA.debugLineNum = 6944;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE";
-_subtot = BA.NumberToString(((double)(Double.parseDouble(_s.GetString("PE_CANT")))-(double)(Double.parseDouble(_s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_s.GetString("PE_COSTOU"))));
- //BA.debugLineNum = 6945;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6946;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6947;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- //BA.debugLineNum = 6948;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
-_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOTREC"));
- //BA.debugLineNum = 6949;BA.debugLine="ESPACIO = 92";
-_espacio = (int) (92);
- //BA.debugLineNum = 6950;BA.debugLine="BLANCO = \" \"";
-_blanco = " ";
- //BA.debugLineNum = 6951;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
-_espacio = (int) (_espacio-_tamano);
- //BA.debugLineNum = 6952;BA.debugLine="ESPACIO = ESPACIO / 2";
-_espacio = (int) (_espacio/(double)2);
- //BA.debugLineNum = 6953;BA.debugLine="For E=0 To ESPACIO -1";
-{
-final int step120 = 1;
-final int limit120 = (int) (_espacio-1);
-_e = (int) (0) ;
-for (;_e <= limit120 ;_e = _e + step120 ) {
- //BA.debugLineNum = 6954;BA.debugLine="BLANCO = \" \" & BLANCO";
-_blanco = " "+_blanco;
- }
-};
- //BA.debugLineNum = 6956;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6957;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6958;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, (s.GE";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,BA.NumberToString(((double)(Double.parseDouble(_s.GetString("PE_CANT")))-(double)(Double.parseDouble(_s.GetString("PE_RECCANT")))))+_blanco+_s.GetString("PE_COSTOU")+_blanco+__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),__c.False));
- };
- };
- }
-};
- //BA.debugLineNum = 6964;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,108-9*6," ");
- };
- //BA.debugLineNum = 6966;BA.debugLine="s.Close";
-_s.Close();
- }else {
- //BA.debugLineNum = 6969;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
-_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 6970;BA.debugLine="If S.RowCount>0 Then";
-if (_s.getRowCount()>0) {
- //BA.debugLineNum = 6971;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6972;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
- //BA.debugLineNum = 6973;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6974;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
- //BA.debugLineNum = 6975;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6976;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 6977;BA.debugLine="For i=0 To S.RowCount -1";
-{
-final int step141 = 1;
-final int limit141 = (int) (_s.getRowCount()-1);
-_i = (int) (0) ;
-for (;_i <= limit141 ;_i = _i + step141 ) {
- //BA.debugLineNum = 6978;BA.debugLine="S.Position=i";
-_s.setPosition(_i);
- //BA.debugLineNum = 6979;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_";
-if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
- //BA.debugLineNum = 6980;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6981;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- }else {
- //BA.debugLineNum = 6983;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6984;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6985;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- //BA.debugLineNum = 6989;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_";
-_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT"));
- //BA.debugLineNum = 6990;BA.debugLine="ESPACIO = 92";
-_espacio = (int) (92);
- //BA.debugLineNum = 6991;BA.debugLine="BLANCO = \" \"";
-_blanco = " ";
- //BA.debugLineNum = 6992;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
-_espacio = (int) (_espacio-_tamano);
- //BA.debugLineNum = 6993;BA.debugLine="ESPACIO = ESPACIO / 2";
-_espacio = (int) (_espacio/(double)2);
- //BA.debugLineNum = 6994;BA.debugLine="For E=0 To ESPACIO -1";
-{
-final int step155 = 1;
-final int limit155 = (int) (_espacio-1);
-_e = (int) (0) ;
-for (;_e <= limit155 ;_e = _e + step155 ) {
- //BA.debugLineNum = 6995;BA.debugLine="BLANCO = \" \" & BLANCO";
-_blanco = " "+_blanco;
- }
-};
- //BA.debugLineNum = 6997;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 6998;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 6999;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT"));
- };
- }
-};
- //BA.debugLineNum = 7005;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,108-9*6," ");
- };
- //BA.debugLineNum = 7007;BA.debugLine="s.Close";
-_s.Close();
- //BA.debugLineNum = 7008;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
-_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 7009;BA.debugLine="If S.RowCount>0 Then";
-if (_s.getRowCount()>0) {
- //BA.debugLineNum = 7010;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7011;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------");
- //BA.debugLineNum = 7012;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7013;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
- //BA.debugLineNum = 7014;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7015;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7016;BA.debugLine="For i=0 To S.RowCount -1";
-{
-final int step174 = 1;
-final int limit174 = (int) (_s.getRowCount()-1);
-_i = (int) (0) ;
-for (;_i <= limit174 ;_i = _i + step174 ) {
- //BA.debugLineNum = 7017;BA.debugLine="S.Position=i";
-_s.setPosition(_i);
- //BA.debugLineNum = 7018;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_";
-if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
- //BA.debugLineNum = 7019;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7020;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- }else {
- //BA.debugLineNum = 7022;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 7023;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7024;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- //BA.debugLineNum = 7025;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)";
-__c.LogImpl("725821410",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta);
- //BA.debugLineNum = 7026;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magent";
-__c.LogImpl("725821411",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta);
- //BA.debugLineNum = 7027;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mag";
-__c.LogImpl("725821412",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta);
- //BA.debugLineNum = 7028;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_";
-_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT"));
- //BA.debugLineNum = 7029;BA.debugLine="ESPACIO = 92";
-_espacio = (int) (92);
- //BA.debugLineNum = 7030;BA.debugLine="BLANCO = \" \"";
-_blanco = " ";
- //BA.debugLineNum = 7031;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
-_espacio = (int) (_espacio-_tamano);
- //BA.debugLineNum = 7032;BA.debugLine="ESPACIO = ESPACIO / 2";
-_espacio = (int) (_espacio/(double)2);
- //BA.debugLineNum = 7033;BA.debugLine="For E=0 To ESPACIO -1";
-{
-final int step191 = 1;
-final int limit191 = (int) (_espacio-1);
-_e = (int) (0) ;
-for (;_e <= limit191 ;_e = _e + step191 ) {
- //BA.debugLineNum = 7034;BA.debugLine="BLANCO = \" \" & BLANCO";
-_blanco = " "+_blanco;
- }
-};
- //BA.debugLineNum = 7036;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl";
-_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 7037;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7038;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT"));
- };
- }
-};
- };
- };
- //BA.debugLineNum = 7044;BA.debugLine="s.Close";
-_s.Close();
- //BA.debugLineNum = 7047;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7048;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7049;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7050;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7059;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TO";
-_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 7060;BA.debugLine="s.Position =0";
-_s.setPosition((int) (0));
- //BA.debugLineNum = 7061;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7062;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Subtotal p";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Subtotal preventa: $"+_s.GetString("TOTAL"));
- //BA.debugLineNum = 7064;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 7065;BA.debugLine="C.Position=0";
-_c.setPosition((int) (0));
- //BA.debugLineNum = 7066;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7067;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total articulos preventa: "+_c.GetString("PC_NOART"));
- //BA.debugLineNum = 7070;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(";
-_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0")));
- //BA.debugLineNum = 7071;BA.debugLine="s3.Position =0";
-_s3.setPosition((int) (0));
- //BA.debugLineNum = 7072;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCUL";
-_s2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0")));
- //BA.debugLineNum = 7073;BA.debugLine="S2.Position =0";
-_s2.setPosition((int) (0));
- //BA.debugLineNum = 7075;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.Get";
-if ((__c.NumberFormat2(((double)(Double.parseDouble(_s3.GetString("TOTAL")))+(double)(Double.parseDouble(_s2.GetString("TOTAL")))),(int) (0),(int) (2),(int) (2),__c.False)).equals(_s.GetString("TOTAL")) == false) {
- //BA.debugLineNum = 7076;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7077;BA.debugLine="Log(s.GetString(\"TOTAL\") & \"|\" & Subs.calculaTo";
-__c.LogImpl("725821462",_s.GetString("TOTAL")+"|"+_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)),0);
- //BA.debugLineNum = 7078;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Descuento: $"+__c.NumberFormat2((double)(Double.parseDouble(_s.GetString("TOTAL")))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False));
- };
- //BA.debugLineNum = 7081;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7083;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total Prev";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total Preventa: $"+__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False));
- };
- //BA.debugLineNum = 7091;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7092;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7093;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7094;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------");
- //BA.debugLineNum = 7095;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7096;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------");
- //BA.debugLineNum = 7097;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7098;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------");
- //BA.debugLineNum = 7099;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7100;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7101;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7102;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7103;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7104;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7105;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7106;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7107;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7108;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7109;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7110;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7111;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7112;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7122;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\"";
-__c.DateTime.setDateFormat("ddmmyyyy");
- //BA.debugLineNum = 7123;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
-__c.DateTime.setTimeFormat("HHmmss");
- //BA.debugLineNum = 7124;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
-_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 7125;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
-_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 7126;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\"";
-_archivoticketpdf = _sdate+_stime+".pdf";
- //BA.debugLineNum = 7128;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways";
-_savepdf(_pdf,_archivoticketpdf,_pdf._compressalways /*int*/ );
- //BA.debugLineNum = 7131;BA.debugLine="End Sub";
-return "";
-}
-public String _pdfgenerar2() throws Exception{
-gunav2.keymon.com.mx.cpdf _pdf = null;
-anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null;
-anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null;
-double _pagina = 0;
-int _multiplicador = 0;
-int _i = 0;
-int _e = 0;
- //BA.debugLineNum = 7133;BA.debugLine="Private Sub PDFGENERAR2";
- //BA.debugLineNum = 7134;BA.debugLine="ESPACIO = 0";
-_espacio = (int) (0);
- //BA.debugLineNum = 7135;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
-__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 7136;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
-__c.DateTime.setTimeFormat("HH:mm:ss");
- //BA.debugLineNum = 7137;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
-_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 7138;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
-_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 7139;BA.debugLine="Dim PDF As cPDF";
-_pdf = new gunav2.keymon.com.mx.cpdf();
- //BA.debugLineNum = 7141;BA.debugLine="PDF.Initialize(\"mm\")";
-_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (ba,"mm");
- //BA.debugLineNum = 7143;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _";
+ //BA.debugLineNum = 7141;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _";
_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform");
//BA.debugLineNum = 7148;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON";
_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
+_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
//BA.debugLineNum = 7149;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR";
_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
+_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
//BA.debugLineNum = 7151;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +";
-_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+12;
+_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+25;
//BA.debugLineNum = 7153;BA.debugLine="Dim multiplicador As Int = 0";
_multiplicador = (int) (0);
//BA.debugLineNum = 7154;BA.debugLine="PDF.pageAdd(-300,pagina)";
@@ -18016,598 +18225,1133 @@ _pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"})));
//BA.debugLineNum = 7179;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 7180;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
-_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 7181;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 7182;BA.debugLine="If ALMACEN = 88 Then";
+if ((_almacen).equals(BA.NumberToString(88))) {
+ //BA.debugLineNum = 7184;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
+_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU,IFNULL(PE_RECALCULO,0) AS PE_RECALCULO, length(PE_COSTOU) as L_COSTOU, length(Ifnull(PE_RECALCULO,0)) as L_COSTOREC,PE_CANT * PE_COSTOU AS PE_COSTO_TOT,PE_CANT * IFNULL(PE_RECALCULO,0) AS PE_COSTO_TOTREC, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,length(PE_CANT * IFNULL(PE_RECALCULO,0)) as L_COSTO_TOTREC,PE_PROID, PE_CEDIS, PE_RECCANT FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
+ //BA.debugLineNum = 7185;BA.debugLine="If S.RowCount>0 Then";
if (_s.getRowCount()>0) {
- //BA.debugLineNum = 7182;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7183;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
- //BA.debugLineNum = 7184;BA.debugLine="multiplicador = multiplicador +1";
-_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7185;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
-_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
//BA.debugLineNum = 7186;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7187;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
+ //BA.debugLineNum = 7187;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
+ //BA.debugLineNum = 7188;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7189;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
+ //BA.debugLineNum = 7190;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7191;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7188;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 7192;BA.debugLine="For i=0 To S.RowCount -1";
+{
+final int step45 = 1;
+final int limit45 = (int) (_s.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit45 ;_i = _i + step45 ) {
+ //BA.debugLineNum = 7193;BA.debugLine="S.Position=i";
+_s.setPosition(_i);
+ //BA.debugLineNum = 7195;BA.debugLine="If s.GetDouble(\"PE_RECALCULO\") = 0 Then";
+if (_s.GetDouble("PE_RECALCULO")==0) {
+ //BA.debugLineNum = 7196;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
+if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
+ //BA.debugLineNum = 7197;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7198;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ }else {
+ //BA.debugLineNum = 7200;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7201;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7202;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ //BA.debugLineNum = 7206;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
+_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT"));
+ //BA.debugLineNum = 7207;BA.debugLine="ESPACIO = 92";
+_espacio = (int) (92);
+ //BA.debugLineNum = 7208;BA.debugLine="BLANCO = \" \"";
+_blanco = " ";
+ //BA.debugLineNum = 7209;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+_espacio = (int) (_espacio-_tamano);
+ //BA.debugLineNum = 7210;BA.debugLine="ESPACIO = ESPACIO / 2";
+_espacio = (int) (_espacio/(double)2);
+ //BA.debugLineNum = 7211;BA.debugLine="For E=0 To ESPACIO -1";
+{
+final int step60 = 1;
+final int limit60 = (int) (_espacio-1);
+_e = (int) (0) ;
+for (;_e <= limit60 ;_e = _e + step60 ) {
+ //BA.debugLineNum = 7212;BA.debugLine="BLANCO = \" \" & BLANCO";
+_blanco = " "+_blanco;
+ }
+};
+ //BA.debugLineNum = 7214;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7215;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7216;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT"));
+ };
+ }else if(_s.GetDouble("PE_CANT")==_s.GetDouble("PE_RECCANT")) {
+ //BA.debugLineNum = 7222;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
+if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
+ //BA.debugLineNum = 7223;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7224;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ }else {
+ //BA.debugLineNum = 7226;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7227;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7228;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ //BA.debugLineNum = 7232;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
+_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOREC")+_s.GetLong("L_COSTO_TOTREC"));
+ //BA.debugLineNum = 7233;BA.debugLine="ESPACIO = 92";
+_espacio = (int) (92);
+ //BA.debugLineNum = 7234;BA.debugLine="BLANCO = \" \"";
+_blanco = " ";
+ //BA.debugLineNum = 7235;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+_espacio = (int) (_espacio-_tamano);
+ //BA.debugLineNum = 7236;BA.debugLine="ESPACIO = ESPACIO / 2";
+_espacio = (int) (_espacio/(double)2);
+ //BA.debugLineNum = 7237;BA.debugLine="For E=0 To ESPACIO -1";
+{
+final int step80 = 1;
+final int limit80 = (int) (_espacio-1);
+_e = (int) (0) ;
+for (;_e <= limit80 ;_e = _e + step80 ) {
+ //BA.debugLineNum = 7238;BA.debugLine="BLANCO = \" \" & BLANCO";
+_blanco = " "+_blanco;
+ }
+};
+ //BA.debugLineNum = 7240;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7241;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7242;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_RECALCULO")+_blanco+_s.GetString("PE_COSTO_TOTREC"));
+ };
+ }else if(_s.GetDouble("PE_CANT")!=_s.GetDouble("PE_RECCANT")) {
+ //BA.debugLineNum = 7250;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
+if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
+ //BA.debugLineNum = 7251;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7252;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ }else {
+ //BA.debugLineNum = 7254;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7255;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7256;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ //BA.debugLineNum = 7257;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
+_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOREC")+_s.GetLong("L_COSTO_TOTREC"));
+ //BA.debugLineNum = 7258;BA.debugLine="ESPACIO = 92";
+_espacio = (int) (92);
+ //BA.debugLineNum = 7259;BA.debugLine="BLANCO = \" \"";
+_blanco = " ";
+ //BA.debugLineNum = 7260;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+_espacio = (int) (_espacio-_tamano);
+ //BA.debugLineNum = 7261;BA.debugLine="ESPACIO = ESPACIO / 2";
+_espacio = (int) (_espacio/(double)2);
+ //BA.debugLineNum = 7262;BA.debugLine="For E=0 To ESPACIO -1";
+{
+final int step100 = 1;
+final int limit100 = (int) (_espacio-1);
+_e = (int) (0) ;
+for (;_e <= limit100 ;_e = _e + step100 ) {
+ //BA.debugLineNum = 7263;BA.debugLine="BLANCO = \" \" & BLANCO";
+_blanco = " "+_blanco;
+ }
+};
+ //BA.debugLineNum = 7265;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7266;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7267;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GET";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_RECCANT")+_blanco+_s.GetString("PE_RECALCULO")+_blanco+__c.NumberFormat2(((double)(Double.parseDouble(_s.GetString("PE_RECCANT")))*(double)(Double.parseDouble(_s.GetString("PE_RECALCULO")))),(int) (1),(int) (2),(int) (2),__c.False));
+ };
+ //BA.debugLineNum = 7271;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE";
+if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
+ //BA.debugLineNum = 7272;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7273;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ }else {
+ //BA.debugLineNum = 7275;BA.debugLine="Private subTot As String = (s.GETSTRING(\"PE";
+_subtot = BA.NumberToString(((double)(Double.parseDouble(_s.GetString("PE_CANT")))-(double)(Double.parseDouble(_s.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_s.GetString("PE_COSTOU"))));
+ //BA.debugLineNum = 7276;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBl";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7277;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7278;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ //BA.debugLineNum = 7279;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L";
+_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOTREC"));
+ //BA.debugLineNum = 7280;BA.debugLine="ESPACIO = 92";
+_espacio = (int) (92);
+ //BA.debugLineNum = 7281;BA.debugLine="BLANCO = \" \"";
+_blanco = " ";
+ //BA.debugLineNum = 7282;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+_espacio = (int) (_espacio-_tamano);
+ //BA.debugLineNum = 7283;BA.debugLine="ESPACIO = ESPACIO / 2";
+_espacio = (int) (_espacio/(double)2);
+ //BA.debugLineNum = 7284;BA.debugLine="For E=0 To ESPACIO -1";
+{
+final int step120 = 1;
+final int limit120 = (int) (_espacio-1);
+_e = (int) (0) ;
+for (;_e <= limit120 ;_e = _e + step120 ) {
+ //BA.debugLineNum = 7285;BA.debugLine="BLANCO = \" \" & BLANCO";
+_blanco = " "+_blanco;
+ }
+};
+ //BA.debugLineNum = 7287;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorB";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7288;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7289;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, (s.GE";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,BA.NumberToString(((double)(Double.parseDouble(_s.GetString("PE_CANT")))-(double)(Double.parseDouble(_s.GetString("PE_RECCANT")))))+_blanco+_s.GetString("PE_COSTOU")+_blanco+__c.NumberFormat2((double)(Double.parseDouble(_subtot)),(int) (1),(int) (2),(int) (2),__c.False));
+ };
+ };
+ }
+};
+ //BA.debugLineNum = 7295;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,108-9*6," ");
+ };
+ //BA.debugLineNum = 7297;BA.debugLine="s.Close";
+_s.Close();
+ }else {
+ //BA.debugLineNum = 7300;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
+_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
+ //BA.debugLineNum = 7301;BA.debugLine="If S.RowCount>0 Then";
+if (_s.getRowCount()>0) {
+ //BA.debugLineNum = 7302;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7303;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
+ //BA.debugLineNum = 7304;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7305;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
+ //BA.debugLineNum = 7306;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7307;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
+ //BA.debugLineNum = 7308;BA.debugLine="For i=0 To S.RowCount -1";
+{
+final int step141 = 1;
+final int limit141 = (int) (_s.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit141 ;_i = _i + step141 ) {
+ //BA.debugLineNum = 7309;BA.debugLine="S.Position=i";
+_s.setPosition(_i);
+ //BA.debugLineNum = 7310;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_";
+if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
+ //BA.debugLineNum = 7311;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7312;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ }else {
+ //BA.debugLineNum = 7314;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7315;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7316;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ //BA.debugLineNum = 7320;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_";
+_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT"));
+ //BA.debugLineNum = 7321;BA.debugLine="ESPACIO = 92";
+_espacio = (int) (92);
+ //BA.debugLineNum = 7322;BA.debugLine="BLANCO = \" \"";
+_blanco = " ";
+ //BA.debugLineNum = 7323;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+_espacio = (int) (_espacio-_tamano);
+ //BA.debugLineNum = 7324;BA.debugLine="ESPACIO = ESPACIO / 2";
+_espacio = (int) (_espacio/(double)2);
+ //BA.debugLineNum = 7325;BA.debugLine="For E=0 To ESPACIO -1";
+{
+final int step155 = 1;
+final int limit155 = (int) (_espacio-1);
+_e = (int) (0) ;
+for (;_e <= limit155 ;_e = _e + step155 ) {
+ //BA.debugLineNum = 7326;BA.debugLine="BLANCO = \" \" & BLANCO";
+_blanco = " "+_blanco;
+ }
+};
+ //BA.debugLineNum = 7328;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7329;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7330;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT"));
+ };
+ }
+};
+ //BA.debugLineNum = 7336;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,108-9*6," ");
+ };
+ //BA.debugLineNum = 7338;BA.debugLine="s.Close";
+_s.Close();
+ //BA.debugLineNum = 7339;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT";
+_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
+ //BA.debugLineNum = 7340;BA.debugLine="If S.RowCount>0 Then";
+if (_s.getRowCount()>0) {
+ //BA.debugLineNum = 7341;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7342;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------");
+ //BA.debugLineNum = 7343;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7344;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
+ //BA.debugLineNum = 7345;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7346;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"--------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
+ //BA.debugLineNum = 7347;BA.debugLine="For i=0 To S.RowCount -1";
+{
+final int step174 = 1;
+final int limit174 = (int) (_s.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit174 ;_i = _i + step174 ) {
+ //BA.debugLineNum = 7348;BA.debugLine="S.Position=i";
+_s.setPosition(_i);
+ //BA.debugLineNum = 7349;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_";
+if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
+ //BA.debugLineNum = 7350;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7351;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ }else {
+ //BA.debugLineNum = 7353;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBla";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7354;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7355;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetSt";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
+ //BA.debugLineNum = 7356;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)";
+__c.LogImpl("425952482",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta);
+ //BA.debugLineNum = 7357;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magent";
+__c.LogImpl("425952483",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta);
+ //BA.debugLineNum = 7358;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mag";
+__c.LogImpl("425952484",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta);
+ //BA.debugLineNum = 7359;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_";
+_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT"));
+ //BA.debugLineNum = 7360;BA.debugLine="ESPACIO = 92";
+_espacio = (int) (92);
+ //BA.debugLineNum = 7361;BA.debugLine="BLANCO = \" \"";
+_blanco = " ";
+ //BA.debugLineNum = 7362;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+_espacio = (int) (_espacio-_tamano);
+ //BA.debugLineNum = 7363;BA.debugLine="ESPACIO = ESPACIO / 2";
+_espacio = (int) (_espacio/(double)2);
+ //BA.debugLineNum = 7364;BA.debugLine="For E=0 To ESPACIO -1";
+{
+final int step191 = 1;
+final int limit191 = (int) (_espacio-1);
+_e = (int) (0) ;
+for (;_e <= limit191 ;_e = _e + step191 ) {
+ //BA.debugLineNum = 7365;BA.debugLine="BLANCO = \" \" & BLANCO";
+_blanco = " "+_blanco;
+ }
+};
+ //BA.debugLineNum = 7367;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBl";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7368;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7369;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETS";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT"));
+ };
+ }
+};
+ };
+ };
+ //BA.debugLineNum = 7375;BA.debugLine="s.Close";
+_s.Close();
+ //BA.debugLineNum = 7378;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7379;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7380;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7381;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
+ //BA.debugLineNum = 7390;BA.debugLine="s=skmt.ExecQuery(\"select SUM(PE_COSTO_TOT) AS TO";
+_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
+ //BA.debugLineNum = 7391;BA.debugLine="s.Position =0";
+_s.setPosition((int) (0));
+ //BA.debugLineNum = 7392;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7393;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Subtotal p";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Subtotal preventa: $"+_s.GetString("TOTAL"));
+ //BA.debugLineNum = 7395;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"})));
+ //BA.debugLineNum = 7396;BA.debugLine="C.Position=0";
+_c.setPosition((int) (0));
+ //BA.debugLineNum = 7397;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7398;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total articulos preventa: "+_c.GetString("PC_NOART"));
+ //BA.debugLineNum = 7401;BA.debugLine="Dim s3 As Cursor =skmt.ExecQuery(\"select IFNULL(";
+_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select IFNULL(SUM(PE_COSTO_TOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) = 0")));
+ //BA.debugLineNum = 7402;BA.debugLine="s3.Position =0";
+_s3.setPosition((int) (0));
+ //BA.debugLineNum = 7403;BA.debugLine="S2=skmt.ExecQuery(\"select IFNULL(SUM(PE_RECALCUL";
+_s2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select IFNULL(SUM(PE_RECALCULOTOT),0) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and IFNULL(PE_RECALCULO,0) <> 0")));
+ //BA.debugLineNum = 7404;BA.debugLine="S2.Position =0";
+_s2.setPosition((int) (0));
+ //BA.debugLineNum = 7406;BA.debugLine="If NumberFormat2((s3.GetString(\"TOTAL\") + S2.Get";
+if ((__c.NumberFormat2(((double)(Double.parseDouble(_s3.GetString("TOTAL")))+(double)(Double.parseDouble(_s2.GetString("TOTAL")))),(int) (0),(int) (2),(int) (2),__c.False)).equals(_s.GetString("TOTAL")) == false) {
+ //BA.debugLineNum = 7407;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7408;BA.debugLine="Log(s.GetString(\"TOTAL\") & \"|\" & Subs.calculaTo";
+__c.LogImpl("425952534",_s.GetString("TOTAL")+"|"+_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)),0);
+ //BA.debugLineNum = 7409;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Descuento: $"+__c.NumberFormat2((double)(Double.parseDouble(_s.GetString("TOTAL")))-(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False));
+ };
+ //BA.debugLineNum = 7412;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7414;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total Prev";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total Preventa: $"+__c.NumberFormat2((double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_subs._traecliente /*String*/ (ba)))),(int) (0),(int) (2),(int) (2),__c.False));
+ };
+ //BA.debugLineNum = 7422;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7423;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
+ //BA.debugLineNum = 7424;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7425;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------");
+ //BA.debugLineNum = 7426;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7427;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------");
+ //BA.debugLineNum = 7428;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7429;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------");
+ //BA.debugLineNum = 7430;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7431;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
+ //BA.debugLineNum = 7432;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7433;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7434;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7435;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7436;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7437;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7438;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7439;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7440;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7441;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7442;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7443;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7453;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\"";
+__c.DateTime.setDateFormat("ddmmyyyy");
+ //BA.debugLineNum = 7454;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
+__c.DateTime.setTimeFormat("HHmmss");
+ //BA.debugLineNum = 7455;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+_sdate = __c.DateTime.Date(__c.DateTime.getNow());
+ //BA.debugLineNum = 7456;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+_stime = __c.DateTime.Time(__c.DateTime.getNow());
+ //BA.debugLineNum = 7457;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\"";
+_archivoticketpdf = _sdate+_stime+".pdf";
+ //BA.debugLineNum = 7459;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways";
+_savepdf(_pdf,_archivoticketpdf,_pdf._compressalways /*int*/ );
+ //BA.debugLineNum = 7462;BA.debugLine="End Sub";
+return "";
+}
+public String _pdfgenerar2() throws Exception{
+gunav2.keymon.com.mx.cpdf _pdf = null;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null;
+double _pagina = 0;
+int _multiplicador = 0;
+int _i = 0;
+int _e = 0;
+ //BA.debugLineNum = 7464;BA.debugLine="Private Sub PDFGENERAR2";
+ //BA.debugLineNum = 7465;BA.debugLine="ESPACIO = 0";
+_espacio = (int) (0);
+ //BA.debugLineNum = 7466;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+__c.DateTime.setDateFormat("MM/dd/yyyy");
+ //BA.debugLineNum = 7467;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
+__c.DateTime.setTimeFormat("HH:mm:ss");
+ //BA.debugLineNum = 7468;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+_sdate = __c.DateTime.Date(__c.DateTime.getNow());
+ //BA.debugLineNum = 7469;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+_stime = __c.DateTime.Time(__c.DateTime.getNow());
+ //BA.debugLineNum = 7470;BA.debugLine="Dim PDF As cPDF";
+_pdf = new gunav2.keymon.com.mx.cpdf();
+ //BA.debugLineNum = 7472;BA.debugLine="PDF.Initialize(\"mm\")";
+_pdf._initialize /*gunav2.keymon.com.mx.cpdf*/ (ba,"mm");
+ //BA.debugLineNum = 7474;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _";
+_pdf._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*gunav2.keymon.com.mx.cpdf*/ (_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform");
+ //BA.debugLineNum = 7479;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON";
+_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
+ //BA.debugLineNum = 7480;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR";
+_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
+ //BA.debugLineNum = 7482;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +";
+_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+12;
+ //BA.debugLineNum = 7484;BA.debugLine="Dim multiplicador As Int = 0";
+_multiplicador = (int) (0);
+ //BA.debugLineNum = 7485;BA.debugLine="PDF.pageAdd(-300,pagina)";
+_pdf._pageadd /*gunav2.keymon.com.mx.cpdf*/ (-300,_pagina);
+ //BA.debugLineNum = 7488;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)";
+_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
+ //BA.debugLineNum = 7490;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"guna-fondo.jpg\",1";
+_pdf._outimage /*gunav2.keymon.com.mx.cpdf*/ (_xui.getDefaultFolder(),"guna-fondo.jpg",1,_pagina-45,45,0);
+ //BA.debugLineNum = 7491;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7492;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"GUNA\")";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"GUNA");
+ //BA.debugLineNum = 7493;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7494;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_sdate+" "+_stime);
+ //BA.debugLineNum = 7495;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7496;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\"";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba));
+ //BA.debugLineNum = 7497;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7498;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Tienda: "+_la_nombre.getText());
+ //BA.debugLineNum = 7499;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7500;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"ID.Cliente: "+_la_cuenta.getText());
+ //BA.debugLineNum = 7501;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7502;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Calle: "+_la_calle.getText());
+ //BA.debugLineNum = 7503;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7504;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \"";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Colonia: "+_la_col.getText());
+ //BA.debugLineNum = 7505;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7506;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7507;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7508;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
+ //BA.debugLineNum = 7509;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"})));
+ //BA.debugLineNum = 7510;BA.debugLine="If c.RowCount > 0 Then";
+if (_c.getRowCount()>0) {
+ //BA.debugLineNum = 7511;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
+_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"})));
+ //BA.debugLineNum = 7512;BA.debugLine="If S.RowCount>0 Then";
+if (_s.getRowCount()>0) {
+ //BA.debugLineNum = 7513;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7514;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------");
+ //BA.debugLineNum = 7515;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7516;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
+ //BA.debugLineNum = 7517;BA.debugLine="multiplicador = multiplicador +1";
+_multiplicador = (int) (_multiplicador+1);
+ //BA.debugLineNum = 7518;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
+_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
+ //BA.debugLineNum = 7519;BA.debugLine="For i=0 To S.RowCount -1";
{
final int step44 = 1;
final int limit44 = (int) (_s.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit44 ;_i = _i + step44 ) {
- //BA.debugLineNum = 7189;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 7520;BA.debugLine="S.Position=i";
_s.setPosition(_i);
- //BA.debugLineNum = 7190;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P";
+ //BA.debugLineNum = 7521;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P";
if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
- //BA.debugLineNum = 7191;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7522;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7192;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
+ //BA.debugLineNum = 7523;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
}else {
- //BA.debugLineNum = 7194;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac";
+ //BA.debugLineNum = 7525;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 7195;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7526;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7196;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
+ //BA.debugLineNum = 7527;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- //BA.debugLineNum = 7200;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C";
+ //BA.debugLineNum = 7531;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C";
_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT"));
- //BA.debugLineNum = 7201;BA.debugLine="ESPACIO = 92";
+ //BA.debugLineNum = 7532;BA.debugLine="ESPACIO = 92";
_espacio = (int) (92);
- //BA.debugLineNum = 7202;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 7533;BA.debugLine="BLANCO = \" \"";
_blanco = " ";
- //BA.debugLineNum = 7203;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 7534;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
_espacio = (int) (_espacio-_tamano);
- //BA.debugLineNum = 7204;BA.debugLine="ESPACIO = ESPACIO / 2";
+ //BA.debugLineNum = 7535;BA.debugLine="ESPACIO = ESPACIO / 2";
_espacio = (int) (_espacio/(double)2);
- //BA.debugLineNum = 7205;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 7536;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step58 = 1;
final int limit58 = (int) (_espacio-1);
_e = (int) (0) ;
for (;_e <= limit58 ;_e = _e + step58 ) {
- //BA.debugLineNum = 7206;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 7537;BA.debugLine="BLANCO = \" \" & BLANCO";
_blanco = " "+_blanco;
}
};
- //BA.debugLineNum = 7208;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla";
+ //BA.debugLineNum = 7539;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 7209;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7540;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7210;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST";
+ //BA.debugLineNum = 7541;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT"));
};
}
};
- //BA.debugLineNum = 7216;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
+ //BA.debugLineNum = 7547;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,108-9*6," ");
};
- //BA.debugLineNum = 7218;BA.debugLine="s.Close";
+ //BA.debugLineNum = 7549;BA.debugLine="s.Close";
_s.Close();
- //BA.debugLineNum = 7219;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
+ //BA.debugLineNum = 7550;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,";
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 7220;BA.debugLine="If S.RowCount>0 Then";
+ //BA.debugLineNum = 7551;BA.debugLine="If S.RowCount>0 Then";
if (_s.getRowCount()>0) {
- //BA.debugLineNum = 7221;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7552;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7222;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
+ //BA.debugLineNum = 7553;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------");
- //BA.debugLineNum = 7223;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7554;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7224;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
+ //BA.debugLineNum = 7555;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant.";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe");
- //BA.debugLineNum = 7225;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7556;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7226;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
+ //BA.debugLineNum = 7557;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7227;BA.debugLine="For i=0 To S.RowCount -1";
+ //BA.debugLineNum = 7558;BA.debugLine="For i=0 To S.RowCount -1";
{
final int step77 = 1;
final int limit77 = (int) (_s.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit77 ;_i = _i + step77 ) {
- //BA.debugLineNum = 7228;BA.debugLine="S.Position=i";
+ //BA.debugLineNum = 7559;BA.debugLine="S.Position=i";
_s.setPosition(_i);
- //BA.debugLineNum = 7229;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P";
+ //BA.debugLineNum = 7560;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P";
if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) {
- //BA.debugLineNum = 7230;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7561;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7231;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
+ //BA.debugLineNum = 7562;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
}else {
- //BA.debugLineNum = 7233;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac";
+ //BA.debugLineNum = 7564;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 7234;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7565;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7235;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
+ //BA.debugLineNum = 7566;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE"));
- //BA.debugLineNum = 7236;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)";
-__c.LogImpl("725886823",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta);
- //BA.debugLineNum = 7237;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta";
-__c.LogImpl("725886824",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta);
- //BA.debugLineNum = 7238;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage";
-__c.LogImpl("725886825",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta);
- //BA.debugLineNum = 7239;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C";
+ //BA.debugLineNum = 7567;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)";
+__c.LogImpl("426017895",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta);
+ //BA.debugLineNum = 7568;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta";
+__c.LogImpl("426017896",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta);
+ //BA.debugLineNum = 7569;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage";
+__c.LogImpl("426017897",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta);
+ //BA.debugLineNum = 7570;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C";
_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT"));
- //BA.debugLineNum = 7240;BA.debugLine="ESPACIO = 92";
+ //BA.debugLineNum = 7571;BA.debugLine="ESPACIO = 92";
_espacio = (int) (92);
- //BA.debugLineNum = 7241;BA.debugLine="BLANCO = \" \"";
+ //BA.debugLineNum = 7572;BA.debugLine="BLANCO = \" \"";
_blanco = " ";
- //BA.debugLineNum = 7242;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
+ //BA.debugLineNum = 7573;BA.debugLine="ESPACIO = ESPACIO - TAMANO";
_espacio = (int) (_espacio-_tamano);
- //BA.debugLineNum = 7243;BA.debugLine="ESPACIO = ESPACIO / 2";
+ //BA.debugLineNum = 7574;BA.debugLine="ESPACIO = ESPACIO / 2";
_espacio = (int) (_espacio/(double)2);
- //BA.debugLineNum = 7244;BA.debugLine="For E=0 To ESPACIO -1";
+ //BA.debugLineNum = 7575;BA.debugLine="For E=0 To ESPACIO -1";
{
final int step94 = 1;
final int limit94 = (int) (_espacio-1);
_e = (int) (0) ;
for (;_e <= limit94 ;_e = _e + step94 ) {
- //BA.debugLineNum = 7245;BA.debugLine="BLANCO = \" \" & BLANCO";
+ //BA.debugLineNum = 7576;BA.debugLine="BLANCO = \" \" & BLANCO";
_blanco = " "+_blanco;
}
};
- //BA.debugLineNum = 7247;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla";
+ //BA.debugLineNum = 7578;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla";
_pdf._sfont /*gunav2.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ );
- //BA.debugLineNum = 7248;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7579;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7249;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST";
+ //BA.debugLineNum = 7580;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT"));
};
}
};
};
- //BA.debugLineNum = 7253;BA.debugLine="s.Close";
+ //BA.debugLineNum = 7584;BA.debugLine="s.Close";
_s.Close();
- //BA.debugLineNum = 7256;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7587;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7257;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+ //BA.debugLineNum = 7588;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7258;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7589;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7259;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------";
+ //BA.debugLineNum = 7590;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7260;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T";
+ //BA.debugLineNum = 7591;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T";
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 7261;BA.debugLine="s.Position =0";
+ //BA.debugLineNum = 7592;BA.debugLine="s.Position =0";
_s.setPosition((int) (0));
- //BA.debugLineNum = 7264;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7595;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7265;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento:";
+ //BA.debugLineNum = 7596;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Descuento:";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Descuento: $"+BA.NumberToString(150));
- //BA.debugLineNum = 7266;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7597;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7267;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total prev";
+ //BA.debugLineNum = 7598;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total prev";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total preventa: $"+BA.NumberToString(((double)(Double.parseDouble(_s.GetString("TOTAL")))-150)));
- //BA.debugLineNum = 7268;BA.debugLine="s.Close";
+ //BA.debugLineNum = 7599;BA.debugLine="s.Close";
_s.Close();
- //BA.debugLineNum = 7269;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO";
+ //BA.debugLineNum = 7600;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"})));
- //BA.debugLineNum = 7270;BA.debugLine="C.Position=0";
+ //BA.debugLineNum = 7601;BA.debugLine="C.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 7271;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7602;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7272;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti";
+ //BA.debugLineNum = 7603;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total articulos preventa: "+_c.GetString("PC_NOART"));
- //BA.debugLineNum = 7273;BA.debugLine="c.Close";
+ //BA.debugLineNum = 7604;BA.debugLine="c.Close";
_c.Close();
};
- //BA.debugLineNum = 7277;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7608;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7278;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+ //BA.debugLineNum = 7609;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7279;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7610;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7280;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+ //BA.debugLineNum = 7611;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------");
- //BA.debugLineNum = 7281;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7612;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7282;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+ //BA.debugLineNum = 7613;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------");
- //BA.debugLineNum = 7283;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7614;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7284;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+ //BA.debugLineNum = 7615;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------");
- //BA.debugLineNum = 7285;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7616;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7286;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+ //BA.debugLineNum = 7617;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7287;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7618;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7288;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+ //BA.debugLineNum = 7619;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7289;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7620;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7290;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+ //BA.debugLineNum = 7621;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7291;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7622;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7292;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+ //BA.debugLineNum = 7623;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7293;BA.debugLine="multiplicador = multiplicador +1";
+ //BA.debugLineNum = 7624;BA.debugLine="multiplicador = multiplicador +1";
_multiplicador = (int) (_multiplicador+1);
- //BA.debugLineNum = 7294;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
+ //BA.debugLineNum = 7625;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," ");
- //BA.debugLineNum = 7296;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
+ //BA.debugLineNum = 7627;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------";
_pdf._outtext /*gunav2.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------");
- //BA.debugLineNum = 7304;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\"";
+ //BA.debugLineNum = 7635;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\"";
__c.DateTime.setDateFormat("ddmmyyyy");
- //BA.debugLineNum = 7305;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
+ //BA.debugLineNum = 7636;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
__c.DateTime.setTimeFormat("HHmmss");
- //BA.debugLineNum = 7306;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 7637;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 7307;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 7638;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 7308;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\"";
+ //BA.debugLineNum = 7639;BA.debugLine="archivoTicketPDF = sDate&sTime&\".pdf\"";
_archivoticketpdf = _sdate+_stime+".pdf";
- //BA.debugLineNum = 7310;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways";
+ //BA.debugLineNum = 7641;BA.debugLine="savePDF(PDF, archivoTicketPDF, PDF.CompressAlways";
_savepdf(_pdf,_archivoticketpdf,_pdf._compressalways /*int*/ );
- //BA.debugLineNum = 7313;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7644;BA.debugLine="End Sub";
return "";
}
public String _pnlplanlealtad_click() throws Exception{
- //BA.debugLineNum = 7850;BA.debugLine="Private Sub pnlPlanLealtad_Click";
- //BA.debugLineNum = 7852;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8181;BA.debugLine="Private Sub pnlPlanLealtad_Click";
+ //BA.debugLineNum = 8183;BA.debugLine="End Sub";
return "";
}
public String _printer_connected(boolean _success) throws Exception{
- //BA.debugLineNum = 4566;BA.debugLine="Sub Printer_Connected (Success As Boolean)";
- //BA.debugLineNum = 4567;BA.debugLine="If Success Then";
+ //BA.debugLineNum = 4897;BA.debugLine="Sub Printer_Connected (Success As Boolean)";
+ //BA.debugLineNum = 4898;BA.debugLine="If Success Then";
if (_success) {
}else {
- //BA.debugLineNum = 4572;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel";
+ //BA.debugLineNum = 4903;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel";
if (__c.Msgbox2(BA.ObjectToCharSequence(""),BA.ObjectToCharSequence("Printer Error"),"Reprint","Cancel","",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) {
- //BA.debugLineNum = 4573;BA.debugLine="StartPrinter";
+ //BA.debugLineNum = 4904;BA.debugLine="StartPrinter";
_startprinter();
};
};
- //BA.debugLineNum = 4576;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4907;BA.debugLine="End Sub";
return "";
}
public String _printer1_connected(boolean _success) throws Exception{
- //BA.debugLineNum = 4541;BA.debugLine="Sub Printer1_Connected (Success As Boolean)";
- //BA.debugLineNum = 4543;BA.debugLine="If Success Then";
+ //BA.debugLineNum = 4872;BA.debugLine="Sub Printer1_Connected (Success As Boolean)";
+ //BA.debugLineNum = 4874;BA.debugLine="If Success Then";
if (_success) {
- //BA.debugLineNum = 4544;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)";
+ //BA.debugLineNum = 4875;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False);
- //BA.debugLineNum = 4545;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI";
+ //BA.debugLineNum = 4876;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VARI";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")}));
- //BA.debugLineNum = 4546;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI";
+ //BA.debugLineNum = 4877;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VARI";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )}));
- //BA.debugLineNum = 4549;BA.debugLine="impresoraConectada = True";
+ //BA.debugLineNum = 4880;BA.debugLine="impresoraConectada = True";
_impresoraconectada = __c.True;
}else {
- //BA.debugLineNum = 4553;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
-__c.LogImpl("717956876","Error conectando la impresora",__c.Colors.Red);
- //BA.debugLineNum = 4554;BA.debugLine="errorImpresora = errorImpresora + 1";
+ //BA.debugLineNum = 4884;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors";
+__c.LogImpl("418087948","Error conectando la impresora",__c.Colors.Red);
+ //BA.debugLineNum = 4885;BA.debugLine="errorImpresora = errorImpresora + 1";
_errorimpresora = (int) (_errorimpresora+1);
- //BA.debugLineNum = 4555;BA.debugLine="If errorImpresora > 1 Then";
+ //BA.debugLineNum = 4886;BA.debugLine="If errorImpresora > 1 Then";
if (_errorimpresora>1) {
- //BA.debugLineNum = 4556;BA.debugLine="Starter.MAC_IMPRESORA = \"0\"";
+ //BA.debugLineNum = 4887;BA.debugLine="Starter.MAC_IMPRESORA = \"0\"";
_starter._mac_impresora /*String*/ = "0";
- //BA.debugLineNum = 4557;BA.debugLine="errorImpresora = 0";
+ //BA.debugLineNum = 4888;BA.debugLine="errorImpresora = 0";
_errorimpresora = (int) (0);
};
};
- //BA.debugLineNum = 4560;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4891;BA.debugLine="End Sub";
return "";
}
public String _printer1_error() throws Exception{
- //BA.debugLineNum = 4562;BA.debugLine="Sub Printer1_Error";
- //BA.debugLineNum = 4563;BA.debugLine="Log(\"error printer\")";
-__c.LogImpl("718022401","error printer",0);
- //BA.debugLineNum = 4564;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4893;BA.debugLine="Sub Printer1_Error";
+ //BA.debugLineNum = 4894;BA.debugLine="Log(\"error printer\")";
+__c.LogImpl("418153473","error printer",0);
+ //BA.debugLineNum = 4895;BA.debugLine="End Sub";
return "";
}
public String _radiobutton1_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4799;BA.debugLine="Private Sub RadioButton1_CheckedChange(Checked As";
- //BA.debugLineNum = 4800;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5130;BA.debugLine="Private Sub RadioButton1_CheckedChange(Checked As";
+ //BA.debugLineNum = 5131;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4801;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719333122",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4802;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5132;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419464194",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5133;BA.debugLine="End Sub";
return "";
}
public String _radiobutton10_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4851;BA.debugLine="Private Sub RadioButton10_CheckedChange(Checked As";
- //BA.debugLineNum = 4852;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5182;BA.debugLine="Private Sub RadioButton10_CheckedChange(Checked As";
+ //BA.debugLineNum = 5183;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4853;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719922946",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4854;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5184;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420054018",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5185;BA.debugLine="End Sub";
return "";
}
public String _radiobutton11_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4856;BA.debugLine="Private Sub RadioButton11_CheckedChange(Checked As";
- //BA.debugLineNum = 4857;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5187;BA.debugLine="Private Sub RadioButton11_CheckedChange(Checked As";
+ //BA.debugLineNum = 5188;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4858;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719988482",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4859;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5189;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420119554",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5190;BA.debugLine="End Sub";
return "";
}
public String _radiobutton12_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4861;BA.debugLine="Private Sub RadioButton12_CheckedChange(Checked As";
- //BA.debugLineNum = 4862;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5192;BA.debugLine="Private Sub RadioButton12_CheckedChange(Checked As";
+ //BA.debugLineNum = 5193;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4863;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720054018",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4864;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5194;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420185090",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5195;BA.debugLine="End Sub";
return "";
}
public String _radiobutton13_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4866;BA.debugLine="Private Sub RadioButton13_CheckedChange(Checked As";
- //BA.debugLineNum = 4867;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5197;BA.debugLine="Private Sub RadioButton13_CheckedChange(Checked As";
+ //BA.debugLineNum = 5198;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4868;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720119554",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4869;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5199;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420250626",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5200;BA.debugLine="End Sub";
return "";
}
public String _radiobutton14_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4871;BA.debugLine="Private Sub RadioButton14_CheckedChange(Checked As";
- //BA.debugLineNum = 4872;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5202;BA.debugLine="Private Sub RadioButton14_CheckedChange(Checked As";
+ //BA.debugLineNum = 5203;BA.debugLine="encuentasmapa.Put(\"P5\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P5"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4873;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("720185090",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4874;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5204;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("420316162",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5205;BA.debugLine="End Sub";
return "";
}
public String _radiobutton15_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4791;BA.debugLine="Private Sub RadioButton15_CheckedChange(Checked As";
- //BA.debugLineNum = 4792;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5122;BA.debugLine="Private Sub RadioButton15_CheckedChange(Checked As";
+ //BA.debugLineNum = 5123;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4793;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719267586",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4794;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5124;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419398658",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5125;BA.debugLine="End Sub";
return "";
}
public String _radiobutton16_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4786;BA.debugLine="Private Sub RadioButton16_CheckedChange(Checked As";
- //BA.debugLineNum = 4787;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5117;BA.debugLine="Private Sub RadioButton16_CheckedChange(Checked As";
+ //BA.debugLineNum = 5118;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4788;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719202050",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4789;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5119;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419333122",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5120;BA.debugLine="End Sub";
return "";
}
public String _radiobutton17_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4781;BA.debugLine="Private Sub RadioButton17_CheckedChange(Checked As";
- //BA.debugLineNum = 4782;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5112;BA.debugLine="Private Sub RadioButton17_CheckedChange(Checked As";
+ //BA.debugLineNum = 5113;BA.debugLine="encuentasmapa.Put(\"P2\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P2"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4783;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719136514",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4784;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5114;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419267586",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5115;BA.debugLine="End Sub";
return "";
}
public String _radiobutton2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4804;BA.debugLine="Private Sub RadioButton2_CheckedChange(Checked As";
- //BA.debugLineNum = 4805;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5135;BA.debugLine="Private Sub RadioButton2_CheckedChange(Checked As";
+ //BA.debugLineNum = 5136;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4806;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719398658",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4807;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5137;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419529730",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5138;BA.debugLine="End Sub";
return "";
}
public String _radiobutton3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4809;BA.debugLine="Private Sub RadioButton3_CheckedChange(Checked As";
- //BA.debugLineNum = 4810;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5140;BA.debugLine="Private Sub RadioButton3_CheckedChange(Checked As";
+ //BA.debugLineNum = 5141;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4811;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719464194",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4812;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5142;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419595266",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5143;BA.debugLine="End Sub";
return "";
}
public String _radiobutton4_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4814;BA.debugLine="Private Sub RadioButton4_CheckedChange(Checked As";
- //BA.debugLineNum = 4815;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5145;BA.debugLine="Private Sub RadioButton4_CheckedChange(Checked As";
+ //BA.debugLineNum = 5146;BA.debugLine="encuentasmapa.Put(\"P3\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P3"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4816;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719529730",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4817;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5147;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419660802",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5148;BA.debugLine="End Sub";
return "";
}
public String _radiobutton5_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4822;BA.debugLine="Private Sub RadioButton5_CheckedChange(Checked As";
- //BA.debugLineNum = 4823;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5153;BA.debugLine="Private Sub RadioButton5_CheckedChange(Checked As";
+ //BA.debugLineNum = 5154;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4824;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719595266",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4825;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5155;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419726338",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5156;BA.debugLine="End Sub";
return "";
}
public String _radiobutton6_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4827;BA.debugLine="Private Sub RadioButton6_CheckedChange(Checked As";
- //BA.debugLineNum = 4828;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5158;BA.debugLine="Private Sub RadioButton6_CheckedChange(Checked As";
+ //BA.debugLineNum = 5159;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4829;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719660802",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4830;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5160;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419791874",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5161;BA.debugLine="End Sub";
return "";
}
public String _radiobutton7_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4832;BA.debugLine="Private Sub RadioButton7_CheckedChange(Checked As";
- //BA.debugLineNum = 4833;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5163;BA.debugLine="Private Sub RadioButton7_CheckedChange(Checked As";
+ //BA.debugLineNum = 5164;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4834;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719726338",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4835;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5165;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419857410",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5166;BA.debugLine="End Sub";
return "";
}
public String _radiobutton8_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4837;BA.debugLine="Private Sub RadioButton8_CheckedChange(Checked As";
- //BA.debugLineNum = 4838;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5168;BA.debugLine="Private Sub RadioButton8_CheckedChange(Checked As";
+ //BA.debugLineNum = 5169;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4839;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719791874",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4840;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5170;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419922946",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5171;BA.debugLine="End Sub";
return "";
}
public String _radiobutton9_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4842;BA.debugLine="Private Sub RadioButton9_CheckedChange(Checked As";
- //BA.debugLineNum = 4843;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5173;BA.debugLine="Private Sub RadioButton9_CheckedChange(Checked As";
+ //BA.debugLineNum = 5174;BA.debugLine="encuentasmapa.Put(\"P4\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P4"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4844;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719857410",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4845;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5175;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419988482",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5176;BA.debugLine="End Sub";
return "";
}
public String _rb1_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4692;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)";
- //BA.debugLineNum = 4693;BA.debugLine="If RB1.Checked = True Then";
+ //BA.debugLineNum = 5023;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)";
+ //BA.debugLineNum = 5024;BA.debugLine="If RB1.Checked = True Then";
if (_rb1.getChecked()==__c.True) {
- //BA.debugLineNum = 4694;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\"";
+ //BA.debugLineNum = 5025;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\"";
_e_res_e.setText(BA.ObjectToCharSequence("CENTRAL DE ABASTOS"));
};
- //BA.debugLineNum = 4696;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5027;BA.debugLine="End Sub";
return "";
}
public String _rb1_e1_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4745;BA.debugLine="Private Sub RB1_E1_CheckedChange(Checked As Boolea";
- //BA.debugLineNum = 4746;BA.debugLine="Log($\"RB1 Clicked - chk:${Sender.As(RadioButton).";
-__c.LogImpl("718939905",("RB1 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
- //BA.debugLineNum = 4747;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5076;BA.debugLine="Private Sub RB1_E1_CheckedChange(Checked As Boolea";
+ //BA.debugLineNum = 5077;BA.debugLine="Log($\"RB1 Clicked - chk:${Sender.As(RadioButton).";
+__c.LogImpl("419070977",("RB1 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
+ //BA.debugLineNum = 5078;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4748;BA.debugLine="encuentasmapa.Remove(\"P2\")";
+ //BA.debugLineNum = 5079;BA.debugLine="encuentasmapa.Remove(\"P2\")";
_encuentasmapa.Remove((Object)("P2"));
- //BA.debugLineNum = 4749;BA.debugLine="Panel7.Visible = False";
+ //BA.debugLineNum = 5080;BA.debugLine="Panel7.Visible = False";
_panel7.setVisible(__c.False);
- //BA.debugLineNum = 4750;BA.debugLine="RadioButton17.Checked = False";
+ //BA.debugLineNum = 5081;BA.debugLine="RadioButton17.Checked = False";
_radiobutton17.setChecked(__c.False);
- //BA.debugLineNum = 4751;BA.debugLine="RadioButton16.Checked = False";
+ //BA.debugLineNum = 5082;BA.debugLine="RadioButton16.Checked = False";
_radiobutton16.setChecked(__c.False);
- //BA.debugLineNum = 4752;BA.debugLine="RadioButton15.Checked = False";
+ //BA.debugLineNum = 5083;BA.debugLine="RadioButton15.Checked = False";
_radiobutton15.setChecked(__c.False);
- //BA.debugLineNum = 4753;BA.debugLine="encuentasmapa.Remove(\"P2\")";
+ //BA.debugLineNum = 5084;BA.debugLine="encuentasmapa.Remove(\"P2\")";
_encuentasmapa.Remove((Object)("P2"));
- //BA.debugLineNum = 4754;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("718939913",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4755;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5085;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419070985",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5086;BA.debugLine="End Sub";
return "";
}
public String _rb1_p4_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5625;BA.debugLine="Private Sub RB1_P4_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5626;BA.debugLine="If RB1_P4_M2.Checked = True Then";
+ //BA.debugLineNum = 5956;BA.debugLine="Private Sub RB1_P4_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5957;BA.debugLine="If RB1_P4_M2.Checked = True Then";
if (_rb1_p4_m2.getChecked()==__c.True) {
- //BA.debugLineNum = 5627;BA.debugLine="Panel7_M2.Visible = True";
+ //BA.debugLineNum = 5958;BA.debugLine="Panel7_M2.Visible = True";
_panel7_m2.setVisible(__c.True);
- //BA.debugLineNum = 5628;BA.debugLine="panel7_p4_m2.Visible = True";
+ //BA.debugLineNum = 5959;BA.debugLine="panel7_p4_m2.Visible = True";
_panel7_p4_m2.setVisible(__c.True);
}else {
- //BA.debugLineNum = 5630;BA.debugLine="Panel7_M2.Visible = False";
+ //BA.debugLineNum = 5961;BA.debugLine="Panel7_M2.Visible = False";
_panel7_m2.setVisible(__c.False);
- //BA.debugLineNum = 5631;BA.debugLine="panel7_p4_m2.Visible = False";
+ //BA.debugLineNum = 5962;BA.debugLine="panel7_p4_m2.Visible = False";
_panel7_p4_m2.setVisible(__c.False);
};
- //BA.debugLineNum = 5634;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5965;BA.debugLine="End Sub";
return "";
}
public String _rb2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4698;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)";
- //BA.debugLineNum = 4699;BA.debugLine="If RB2.Checked = True Then";
+ //BA.debugLineNum = 5029;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)";
+ //BA.debugLineNum = 5030;BA.debugLine="If RB2.Checked = True Then";
if (_rb2.getChecked()==__c.True) {
- //BA.debugLineNum = 4700;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\"";
+ //BA.debugLineNum = 5031;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\"";
_e_res_e.setText(BA.ObjectToCharSequence("AUTOSERVICIO"));
};
- //BA.debugLineNum = 4702;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5033;BA.debugLine="End Sub";
return "";
}
public String _rb2_e1_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4757;BA.debugLine="Private Sub RB2_E1_CheckedChange(Checked As Boolea";
- //BA.debugLineNum = 4758;BA.debugLine="Log($\"RB2 Clicked - chk:${Sender.As(RadioButton).";
-__c.LogImpl("719005441",("RB2 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
- //BA.debugLineNum = 4759;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5088;BA.debugLine="Private Sub RB2_E1_CheckedChange(Checked As Boolea";
+ //BA.debugLineNum = 5089;BA.debugLine="Log($\"RB2 Clicked - chk:${Sender.As(RadioButton).";
+__c.LogImpl("419136513",("RB2 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
+ //BA.debugLineNum = 5090;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4760;BA.debugLine="RadioButton17.Checked = False";
+ //BA.debugLineNum = 5091;BA.debugLine="RadioButton17.Checked = False";
_radiobutton17.setChecked(__c.False);
- //BA.debugLineNum = 4761;BA.debugLine="encuentasmapa.Remove(\"P2\")";
+ //BA.debugLineNum = 5092;BA.debugLine="encuentasmapa.Remove(\"P2\")";
_encuentasmapa.Remove((Object)("P2"));
- //BA.debugLineNum = 4762;BA.debugLine="RadioButton17.Checked = False";
+ //BA.debugLineNum = 5093;BA.debugLine="RadioButton17.Checked = False";
_radiobutton17.setChecked(__c.False);
- //BA.debugLineNum = 4763;BA.debugLine="RadioButton16.Checked = False";
+ //BA.debugLineNum = 5094;BA.debugLine="RadioButton16.Checked = False";
_radiobutton16.setChecked(__c.False);
- //BA.debugLineNum = 4764;BA.debugLine="RadioButton15.Checked = False";
+ //BA.debugLineNum = 5095;BA.debugLine="RadioButton15.Checked = False";
_radiobutton15.setChecked(__c.False);
- //BA.debugLineNum = 4765;BA.debugLine="Panel7.Visible = False";
+ //BA.debugLineNum = 5096;BA.debugLine="Panel7.Visible = False";
_panel7.setVisible(__c.False);
- //BA.debugLineNum = 4766;BA.debugLine="encuentasmapa.Remove(\"P2\")";
+ //BA.debugLineNum = 5097;BA.debugLine="encuentasmapa.Remove(\"P2\")";
_encuentasmapa.Remove((Object)("P2"));
- //BA.debugLineNum = 4767;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719005450",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4768;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5098;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419136522",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5099;BA.debugLine="End Sub";
return "";
}
public String _rb2_p4_m2_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 5636;BA.debugLine="Private Sub RB2_P4_M2_CheckedChange(Checked As Boo";
- //BA.debugLineNum = 5637;BA.debugLine="If RB2_P4_M2.Checked = True Then";
+ //BA.debugLineNum = 5967;BA.debugLine="Private Sub RB2_P4_M2_CheckedChange(Checked As Boo";
+ //BA.debugLineNum = 5968;BA.debugLine="If RB2_P4_M2.Checked = True Then";
if (_rb2_p4_m2.getChecked()==__c.True) {
- //BA.debugLineNum = 5638;BA.debugLine="Panel7_M2.Visible = False";
+ //BA.debugLineNum = 5969;BA.debugLine="Panel7_M2.Visible = False";
_panel7_m2.setVisible(__c.False);
- //BA.debugLineNum = 5639;BA.debugLine="panel7_p4_m2.Visible = False";
+ //BA.debugLineNum = 5970;BA.debugLine="panel7_p4_m2.Visible = False";
_panel7_p4_m2.setVisible(__c.False);
- //BA.debugLineNum = 5640;BA.debugLine="RB1_P3_M2.Checked = False";
+ //BA.debugLineNum = 5971;BA.debugLine="RB1_P3_M2.Checked = False";
_rb1_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5641;BA.debugLine="RB2_P3_M2.Checked = False";
+ //BA.debugLineNum = 5972;BA.debugLine="RB2_P3_M2.Checked = False";
_rb2_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5642;BA.debugLine="RB3_P3_M2.Checked = False";
+ //BA.debugLineNum = 5973;BA.debugLine="RB3_P3_M2.Checked = False";
_rb3_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5643;BA.debugLine="RB4_P3_M2.Checked = False";
+ //BA.debugLineNum = 5974;BA.debugLine="RB4_P3_M2.Checked = False";
_rb4_p3_m2.setChecked(__c.False);
- //BA.debugLineNum = 5644;BA.debugLine="ET_P3_M2.Text = \"\"";
+ //BA.debugLineNum = 5975;BA.debugLine="ET_P3_M2.Text = \"\"";
_et_p3_m2.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 5645;BA.debugLine="CB1_P4_M2.Checked = False";
+ //BA.debugLineNum = 5976;BA.debugLine="CB1_P4_M2.Checked = False";
_cb1_p4_m2.setChecked(__c.False);
- //BA.debugLineNum = 5646;BA.debugLine="CB2_P4_M2.Checked = False";
+ //BA.debugLineNum = 5977;BA.debugLine="CB2_P4_M2.Checked = False";
_cb2_p4_m2.setChecked(__c.False);
- //BA.debugLineNum = 5647;BA.debugLine="CB3_P4_M2.Checked = False";
+ //BA.debugLineNum = 5978;BA.debugLine="CB3_P4_M2.Checked = False";
_cb3_p4_m2.setChecked(__c.False);
- //BA.debugLineNum = 5648;BA.debugLine="CB4_P4_M2.Checked = False";
+ //BA.debugLineNum = 5979;BA.debugLine="CB4_P4_M2.Checked = False";
_cb4_p4_m2.setChecked(__c.False);
- //BA.debugLineNum = 5649;BA.debugLine="textemp3 = \"\"";
+ //BA.debugLineNum = 5980;BA.debugLine="textemp3 = \"\"";
_textemp3 = "";
}else {
- //BA.debugLineNum = 5651;BA.debugLine="Panel7_M2.Visible = True";
+ //BA.debugLineNum = 5982;BA.debugLine="Panel7_M2.Visible = True";
_panel7_m2.setVisible(__c.True);
- //BA.debugLineNum = 5652;BA.debugLine="panel7_p4_m2.Visible = True";
+ //BA.debugLineNum = 5983;BA.debugLine="panel7_p4_m2.Visible = True";
_panel7_p4_m2.setVisible(__c.True);
};
- //BA.debugLineNum = 5655;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5986;BA.debugLine="End Sub";
return "";
}
public String _rb3_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4704;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)";
- //BA.debugLineNum = 4705;BA.debugLine="If RB3.Checked = True Then";
+ //BA.debugLineNum = 5035;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)";
+ //BA.debugLineNum = 5036;BA.debugLine="If RB3.Checked = True Then";
if (_rb3.getChecked()==__c.True) {
- //BA.debugLineNum = 4706;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\"";
+ //BA.debugLineNum = 5037;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\"";
_e_res_e.setText(BA.ObjectToCharSequence("CLUB DE PRECIO"));
};
- //BA.debugLineNum = 4708;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5039;BA.debugLine="End Sub";
return "";
}
public String _rb3_e1_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4770;BA.debugLine="Private Sub RB3_E1_CheckedChange(Checked As Boolea";
- //BA.debugLineNum = 4771;BA.debugLine="Log($\"RB3 Clicked - chk:${Sender.As(RadioButton).";
-__c.LogImpl("719070977",("RB3 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
- //BA.debugLineNum = 4772;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
+ //BA.debugLineNum = 5101;BA.debugLine="Private Sub RB3_E1_CheckedChange(Checked As Boolea";
+ //BA.debugLineNum = 5102;BA.debugLine="Log($\"RB3 Clicked - chk:${Sender.As(RadioButton).";
+__c.LogImpl("419202049",("RB3 Clicked - chk:"+__c.SmartStringFormatter("",(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getChecked()))+""),0);
+ //BA.debugLineNum = 5103;BA.debugLine="encuentasmapa.Put(\"P1\", Sender.As(RadioButton).te";
_encuentasmapa.Put((Object)("P1"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()));
- //BA.debugLineNum = 4774;BA.debugLine="Panel7.Visible = True";
+ //BA.debugLineNum = 5105;BA.debugLine="Panel7.Visible = True";
_panel7.setVisible(__c.True);
- //BA.debugLineNum = 4775;BA.debugLine="Log(encuentasmapa)";
-__c.LogImpl("719070981",BA.ObjectToString(_encuentasmapa),0);
- //BA.debugLineNum = 4776;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5106;BA.debugLine="Log(encuentasmapa)";
+__c.LogImpl("419202053",BA.ObjectToString(_encuentasmapa),0);
+ //BA.debugLineNum = 5107;BA.debugLine="End Sub";
return "";
}
public String _rb4_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 4710;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)";
- //BA.debugLineNum = 4711;BA.debugLine="If RB4.Checked = True Then";
+ //BA.debugLineNum = 5041;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)";
+ //BA.debugLineNum = 5042;BA.debugLine="If RB4.Checked = True Then";
if (_rb4.getChecked()==__c.True) {
- //BA.debugLineNum = 4712;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\"";
+ //BA.debugLineNum = 5043;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\"";
_e_res_e.setText(BA.ObjectToCharSequence("DIRECTO PEDEGREE"));
};
- //BA.debugLineNum = 4714;BA.debugLine="End Sub";
+ //BA.debugLineNum = 5045;BA.debugLine="End Sub";
return "";
}
public String _recalculoxcant() throws Exception{
@@ -18617,148 +19361,148 @@ int _hjh = 0;
float _recalculo = 0f;
float _recalculototal = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel2 = null;
- //BA.debugLineNum = 1399;BA.debugLine="Sub recalculoXcant";
- //BA.debugLineNum = 1401;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1421;BA.debugLine="Sub recalculoXcant";
+ //BA.debugLineNum = 1423;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_DESC = '0' ",new String[]{_subs._traealmacen /*String*/ (ba)})));
- //BA.debugLineNum = 1402;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1424;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1403;BA.debugLine="For promespdes = 0 To c.RowCount -1";
+ //BA.debugLineNum = 1425;BA.debugLine="For promespdes = 0 To c.RowCount -1";
{
final int step3 = 1;
final int limit3 = (int) (_c.getRowCount()-1);
_promespdes = (int) (0) ;
for (;_promespdes <= limit3 ;_promespdes = _promespdes + step3 ) {
- //BA.debugLineNum = 1404;BA.debugLine="c.Position = promespdes";
+ //BA.debugLineNum = 1426;BA.debugLine="c.Position = promespdes";
_c.setPosition(_promespdes);
- //BA.debugLineNum = 1405;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt.";
+ //BA.debugLineNum = 1427;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt.";
_rangosel = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_rangosel = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?",new String[]{_c.GetString("PE_PROID"),BA.NumberToString(_c.GetInt("PE_CANT")),BA.NumberToString(_c.GetInt("PE_CANT"))})));
- //BA.debugLineNum = 1406;BA.debugLine="If rangosel.RowCount > 0 Then";
+ //BA.debugLineNum = 1428;BA.debugLine="If rangosel.RowCount > 0 Then";
if (_rangosel.getRowCount()>0) {
- //BA.debugLineNum = 1407;BA.debugLine="For hjh = 0 To rangosel.RowCount-1";
+ //BA.debugLineNum = 1429;BA.debugLine="For hjh = 0 To rangosel.RowCount-1";
{
final int step7 = 1;
final int limit7 = (int) (_rangosel.getRowCount()-1);
_hjh = (int) (0) ;
for (;_hjh <= limit7 ;_hjh = _hjh + step7 ) {
- //BA.debugLineNum = 1408;BA.debugLine="rangosel.Position = hjh";
+ //BA.debugLineNum = 1430;BA.debugLine="rangosel.Position = hjh";
_rangosel.setPosition(_hjh);
- //BA.debugLineNum = 1409;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains";
+ //BA.debugLineNum = 1431;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains";
if (_rangosel.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) {
- //BA.debugLineNum = 1410;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
-__c.LogImpl("714286859",_c.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 1411;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
-__c.LogImpl("714286860",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
- //BA.debugLineNum = 1412;BA.debugLine="Private recalculo As Float = c.GetString(\"PE";
+ //BA.debugLineNum = 1432;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
+__c.LogImpl("414352395",_c.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 1433;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
+__c.LogImpl("414352396",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
+ //BA.debugLineNum = 1434;BA.debugLine="Private recalculo As Float = c.GetString(\"PE";
_recalculo = (float) ((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False))));
- //BA.debugLineNum = 1413;BA.debugLine="LogColor(recalculo,Colors.Blue)";
-__c.LogImpl("714286862",BA.NumberToString(_recalculo),__c.Colors.Blue);
- //BA.debugLineNum = 1414;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
-__c.LogImpl("714286863",_c.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 1415;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")";
-__c.LogImpl("714286864",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
- //BA.debugLineNum = 1416;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
-__c.LogImpl("714286865",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
- //BA.debugLineNum = 1417;BA.debugLine="Private recalculototal As Float =c.GetString";
+ //BA.debugLineNum = 1435;BA.debugLine="LogColor(recalculo,Colors.Blue)";
+__c.LogImpl("414352398",BA.NumberToString(_recalculo),__c.Colors.Blue);
+ //BA.debugLineNum = 1436;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
+__c.LogImpl("414352399",_c.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 1437;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")";
+__c.LogImpl("414352400",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
+ //BA.debugLineNum = 1438;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
+__c.LogImpl("414352401",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
+ //BA.debugLineNum = 1439;BA.debugLine="Private recalculototal As Float =c.GetString";
_recalculototal = (float) ((double)(Double.parseDouble(_c.GetString("PE_CANT")))*_recalculo);
- //BA.debugLineNum = 1418;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_REC";
+ //BA.debugLineNum = 1440;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_REC";
_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? and PE_FOLIO = ? AND IFNULL(PE_DESC,0) = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel.GetString("CAT_PD_COD_PROMO"),_c.GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")}));
};
}
};
}else {
- //BA.debugLineNum = 1422;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm";
+ //BA.debugLineNum = 1444;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm";
_rangosel2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_rangosel2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2",new String[]{_c.GetString("PE_PROID"),BA.NumberToString(_c.GetInt("PE_CANT"))})));
- //BA.debugLineNum = 1424;BA.debugLine="If rangosel2.RowCount > 0 Then";
+ //BA.debugLineNum = 1446;BA.debugLine="If rangosel2.RowCount > 0 Then";
if (_rangosel2.getRowCount()>0) {
- //BA.debugLineNum = 1426;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1";
+ //BA.debugLineNum = 1448;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1";
{
final int step24 = 1;
final int limit24 = (int) (_rangosel2.getRowCount()-1);
_hjh = (int) (0) ;
for (;_hjh <= limit24 ;_hjh = _hjh + step24 ) {
- //BA.debugLineNum = 1427;BA.debugLine="rangosel2.Position = hjh";
+ //BA.debugLineNum = 1449;BA.debugLine="rangosel2.Position = hjh";
_rangosel2.setPosition(_hjh);
- //BA.debugLineNum = 1428;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai";
+ //BA.debugLineNum = 1450;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai";
if (_rangosel2.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) {
- //BA.debugLineNum = 1429;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
-__c.LogImpl("714286878",_c.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 1430;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
-__c.LogImpl("714286879",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
- //BA.debugLineNum = 1431;BA.debugLine="Private recalculo As Float = c.GetString(\"P";
+ //BA.debugLineNum = 1451;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
+__c.LogImpl("414352414",_c.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 1452;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
+__c.LogImpl("414352415",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
+ //BA.debugLineNum = 1453;BA.debugLine="Private recalculo As Float = c.GetString(\"P";
_recalculo = (float) ((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False))));
- //BA.debugLineNum = 1432;BA.debugLine="LogColor(recalculo,Colors.Blue)";
-__c.LogImpl("714286881",BA.NumberToString(_recalculo),__c.Colors.Blue);
- //BA.debugLineNum = 1433;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
-__c.LogImpl("714286882",_c.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 1434;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\"";
-__c.LogImpl("714286883",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
- //BA.debugLineNum = 1435;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
-__c.LogImpl("714286884",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
- //BA.debugLineNum = 1436;BA.debugLine="Private recalculototal As Float = rangosel2";
+ //BA.debugLineNum = 1454;BA.debugLine="LogColor(recalculo,Colors.Blue)";
+__c.LogImpl("414352417",BA.NumberToString(_recalculo),__c.Colors.Blue);
+ //BA.debugLineNum = 1455;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
+__c.LogImpl("414352418",_c.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 1456;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\"";
+__c.LogImpl("414352419",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
+ //BA.debugLineNum = 1457;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
+__c.LogImpl("414352420",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
+ //BA.debugLineNum = 1458;BA.debugLine="Private recalculototal As Float = rangosel2";
_recalculototal = (float) ((double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_RANGO2")))*_recalculo);
- //BA.debugLineNum = 1439;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RE";
+ //BA.debugLineNum = 1461;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RE";
_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel2.GetString("CAT_PD_COD_PROMO"),_rangosel2.GetString("CAT_PD_RANGO2"),_c.GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")}));
};
}
};
}else {
- //BA.debugLineNum = 1443;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECA";
+ //BA.debugLineNum = 1465;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECA";
_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_FOLIO = ? AND IFNULL(PE_DESC,0) = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("PE_PROID"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")}));
};
- //BA.debugLineNum = 1445;BA.debugLine="rangosel2.Close";
+ //BA.debugLineNum = 1467;BA.debugLine="rangosel2.Close";
_rangosel2.Close();
};
- //BA.debugLineNum = 1447;BA.debugLine="rangosel.Close";
+ //BA.debugLineNum = 1469;BA.debugLine="rangosel.Close";
_rangosel.Close();
}
};
};
- //BA.debugLineNum = 1451;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1473;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_DESC = '1' ",new String[]{_subs._traealmacen /*String*/ (ba)})));
- //BA.debugLineNum = 1452;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1474;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1453;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECALCU";
+ //BA.debugLineNum = 1475;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECALCU";
_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS = ? AND PE_DESC = '1'",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_subs._traealmacen /*String*/ (ba)}));
};
- //BA.debugLineNum = 1455;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECALCUL";
+ //BA.debugLineNum = 1477;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE PEDIDO set PE_RECALCUL";
_skmt.ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_CEDIS <> ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_subs._traealmacen /*String*/ (ba)}));
- //BA.debugLineNum = 1456;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1478;BA.debugLine="End Sub";
return "";
}
public String _revisargeocerca() throws Exception{
- //BA.debugLineNum = 1471;BA.debugLine="Private Sub RevisarGeocerca";
- //BA.debugLineNum = 1474;BA.debugLine="Log(distancealm)";
-__c.LogImpl("714417923",BA.NumberToString(_distancealm),0);
- //BA.debugLineNum = 1475;BA.debugLine="Log(distance)";
-__c.LogImpl("714417924",BA.NumberToString(_distance),0);
- //BA.debugLineNum = 1477;BA.debugLine="If distancealm > 0 Or distance > 50 Then";
+ //BA.debugLineNum = 1493;BA.debugLine="Private Sub RevisarGeocerca";
+ //BA.debugLineNum = 1496;BA.debugLine="Log(distancealm)";
+__c.LogImpl("414483459",BA.NumberToString(_distancealm),0);
+ //BA.debugLineNum = 1497;BA.debugLine="Log(distance)";
+__c.LogImpl("414483460",BA.NumberToString(_distance),0);
+ //BA.debugLineNum = 1499;BA.debugLine="If distancealm > 0 Or distance > 50 Then";
if (_distancealm>0 || _distance>50) {
- //BA.debugLineNum = 1478;BA.debugLine="If distancealm < 100 Or distance < 50 Then";
+ //BA.debugLineNum = 1500;BA.debugLine="If distancealm < 100 Or distance < 50 Then";
if (_distancealm<100 || _distance<50) {
- //BA.debugLineNum = 1479;BA.debugLine="HabilitarBotones(True)";
+ //BA.debugLineNum = 1501;BA.debugLine="HabilitarBotones(True)";
_habilitarbotones(__c.True);
}else {
- //BA.debugLineNum = 1481;BA.debugLine="HabilitarBotones(True)";
+ //BA.debugLineNum = 1503;BA.debugLine="HabilitarBotones(True)";
_habilitarbotones(__c.True);
};
};
- //BA.debugLineNum = 1484;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1506;BA.debugLine="End Sub";
return "";
}
public String _savepdf(gunav2.keymon.com.mx.cpdf _apdf,String _afile,int _acompress) throws Exception{
String _folder = "";
- //BA.debugLineNum = 7315;BA.debugLine="private Sub savePDF(apdf As cPDF,afile As String,a";
- //BA.debugLineNum = 7316;BA.debugLine="Dim folder As String";
+ //BA.debugLineNum = 7646;BA.debugLine="private Sub savePDF(apdf As cPDF,afile As String,a";
+ //BA.debugLineNum = 7647;BA.debugLine="Dim folder As String";
_folder = "";
- //BA.debugLineNum = 7321;BA.debugLine="folder = Starter.fFileProvider.SharedFolder";
+ //BA.debugLineNum = 7652;BA.debugLine="folder = Starter.fFileProvider.SharedFolder";
_folder = _starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ;
- //BA.debugLineNum = 7328;BA.debugLine="apdf.saveToFile(folder, afile, acompress)";
+ //BA.debugLineNum = 7659;BA.debugLine="apdf.saveToFile(folder, afile, acompress)";
_apdf._savetofile /*gunav2.keymon.com.mx.cpdf*/ (_folder,_afile,_acompress);
- //BA.debugLineNum = 7329;BA.debugLine="End Sub";
+ //BA.debugLineNum = 7660;BA.debugLine="End Sub";
return "";
}
public void _sc_result(String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{
@@ -18789,13 +19533,13 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 3098;BA.debugLine="CODIGO = Values";
+ //BA.debugLineNum = 3400;BA.debugLine="CODIGO = Values";
parent._codigo = _values;
- //BA.debugLineNum = 3099;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN";
+ //BA.debugLineNum = 3401;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN";
parent._dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM kmt_info3 WHERE CAT_CL_NUM_SERIEFISICO = ?",new String[]{parent._codigo})));
- //BA.debugLineNum = 3100;BA.debugLine="DD.Position =0";
+ //BA.debugLineNum = 3402;BA.debugLine="DD.Position =0";
parent._dd.setPosition((int) (0));
- //BA.debugLineNum = 3101;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then";
+ //BA.debugLineNum = 3403;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then";
if (true) break;
case 1:
@@ -18810,14 +19554,14 @@ this.state = 5;
case 3:
//C
this.state = 16;
- //BA.debugLineNum = 3102;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")";
+ //BA.debugLineNum = 3404;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")";
parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código ya asignado"),BA.ObjectToCharSequence("AVISO"),ba);
if (true) break;
case 5:
//C
this.state = 6;
- //BA.debugLineNum = 3104;BA.debugLine="If CODIGO.Length = 7 Then";
+ //BA.debugLineNum = 3406;BA.debugLine="If CODIGO.Length = 7 Then";
if (true) break;
case 6:
@@ -18832,9 +19576,9 @@ this.state = 14;
case 8:
//C
this.state = 9;
- //BA.debugLineNum = 3105;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc";
+ //BA.debugLineNum = 3407;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc";
parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El código "+parent._codigo+" es correcto?"),BA.ObjectToCharSequence("Title"),"Yes","Cancel","No",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.False);
- //BA.debugLineNum = 3106;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+ //BA.debugLineNum = 3408;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
parent.__c.WaitFor("msgbox_result", ba, this, null);
this.state = 17;
return;
@@ -18843,7 +19587,7 @@ case 17:
this.state = 9;
_resultado = (Integer) result[0];
;
- //BA.debugLineNum = 3107;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 3409;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
if (true) break;
case 9:
@@ -18856,13 +19600,13 @@ this.state = 11;
case 11:
//C
this.state = 12;
- //BA.debugLineNum = 3108;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k";
+ //BA.debugLineNum = 3410;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._codigo),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )}));
- //BA.debugLineNum = 3109;BA.debugLine="L_QR.TEXT =CODIGO";
+ //BA.debugLineNum = 3411;BA.debugLine="L_QR.TEXT =CODIGO";
parent._l_qr.setText(BA.ObjectToCharSequence(parent._codigo));
- //BA.debugLineNum = 3110;BA.debugLine="L_QR.TextColor = Colors.Blue";
+ //BA.debugLineNum = 3412;BA.debugLine="L_QR.TextColor = Colors.Blue";
parent._l_qr.setTextColor(parent.__c.Colors.Blue);
- //BA.debugLineNum = 3111;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i";
+ //BA.debugLineNum = 3413;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._codigo),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )}));
if (true) break;
@@ -18875,7 +19619,7 @@ this.state = 15;
case 14:
//C
this.state = 15;
- //BA.debugLineNum = 3114;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")";
+ //BA.debugLineNum = 3416;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")";
parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código No Valido"),BA.ObjectToCharSequence("AVISO"),ba);
if (true) break;
@@ -18889,9 +19633,9 @@ case 16:
//C
this.state = -1;
;
- //BA.debugLineNum = 3117;BA.debugLine="DD.Close";
+ //BA.debugLineNum = 3419;BA.debugLine="DD.Close";
parent._dd.Close();
- //BA.debugLineNum = 3118;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3420;BA.debugLine="End Sub";
if (true) break;
}
@@ -18899,115 +19643,346 @@ if (true) break;
}
}
public String _sc_timedout(boolean _timedout) throws Exception{
- //BA.debugLineNum = 3120;BA.debugLine="Sub sc_timedout(timedOut As Boolean)";
- //BA.debugLineNum = 3121;BA.debugLine="Log(\"timedOut \" & timedOut)";
-__c.LogImpl("717170433","timedOut "+BA.ObjectToString(_timedout),0);
- //BA.debugLineNum = 3122;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3422;BA.debugLine="Sub sc_timedout(timedOut As Boolean)";
+ //BA.debugLineNum = 3423;BA.debugLine="Log(\"timedOut \" & timedOut)";
+__c.LogImpl("417301505","timedOut "+BA.ObjectToString(_timedout),0);
+ //BA.debugLineNum = 3424;BA.debugLine="End Sub";
return "";
}
public String _sc_usercancelled(boolean _usercancelled) throws Exception{
- //BA.debugLineNum = 3124;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)";
- //BA.debugLineNum = 3125;BA.debugLine="Log(\"userCancelled \" & userCancelled)";
-__c.LogImpl("717235969","userCancelled "+BA.ObjectToString(_usercancelled),0);
- //BA.debugLineNum = 3126;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3426;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)";
+ //BA.debugLineNum = 3427;BA.debugLine="Log(\"userCancelled \" & userCancelled)";
+__c.LogImpl("417367041","userCancelled "+BA.ObjectToString(_usercancelled),0);
+ //BA.debugLineNum = 3428;BA.debugLine="End Sub";
return "";
}
public String _startprinter() throws Exception{
anywheresoftware.b4a.objects.collections.List _l1 = null;
int _resimp = 0;
int _i = 0;
- //BA.debugLineNum = 4578;BA.debugLine="Sub StartPrinter";
- //BA.debugLineNum = 4579;BA.debugLine="Dim PairedDevices As Map";
+ //BA.debugLineNum = 4909;BA.debugLine="Sub StartPrinter";
+ //BA.debugLineNum = 4910;BA.debugLine="Dim PairedDevices As Map";
_paireddevices = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 4580;BA.debugLine="Dim L1 As List";
+ //BA.debugLineNum = 4911;BA.debugLine="Dim L1 As List";
_l1 = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 4581;BA.debugLine="Dim resimp As Int";
+ //BA.debugLineNum = 4912;BA.debugLine="Dim resimp As Int";
_resimp = 0;
- //BA.debugLineNum = 4582;BA.debugLine="ToastMessageShow(\"Printing.....\",True)";
+ //BA.debugLineNum = 4913;BA.debugLine="ToastMessageShow(\"Printing.....\",True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True);
- //BA.debugLineNum = 4583;BA.debugLine="PairedDevices.Initialize";
+ //BA.debugLineNum = 4914;BA.debugLine="PairedDevices.Initialize";
_paireddevices.Initialize();
- //BA.debugLineNum = 4584;BA.debugLine="Try";
-try { //BA.debugLineNum = 4585;BA.debugLine="PairedDevices = cmp20.GetPairedDevices";
+ //BA.debugLineNum = 4915;BA.debugLine="Try";
+try { //BA.debugLineNum = 4916;BA.debugLine="PairedDevices = cmp20.GetPairedDevices";
_paireddevices = _cmp20.GetPairedDevices();
}
catch (Exception e9) {
- ba.setLastException(e9); //BA.debugLineNum = 4587;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")";
+ ba.setLastException(e9); //BA.debugLineNum = 4918;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")";
__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba);
- //BA.debugLineNum = 4588;BA.debugLine="printer.Close";
+ //BA.debugLineNum = 4919;BA.debugLine="printer.Close";
_printer.Close();
- //BA.debugLineNum = 4589;BA.debugLine="cmp20.Disconnect";
+ //BA.debugLineNum = 4920;BA.debugLine="cmp20.Disconnect";
_cmp20.Disconnect();
};
- //BA.debugLineNum = 4592;BA.debugLine="If PairedDevices.Size = 0 Then";
+ //BA.debugLineNum = 4923;BA.debugLine="If PairedDevices.Size = 0 Then";
if (_paireddevices.getSize()==0) {
- //BA.debugLineNum = 4593;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No";
+ //BA.debugLineNum = 4924;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No";
__c.Msgbox(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found"),BA.ObjectToCharSequence(""),ba);
- //BA.debugLineNum = 4594;BA.debugLine="Return";
+ //BA.debugLineNum = 4925;BA.debugLine="Return";
if (true) return "";
};
- //BA.debugLineNum = 4597;BA.debugLine="If PairedDevices.Size = 1 Then";
+ //BA.debugLineNum = 4928;BA.debugLine="If PairedDevices.Size = 1 Then";
if (_paireddevices.getSize()==1) {
- //BA.debugLineNum = 4598;BA.debugLine="Try";
-try { //BA.debugLineNum = 4599;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G";
+ //BA.debugLineNum = 4929;BA.debugLine="Try";
+try { //BA.debugLineNum = 4930;BA.debugLine="cmp20.Connect(PairedDevices.Get(PairedDevices.G";
_cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_paireddevices.GetKeyAt((int) (0)))));
}
catch (Exception e21) {
- ba.setLastException(e21); //BA.debugLineNum = 4601;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore";
+ ba.setLastException(e21); //BA.debugLineNum = 4932;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'ignore";
__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba);
- //BA.debugLineNum = 4602;BA.debugLine="printer.Close";
+ //BA.debugLineNum = 4933;BA.debugLine="printer.Close";
_printer.Close();
- //BA.debugLineNum = 4603;BA.debugLine="cmp20.Disconnect";
+ //BA.debugLineNum = 4934;BA.debugLine="cmp20.Disconnect";
_cmp20.Disconnect();
};
}else {
- //BA.debugLineNum = 4606;BA.debugLine="L1.Initialize";
+ //BA.debugLineNum = 4937;BA.debugLine="L1.Initialize";
_l1.Initialize();
- //BA.debugLineNum = 4607;BA.debugLine="For i = 0 To PairedDevices.Size - 1";
+ //BA.debugLineNum = 4938;BA.debugLine="For i = 0 To PairedDevices.Size - 1";
{
final int step27 = 1;
final int limit27 = (int) (_paireddevices.getSize()-1);
_i = (int) (0) ;
for (;_i <= limit27 ;_i = _i + step27 ) {
- //BA.debugLineNum = 4608;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))";
+ //BA.debugLineNum = 4939;BA.debugLine="L1.Add(PairedDevices.GetKeyAt(i))";
_l1.Add(_paireddevices.GetKeyAt(_i));
}
};
- //BA.debugLineNum = 4610;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign";
+ //BA.debugLineNum = 4941;BA.debugLine="resimp = InputList(L1, \"Choose device\", -1) 'ign";
_resimp = __c.InputList(_l1,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba);
- //BA.debugLineNum = 4611;BA.debugLine="If resimp <> DialogResponse.CANCEL Then";
+ //BA.debugLineNum = 4942;BA.debugLine="If resimp <> DialogResponse.CANCEL Then";
if (_resimp!=__c.DialogResponse.CANCEL) {
- //BA.debugLineNum = 4612;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))";
+ //BA.debugLineNum = 4943;BA.debugLine="cmp20.Connect(PairedDevices.Get(L1.Get(resimp))";
_cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l1.Get(_resimp))));
};
};
- //BA.debugLineNum = 4615;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4946;BA.debugLine="End Sub";
return "";
}
public String _stopcamera2() throws Exception{
- //BA.debugLineNum = 7839;BA.debugLine="Private Sub StopCamera2";
- //BA.debugLineNum = 7841;BA.debugLine="If camEx.IsInitialized Then";
+ //BA.debugLineNum = 8170;BA.debugLine="Private Sub StopCamera2";
+ //BA.debugLineNum = 8172;BA.debugLine="If camEx.IsInitialized Then";
if (_camex.IsInitialized /*boolean*/ ()) {
- //BA.debugLineNum = 7842;BA.debugLine="camEx.Release";
+ //BA.debugLineNum = 8173;BA.debugLine="camEx.Release";
_camex._release /*String*/ ();
};
- //BA.debugLineNum = 7844;BA.debugLine="End Sub";
+ //BA.debugLineNum = 8175;BA.debugLine="End Sub";
return "";
}
public String _tar_click() throws Exception{
- //BA.debugLineNum = 2973;BA.debugLine="Sub Tar_Click";
- //BA.debugLineNum = 2974;BA.debugLine="B4XPages.ShowPage(\"Nota\")";
+ //BA.debugLineNum = 3275;BA.debugLine="Sub Tar_Click";
+ //BA.debugLineNum = 3276;BA.debugLine="B4XPages.ShowPage(\"Nota\")";
_b4xpages._showpage /*String*/ (ba,"Nota");
- //BA.debugLineNum = 2975;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3277;BA.debugLine="End Sub";
return "";
}
public String _tels_click() throws Exception{
- //BA.debugLineNum = 2938;BA.debugLine="Sub Tels_Click";
- //BA.debugLineNum = 2939;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")";
+ //BA.debugLineNum = 3238;BA.debugLine="Sub Tels_Click";
+ //BA.debugLineNum = 3239;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")";
_b4xpages._showpage /*String*/ (ba,"NoVenta");
- //BA.debugLineNum = 2940;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3240;BA.debugLine="End Sub";
return "";
}
+public void _vent() throws Exception{
+ResumableSub_vent rsub = new ResumableSub_vent(this);
+rsub.resume(ba, null);
+}
+public static class ResumableSub_vent extends BA.ResumableSub {
+public ResumableSub_vent(gunav2.keymon.com.mx.c_cliente parent) {
+this.parent = parent;
+}
+gunav2.keymon.com.mx.c_cliente parent;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null;
+String _fechainicio = "";
+long _ticksinicio = 0L;
+long _tickshoy = 0L;
+int _diferenciadias = 0;
+int _resultado = 0;
+
+@Override
+public void resume(BA ba, Object[] result) throws Exception{
+
+ while (true) {
+ switch (state) {
+ case -1:
+return;
+
+case 0:
+//C
+this.state = 1;
+ //BA.debugLineNum = 2388;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
+_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 2389;BA.debugLine="If pagarepen.RowCount > 0 Then";
+if (true) break;
+
+case 1:
+//if
+this.state = 32;
+if (_pagarepen.getRowCount()>0) {
+this.state = 3;
+}else {
+this.state = 31;
+}if (true) break;
+
+case 3:
+//C
+this.state = 4;
+ //BA.debugLineNum = 2390;BA.debugLine="pagarepen.Position = 0";
+_pagarepen.setPosition((int) (0));
+ //BA.debugLineNum = 2391;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
+parent.__c.DateTime.setDateFormat("dd/MM/yyyy");
+ //BA.debugLineNum = 2392;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
+_fechainicio = _pagarepen.GetString("FECHA");
+ //BA.debugLineNum = 2394;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
+parent.__c.LogImpl("415204360",_pagarepen.GetString("FECHA"),0);
+ //BA.debugLineNum = 2397;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
+_ticksinicio = parent.__c.DateTime.DateParse(_fechainicio);
+ //BA.debugLineNum = 2398;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
+_tickshoy = parent.__c.DateTime.DateParse(parent.__c.DateTime.Date(parent.__c.DateTime.getNow()));
+ //BA.debugLineNum = 2401;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
+_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)parent.__c.DateTime.TicksPerDay);
+ //BA.debugLineNum = 2404;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
+parent.__c.LogImpl("415204370",("Días transcurridos: "+parent.__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
+ //BA.debugLineNum = 2406;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
+parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
+ //BA.debugLineNum = 2407;BA.debugLine="c.Position = 0";
+parent._c.setPosition((int) (0));
+ //BA.debugLineNum = 2409;BA.debugLine="If ALMACEN = 81 Or ALMACEN = 94 Then";
+if (true) break;
+
+case 4:
+//if
+this.state = 29;
+if ((parent._almacen).equals(BA.NumberToString(81)) || (parent._almacen).equals(BA.NumberToString(94))) {
+this.state = 6;
+}else {
+this.state = 18;
+}if (true) break;
+
+case 6:
+//C
+this.state = 7;
+ //BA.debugLineNum = 2410;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI";
+if (true) break;
+
+case 7:
+//if
+this.state = 16;
+if (_diferenciadias<=parent._c.GetInt("CAT_CL_DIASCREDITO")+8) {
+this.state = 9;
+}else if(_diferenciadias>parent._c.GetInt("CAT_CL_DIASCREDITO")+8) {
+this.state = 15;
+}if (true) break;
+
+case 9:
+//C
+this.state = 10;
+ //BA.debugLineNum = 2412;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí";
+parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
+ //BA.debugLineNum = 2413;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+parent.__c.WaitFor("msgbox_result", ba, this, null);
+this.state = 33;
+return;
+case 33:
+//C
+this.state = 10;
+_resultado = (Integer) result[0];
+;
+ //BA.debugLineNum = 2414;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+if (true) break;
+
+case 10:
+//if
+this.state = 13;
+if (_resultado==parent.__c.DialogResponse.POSITIVE) {
+this.state = 12;
+}if (true) break;
+
+case 12:
+//C
+this.state = 13;
+ //BA.debugLineNum = 2415;BA.debugLine="gestionar";
+parent._gestionar();
+ if (true) break;
+
+case 13:
+//C
+this.state = 16;
+;
+ if (true) break;
+
+case 15:
+//C
+this.state = 16;
+ //BA.debugLineNum = 2418;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q";
+parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(parent._c.GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba);
+ if (true) break;
+
+case 16:
+//C
+this.state = 29;
+;
+ if (true) break;
+
+case 18:
+//C
+this.state = 19;
+ //BA.debugLineNum = 2421;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDI";
+if (true) break;
+
+case 19:
+//if
+this.state = 28;
+if (_diferenciadias<=parent._c.GetInt("CAT_CL_DIASCREDITO")+1) {
+this.state = 21;
+}else if(_diferenciadias>parent._c.GetInt("CAT_CL_DIASCREDITO")+8) {
+this.state = 27;
+}if (true) break;
+
+case 21:
+//C
+this.state = 22;
+ //BA.debugLineNum = 2423;BA.debugLine="Msgbox2Async($\"Favor de pagar su credito el dí";
+parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("Favor de pagar su credito el día de mañana por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Recordatorio"),"Ok","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False);
+ //BA.debugLineNum = 2424;BA.debugLine="Wait For Msgbox_Result (resultado As Int)";
+parent.__c.WaitFor("msgbox_result", ba, this, null);
+this.state = 34;
+return;
+case 34:
+//C
+this.state = 22;
+_resultado = (Integer) result[0];
+;
+ //BA.debugLineNum = 2425;BA.debugLine="If resultado = DialogResponse.POSITIVE Then";
+if (true) break;
+
+case 22:
+//if
+this.state = 25;
+if (_resultado==parent.__c.DialogResponse.POSITIVE) {
+this.state = 24;
+}if (true) break;
+
+case 24:
+//C
+this.state = 25;
+ //BA.debugLineNum = 2426;BA.debugLine="gestionar";
+parent._gestionar();
+ if (true) break;
+
+case 25:
+//C
+this.state = 28;
+;
+ if (true) break;
+
+case 27:
+//C
+this.state = 28;
+ //BA.debugLineNum = 2429;BA.debugLine="MsgboxAsync($\"No se puede realizar venta por q";
+parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("No se puede realizar venta por que presenta "+parent.__c.SmartStringFormatter("",(Object)((_diferenciadias-(parent._c.GetInt("CAT_CL_DIASCREDITO")+1))))+" días de atraso en el credito, por un monto de $"+parent.__c.SmartStringFormatter("",(Object)(_pagarepen.GetString("SALDO_PENDIENTE")))+"")),BA.ObjectToCharSequence("Atención"),ba);
+ if (true) break;
+
+case 28:
+//C
+this.state = 29;
+;
+ if (true) break;
+
+case 29:
+//C
+this.state = 32;
+;
+ if (true) break;
+
+case 31:
+//C
+this.state = 32;
+ //BA.debugLineNum = 2434;BA.debugLine="gestionar";
+parent._gestionar();
+ if (true) break;
+
+case 32:
+//C
+this.state = -1;
+;
+ //BA.debugLineNum = 2436;BA.debugLine="End Sub";
+if (true) break;
+
+ }
+ }
+ }
+}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
if (BA.fastSubCompare(sub, "B4XPAGE_CREATED"))
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_clientes.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_clientes.java
index c125d1d..8bc9565 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_clientes.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_clientes.java
@@ -48,9 +48,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -139,7 +139,7 @@ if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gun
//BA.debugLineNum = 95;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUESTIONARIO where Q_IDCLIENTE not in (select Q_IDCLIENTE from CUESTIONARIO where Q_IDPREGUNTA = '7')");
//BA.debugLineNum = 96;BA.debugLine="Log(\"Borramos encuestas incompletas\")";
-__c.LogImpl("734865184","Borramos encuestas incompletas",0);
+__c.LogImpl("432899104","Borramos encuestas incompletas",0);
};
//BA.debugLineNum = 98;BA.debugLine="entro = \"4\"";
_entro = "4";
@@ -449,17 +449,17 @@ __c.DateTime.setTimeFormat("HH:mm:ss");
//BA.debugLineNum = 144;BA.debugLine="If B4XPages.MainPage.cliente.bitacora.IsInitiali";
if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ .IsInitialized /*boolean*/ ()) {
//BA.debugLineNum = 145;BA.debugLine="Log(\"VAMOS A CLIENTE CON ENVENTA = FALSO\")";
-__c.LogImpl("734930732","VAMOS A CLIENTE CON ENVENTA = FALSO",0);
+__c.LogImpl("432964652","VAMOS A CLIENTE CON ENVENTA = FALSO",0);
//BA.debugLineNum = 146;BA.debugLine="B4XPages.MainPage.cliente.bitacora.iniciamosVen";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._iniciamosventa /*String*/ ();
//BA.debugLineNum = 147;BA.debugLine="Log(B4XPages.MainPage.cliente.bitacora.enVenta)";
-__c.LogImpl("734930734",BA.ObjectToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._enventa /*boolean*/ ),0);
+__c.LogImpl("432964654",BA.ObjectToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._bitacora /*gunav2.keymon.com.mx.c_bitacora*/ ._enventa /*boolean*/ ),0);
};
//BA.debugLineNum = 149;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
_b4xpages._showpage /*String*/ (ba,"Cliente");
};
//BA.debugLineNum = 154;BA.debugLine="Log(entro)";
-__c.LogImpl("734930741",_entro,0);
+__c.LogImpl("432964661",_entro,0);
//BA.debugLineNum = 155;BA.debugLine="End Sub";
return "";
}
@@ -471,7 +471,7 @@ return "";
public String _sc_noscan() throws Exception{
//BA.debugLineNum = 221;BA.debugLine="Sub sc_noScan";
//BA.debugLineNum = 222;BA.debugLine="Log(\"nothing returned from the scan !!!!!\")";
-__c.LogImpl("735258369","nothing returned from the scan !!!!!",0);
+__c.LogImpl("433292289","nothing returned from the scan !!!!!",0);
//BA.debugLineNum = 223;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_clientescompletos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_clientescompletos.java
index 51cf468..897aabc 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_clientescompletos.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_clientescompletos.java
@@ -37,9 +37,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -158,7 +158,7 @@ public String _listview1_itemclick(int _position,Object _value) throws Exceptio
//BA.debugLineNum = 63;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA");
//BA.debugLineNum = 64;BA.debugLine="Log(Value)";
-__c.LogImpl("735717123",BA.ObjectToString(_value),0);
+__c.LogImpl("433751043",BA.ObjectToString(_value),0);
//BA.debugLineNum = 65;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value}));
//BA.debugLineNum = 70;BA.debugLine="B4XPages.ShowPage(\"Tclientes\")";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_cuestionario.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_cuestionario.java
index 2ab535e..2853191 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_cuestionario.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_cuestionario.java
@@ -41,9 +41,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -64,7 +64,7 @@ if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
//BA.debugLineNum = 378;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 379;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
-__c.LogImpl("736765702",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
+__c.LogImpl("434799622",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
};
}
catch (Exception e9) {
@@ -72,11 +72,11 @@ __c.LogImpl("736765702",("Columna \""+__c.SmartStringFormatter("",(Object)(_colu
try { //BA.debugLineNum = 383;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU";
_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+""));
//BA.debugLineNum = 384;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
-__c.LogImpl("736765707",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
+__c.LogImpl("434799627",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
ba.setLastException(e13); //BA.debugLineNum = 386;BA.debugLine="Log(LastException)";
-__c.LogImpl("736765709",BA.ObjectToString(__c.LastException(ba)),0);
+__c.LogImpl("434799629",BA.ObjectToString(__c.LastException(ba)),0);
};
};
//BA.debugLineNum = 389;BA.debugLine="End Sub";
@@ -96,11 +96,11 @@ anywheresoftware.b4a.objects.LabelWrapper _lx = null;
int _newtop = 0;
//BA.debugLineNum = 161;BA.debugLine="Sub agregaPreguntaAbierta(id As String, pregunta A";
//BA.debugLineNum = 162;BA.debugLine="Log(\"Iniciamos PreguntaAbierta\")";
-__c.LogImpl("736175873","Iniciamos PreguntaAbierta",0);
+__c.LogImpl("434209793","Iniciamos PreguntaAbierta",0);
//BA.debugLineNum = 163;BA.debugLine="Log(ids)";
-__c.LogImpl("736175874",BA.ObjectToString(_ids),0);
+__c.LogImpl("434209794",BA.ObjectToString(_ids),0);
//BA.debugLineNum = 164;BA.debugLine="Log(respuestas)";
-__c.LogImpl("736175875",BA.ObjectToString(_respuestas),0);
+__c.LogImpl("434209795",BA.ObjectToString(_respuestas),0);
//BA.debugLineNum = 165;BA.debugLine="Private sv_cuest As ScrollView";
_sv_cuest = new anywheresoftware.b4a.objects.ScrollViewWrapper();
//BA.debugLineNum = 166;BA.debugLine="sv_cuest.Initialize(500dip)";
@@ -205,9 +205,9 @@ _lx = _labelx[_p];
//BA.debugLineNum = 208;BA.debugLine="et(p).Text = \"\"";
_et[_p].setText(BA.ObjectToCharSequence(""));
//BA.debugLineNum = 209;BA.debugLine="Log($\"Agregamos ET ${labelX(p).text} - ${(70*p)}";
-__c.LogImpl("736175920",("Agregamos ET "+__c.SmartStringFormatter("",(Object)(_labelx[_p].getText()))+" - "+__c.SmartStringFormatter("",(Object)((70*_p)))+""),0);
+__c.LogImpl("434209840",("Agregamos ET "+__c.SmartStringFormatter("",(Object)(_labelx[_p].getText()))+" - "+__c.SmartStringFormatter("",(Object)((70*_p)))+""),0);
//BA.debugLineNum = 211;BA.debugLine="Log(labelX(p).Height)";
-__c.LogImpl("736175922",BA.NumberToString(_labelx[_p].getHeight()),0);
+__c.LogImpl("434209842",BA.NumberToString(_labelx[_p].getHeight()),0);
//BA.debugLineNum = 212;BA.debugLine="sv_cuest.panel.AddView(labelX(p), 0, (70 * p), (";
_sv_cuest.getPanel().AddView((android.view.View)(_labelx[_p].getObject()),(int) (0),(int) ((70*_p)),(int) ((_panelx.getWidth()*0.72)),(int) (60));
//BA.debugLineNum = 213;BA.debugLine="sv_cuest.panel.AddView(et(p), (labelX(p).Width +";
@@ -676,7 +676,7 @@ String _etidresps = "";
anywheresoftware.b4a.objects.ConcreteViewWrapper _v = null;
//BA.debugLineNum = 309;BA.debugLine="Private Sub et_TextChanged(Old As String, New As S";
//BA.debugLineNum = 310;BA.debugLine="Log($\"${Old}, ${New}\"$)";
-__c.LogImpl("736503553",(""+__c.SmartStringFormatter("",(Object)(_old))+", "+__c.SmartStringFormatter("",(Object)(_new))+""),0);
+__c.LogImpl("434537473",(""+__c.SmartStringFormatter("",(Object)(_old))+", "+__c.SmartStringFormatter("",(Object)(_new))+""),0);
//BA.debugLineNum = 311;BA.debugLine="Private etTotales As Int = 0";
_ettotales = (int) (0);
//BA.debugLineNum = 312;BA.debugLine="Private etCont As Int = 0";
@@ -719,7 +719,7 @@ _etidresps = _etidresps+"|"+BA.ObjectToString(((anywheresoftware.b4a.objects.col
}
};
//BA.debugLineNum = 333;BA.debugLine="Log($\"${etCont}, ${etTotales}\"$)";
-__c.LogImpl("736503576",(""+__c.SmartStringFormatter("",(Object)(_etcont))+", "+__c.SmartStringFormatter("",(Object)(_ettotales))+""),0);
+__c.LogImpl("434537496",(""+__c.SmartStringFormatter("",(Object)(_etcont))+", "+__c.SmartStringFormatter("",(Object)(_ettotales))+""),0);
//BA.debugLineNum = 334;BA.debugLine="bAceptarPregunta.Tag = CreateMap(\"idPregunta\":Sen";
_baceptarpregunta.setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("id"))))),(Object)("pregunta"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)(_etidresps),(Object)("respuesta"),(Object)(_etresps),(Object)("panel"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).getTag()))).Get((Object)("panel"))}).getObject()));
//BA.debugLineNum = 335;BA.debugLine="If etCont = etTotales Then bAceptarPregunta.Enabl";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_historico.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_historico.java
index 458b595..50ae046 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_historico.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_historico.java
@@ -50,9 +50,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_historico2.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_historico2.java
index 511adaa..fd7fa9c 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_historico2.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_historico2.java
@@ -56,9 +56,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobat.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobat.java
index 1b2a489..19f70fe 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobat.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobat.java
@@ -57,9 +57,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -221,7 +221,7 @@ _cant_sem1 = _prohit2.GetString("HVD_CANT_TOTAL");
_c4 = _prohit2.GetInt("EsMesActual");
}else {
//BA.debugLineNum = 219;BA.debugLine="Log(\"Error en filas\")";
-__c.LogImpl("738338725","Error en filas",0);
+__c.LogImpl("436372645","Error en filas",0);
};
//BA.debugLineNum = 221;BA.debugLine="prohit2.Close";
_prohit2.Close();
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobatyodos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobatyodos.java
index 983b424..71876dc 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobatyodos.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_historicobatyodos.java
@@ -57,9 +57,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -91,7 +91,7 @@ _l_cant.setText(BA.ObjectToCharSequence(""));
//BA.debugLineNum = 65;BA.debugLine="L_TOTAL.Text = \"\"";
_l_total.setText(BA.ObjectToCharSequence(""));
//BA.debugLineNum = 67;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select coun";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from hist_ventastodos WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)")));
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from hist_ventastodos WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) ORDER BY HVD_CODPROMO, HVD_COSTO_TOT ASC")));
//BA.debugLineNum = 68;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
//BA.debugLineNum = 69;BA.debugLine="Existe = c.GetString(\"EXISTE\")";
@@ -131,61 +131,61 @@ _listview1.getTwoLinesLayout().SecondLabel.setTypeface(__c.Typeface.DEFAULT_BOLD
//BA.debugLineNum = 100;BA.debugLine="ListView1.TwoLinesLayout.ItemHeight = 70dip ' Esp";
_listview1.getTwoLinesLayout().setItemHeight(__c.DipToCurrent((int) (70)));
//BA.debugLineNum = 103;BA.debugLine="Dim queryVentas As String = $\" SELECT HVD_NUM_T";
-_queryventas = ("\n"+" SELECT HVD_NUM_TICKET, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA \n"+" FROM hist_ventastodos \n"+" WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) \n"+" ORDER BY \n"+" SUBSTR(HVD_FECHA, 7, 4) ASC,\n"+" SUBSTR(HVD_FECHA, 4, 2) ASC,\n"+" SUBSTR(HVD_FECHA, 1, 2) ASC,\n"+" HVD_NUM_TICKET ASC\n"+" ");
- //BA.debugLineNum = 114;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(queryVentas)";
+_queryventas = ("\n"+" SELECT HVD_NUM_TICKET, HVD_PRONOMBRE, HVD_CANT, HVD_COSTO_TOT, HVD_FECHA \n"+" FROM hist_ventastodos \n"+" WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) \n"+" ORDER BY \n"+" SUBSTR(HVD_FECHA, 7, 4) ASC,\n"+" SUBSTR(HVD_FECHA, 4, 2) ASC,\n"+" SUBSTR(HVD_FECHA, 1, 2) ASC,\n"+" HVD_NUM_TICKET ASC,\n"+" HVD_CODPROMO,\n"+" HVD_COSTO_TOT ASC\n"+" ");
+ //BA.debugLineNum = 116;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(queryVentas)";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(_queryventas)));
- //BA.debugLineNum = 116;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 118;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 117;BA.debugLine="Dim currentTicket As String = \"\"";
+ //BA.debugLineNum = 119;BA.debugLine="Dim currentTicket As String = \"\"";
_currentticket = "";
- //BA.debugLineNum = 119;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 121;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step32 = 1;
final int limit32 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit32 ;_i = _i + step32 ) {
- //BA.debugLineNum = 120;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 122;BA.debugLine="c.Position = i";
_c.setPosition(_i);
- //BA.debugLineNum = 122;BA.debugLine="Dim ticket As String = c.GetString(\"HVD_NUM_TIC";
+ //BA.debugLineNum = 124;BA.debugLine="Dim ticket As String = c.GetString(\"HVD_NUM_TIC";
_ticket = _c.GetString("HVD_NUM_TICKET");
- //BA.debugLineNum = 123;BA.debugLine="Dim fecha As String = c.GetString(\"HVD_FECHA\")";
+ //BA.debugLineNum = 125;BA.debugLine="Dim fecha As String = c.GetString(\"HVD_FECHA\")";
_fecha = _c.GetString("HVD_FECHA");
- //BA.debugLineNum = 124;BA.debugLine="Dim producto As String = c.GetString(\"HVD_PRONO";
+ //BA.debugLineNum = 126;BA.debugLine="Dim producto As String = c.GetString(\"HVD_PRONO";
_producto = _c.GetString("HVD_PRONOMBRE");
- //BA.debugLineNum = 125;BA.debugLine="Dim cant As String = c.GetString(\"HVD_CANT\")";
+ //BA.debugLineNum = 127;BA.debugLine="Dim cant As String = c.GetString(\"HVD_CANT\")";
_cant = _c.GetString("HVD_CANT");
- //BA.debugLineNum = 126;BA.debugLine="Dim costo As String = c.GetString(\"HVD_COSTO_TO";
+ //BA.debugLineNum = 128;BA.debugLine="Dim costo As String = c.GetString(\"HVD_COSTO_TO";
_costo = _c.GetString("HVD_COSTO_TOT");
- //BA.debugLineNum = 129;BA.debugLine="If ticket <> currentTicket Then";
+ //BA.debugLineNum = 132;BA.debugLine="If ticket <> currentTicket Then";
if ((_ticket).equals(_currentticket) == false) {
- //BA.debugLineNum = 130;BA.debugLine="ListView1.AddSingleLine($\"🎫 TICKET: ${ticket}";
-_listview1.AddSingleLine(BA.ObjectToCharSequence(("🎫 TICKET: "+__c.SmartStringFormatter("",(Object)(_ticket))+" | 📅 "+__c.SmartStringFormatter("",(Object)(_fecha))+"")));
- //BA.debugLineNum = 131;BA.debugLine="currentTicket = ticket";
+ //BA.debugLineNum = 135;BA.debugLine="ListView1.AddSingleLine($\"🎫 TICKET: ${ticket}";
+_listview1.AddSingleLine(BA.ObjectToCharSequence(("🎫 TICKET: "+__c.SmartStringFormatter("",(Object)(_ticket))+" | 📅 "+__c.SmartStringFormatter("",(Object)(_fecha))+"")));
+ //BA.debugLineNum = 136;BA.debugLine="currentTicket = ticket";
_currentticket = _ticket;
};
- //BA.debugLineNum = 135;BA.debugLine="Dim detalle As String = $\"📦 Cantidad: ${cant}";
+ //BA.debugLineNum = 140;BA.debugLine="Dim detalle As String = $\"📦 Cantidad: ${cant}";
_detalle = ("📦 Cantidad: "+__c.SmartStringFormatter("",(Object)(_cant))+" | 💵 Total: $"+__c.SmartStringFormatter("",(Object)(_costo))+"");
- //BA.debugLineNum = 136;BA.debugLine="ListView1.AddTwoLines(producto, detalle)";
+ //BA.debugLineNum = 141;BA.debugLine="ListView1.AddTwoLines(producto, detalle)";
_listview1.AddTwoLines(BA.ObjectToCharSequence(_producto),BA.ObjectToCharSequence(_detalle));
}
};
};
- //BA.debugLineNum = 139;BA.debugLine="c.Close";
+ //BA.debugLineNum = 144;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 143;BA.debugLine="If Existe <> \"0\" Then";
+ //BA.debugLineNum = 148;BA.debugLine="If Existe <> \"0\" Then";
if ((_existe).equals("0") == false) {
- //BA.debugLineNum = 144;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select SUM";
+ //BA.debugLineNum = 149;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select SUM";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from hist_ventastodos where HVD_CLIENTE in (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 145;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 150;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 146;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")";
+ //BA.debugLineNum = 151;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")";
_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART")));
- //BA.debugLineNum = 147;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")";
+ //BA.debugLineNum = 152;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")";
_l_total.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO")));
- //BA.debugLineNum = 148;BA.debugLine="c.Close";
+ //BA.debugLineNum = 153;BA.debugLine="c.Close";
_c.Close();
};
- //BA.debugLineNum = 155;BA.debugLine="End Sub";
+ //BA.debugLineNum = 160;BA.debugLine="End Sub";
return "";
}
public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_mapas.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_mapas.java
index 8244edb..88c1f8f 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_mapas.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_mapas.java
@@ -30,9 +30,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_nota.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_nota.java
index c0335cc..2f0e359 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_nota.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_nota.java
@@ -64,9 +64,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -312,7 +312,7 @@ _b_desc.setVisible(__c.False);
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{"","null"})));
//BA.debugLineNum = 347;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)";
-__c.LogImpl("739125089",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow);
+__c.LogImpl("437159009",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow);
//BA.debugLineNum = 348;BA.debugLine="If s3.RowCount > 0 Then";
if (_s3.getRowCount()>0) {
//BA.debugLineNum = 349;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exec";
@@ -474,13 +474,13 @@ _b4xpage_appear();
};
}else {
//BA.debugLineNum = 439;BA.debugLine="Log(\"Aqui\")";
-__c.LogImpl("739452698","Aqui",0);
+__c.LogImpl("437486618","Aqui",0);
//BA.debugLineNum = 440;BA.debugLine="Log(Subs.traeAlmacen)";
-__c.LogImpl("739452699",_subs._traealmacen /*String*/ (ba),0);
+__c.LogImpl("437486619",_subs._traealmacen /*String*/ (ba),0);
//BA.debugLineNum = 441;BA.debugLine="If Subs.traeAlmacen = 94 Then";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(94))) {
//BA.debugLineNum = 442;BA.debugLine="Log(\"Aqui\")";
-__c.LogImpl("739452701","Aqui",0);
+__c.LogImpl("437486621","Aqui",0);
//BA.debugLineNum = 444;BA.debugLine="result = Msgbox2(\"Seguro que desa borrar el p";
_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
//BA.debugLineNum = 445;BA.debugLine="If result = DialogResponse.POSITIVE Then";
@@ -519,7 +519,7 @@ _b4xpage_appear();
};
}else {
//BA.debugLineNum = 465;BA.debugLine="Log(\"aqui\")";
-__c.LogImpl("739452724","aqui",0);
+__c.LogImpl("437486644","aqui",0);
//BA.debugLineNum = 466;BA.debugLine="ToastMessageShow(\"La venta ya esta impresa, no";
__c.ToastMessageShow(BA.ObjectToCharSequence("La venta ya esta impresa, no se puede modificar!!"),__c.True);
//BA.debugLineNum = 467;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicketI";
@@ -630,9 +630,9 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null;
int _j = 0;
//BA.debugLineNum = 515;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu";
//BA.debugLineNum = 516;BA.debugLine="Log(Subs.traeTablaProds(tipo_venta))";
-__c.LogImpl("739518209",_subs._traetablaprods /*String*/ (ba,_tipo_venta),0);
+__c.LogImpl("437552129",_subs._traetablaprods /*String*/ (ba,_tipo_venta),0);
//BA.debugLineNum = 517;BA.debugLine="Log(Value)";
-__c.LogImpl("739518210",BA.ObjectToString(_value),0);
+__c.LogImpl("437552130",BA.ObjectToString(_value),0);
//BA.debugLineNum = 518;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)";
_x = __c.Regex.Split(" ",BA.ObjectToString(_value));
//BA.debugLineNum = 519;BA.debugLine="Private nom As String = \"\"";
@@ -664,16 +664,16 @@ _cedis = _x[(int) (_x.length-1)];
//BA.debugLineNum = 538;BA.debugLine="Private foliu As String = X(X.Length-3)";
_foliu = _x[(int) (_x.length-3)];
//BA.debugLineNum = 539;BA.debugLine="Log(nom)";
-__c.LogImpl("739518232",_nom,0);
+__c.LogImpl("437552152",_nom,0);
//BA.debugLineNum = 540;BA.debugLine="Log(cedis)";
-__c.LogImpl("739518233",_cedis,0);
+__c.LogImpl("437552153",_cedis,0);
//BA.debugLineNum = 541;BA.debugLine="Log(foliu)";
-__c.LogImpl("739518234",_foliu,0);
+__c.LogImpl("437552154",_foliu,0);
//BA.debugLineNum = 542;BA.debugLine="Dim cx As Cursor = B4XPages.MainPage.skmt.ExecQue";
_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE, PE_CEDIS/1 AS is_numeric FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and is_numeric > 0 and pe_cliente in (Select CUENTA from cuentaa) and PE_RECALCULO > 0"))));
//BA.debugLineNum = 543;BA.debugLine="Log(\"Recalculados: \" & cx.RowCount)";
-__c.LogImpl("739518236","Recalculados: "+BA.NumberToString(_cx.getRowCount()),0);
+__c.LogImpl("437552156","Recalculados: "+BA.NumberToString(_cx.getRowCount()),0);
//BA.debugLineNum = 544;BA.debugLine="If cx.RowCount > 0 Then ' Si hay recalculo (produ";
if (_cx.getRowCount()>0) {
//BA.debugLineNum = 545;BA.debugLine="result = Msgbox2(\"Si se borra este producto, se";
@@ -710,17 +710,17 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
//BA.debugLineNum = 562;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"))));
//BA.debugLineNum = 563;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C";
-__c.LogImpl("739518256",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
+__c.LogImpl("437552176",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
//BA.debugLineNum = 564;BA.debugLine="Log(c.RowCount)";
-__c.LogImpl("739518257",BA.NumberToString(_c.getRowCount()),0);
+__c.LogImpl("437552177",BA.NumberToString(_c.getRowCount()),0);
//BA.debugLineNum = 565;BA.debugLine="Log(\"AQUI ESTOY\")";
-__c.LogImpl("739518258","AQUI ESTOY",0);
+__c.LogImpl("437552178","AQUI ESTOY",0);
//BA.debugLineNum = 566;BA.debugLine="Log(cedis)";
-__c.LogImpl("739518259",_cedis,0);
+__c.LogImpl("437552179",_cedis,0);
//BA.debugLineNum = 567;BA.debugLine="Log(foliu)";
-__c.LogImpl("739518260",_foliu,0);
+__c.LogImpl("437552180",_foliu,0);
//BA.debugLineNum = 568;BA.debugLine="Log(nom)";
-__c.LogImpl("739518261",_nom,0);
+__c.LogImpl("437552181",_nom,0);
//BA.debugLineNum = 570;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 573;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
@@ -730,11 +730,11 @@ if (__c.Not(__c.IsNumber(_cedis))) {
//BA.debugLineNum = 581;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis})));
//BA.debugLineNum = 582;BA.debugLine="Log(j3.RowCount)";
-__c.LogImpl("739518275",BA.NumberToString(_j3.getRowCount()),0);
+__c.LogImpl("437552195",BA.NumberToString(_j3.getRowCount()),0);
//BA.debugLineNum = 583;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 584;BA.debugLine="Log(\"Soy promo\")";
-__c.LogImpl("739518277","Soy promo",0);
+__c.LogImpl("437552197","Soy promo",0);
//BA.debugLineNum = 585;BA.debugLine="For j = 0 To j3.RowCount -1";
{
final int step54 = 1;
@@ -742,11 +742,11 @@ final int limit54 = (int) (_j3.getRowCount()-1);
_j = (int) (0) ;
for (;_j <= limit54 ;_j = _j + step54 ) {
//BA.debugLineNum = 586;BA.debugLine="Log(\"aqui tronare?\")";
-__c.LogImpl("739518279","aqui tronare?",0);
+__c.LogImpl("437552199","aqui tronare?",0);
//BA.debugLineNum = 587;BA.debugLine="j3.Position = j";
_j3.setPosition(_j);
//BA.debugLineNum = 589;BA.debugLine="Log(nom)";
-__c.LogImpl("739518282",_nom,0);
+__c.LogImpl("437552202",_nom,0);
//BA.debugLineNum = 590;BA.debugLine="If cedis <> \"DUR\" Then";
if ((_cedis).equals("DUR") == false) {
//BA.debugLineNum = 592;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upd";
@@ -821,17 +821,17 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
//BA.debugLineNum = 633;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"))));
//BA.debugLineNum = 634;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_";
-__c.LogImpl("739518327",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
+__c.LogImpl("437552247",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' AND PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_foliu))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
//BA.debugLineNum = 635;BA.debugLine="Log(c.RowCount)";
-__c.LogImpl("739518328",BA.NumberToString(_c.getRowCount()),0);
+__c.LogImpl("437552248",BA.NumberToString(_c.getRowCount()),0);
//BA.debugLineNum = 636;BA.debugLine="Log(\"AQUI ESTOY\")";
-__c.LogImpl("739518329","AQUI ESTOY",0);
+__c.LogImpl("437552249","AQUI ESTOY",0);
//BA.debugLineNum = 637;BA.debugLine="Log(cedis)";
-__c.LogImpl("739518330",_cedis,0);
+__c.LogImpl("437552250",_cedis,0);
//BA.debugLineNum = 638;BA.debugLine="Log(foliu)";
-__c.LogImpl("739518331",_foliu,0);
+__c.LogImpl("437552251",_foliu,0);
//BA.debugLineNum = 639;BA.debugLine="Log(nom)";
-__c.LogImpl("739518332",_nom,0);
+__c.LogImpl("437552252",_nom,0);
//BA.debugLineNum = 641;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 644;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
@@ -841,11 +841,11 @@ if (__c.Not(__c.IsNumber(_cedis))) {
//BA.debugLineNum = 652;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SEL";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis})));
//BA.debugLineNum = 653;BA.debugLine="Log(j3.RowCount)";
-__c.LogImpl("739518346",BA.NumberToString(_j3.getRowCount()),0);
+__c.LogImpl("437552266",BA.NumberToString(_j3.getRowCount()),0);
//BA.debugLineNum = 654;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 655;BA.debugLine="Log(\"Soy promo\")";
-__c.LogImpl("739518348","Soy promo",0);
+__c.LogImpl("437552268","Soy promo",0);
//BA.debugLineNum = 656;BA.debugLine="For j = 0 To j3.RowCount -1";
{
final int step112 = 1;
@@ -853,11 +853,11 @@ final int limit112 = (int) (_j3.getRowCount()-1);
_j = (int) (0) ;
for (;_j <= limit112 ;_j = _j + step112 ) {
//BA.debugLineNum = 657;BA.debugLine="Log(\"aqui tronare?\")";
-__c.LogImpl("739518350","aqui tronare?",0);
+__c.LogImpl("437552270","aqui tronare?",0);
//BA.debugLineNum = 658;BA.debugLine="j3.Position = j";
_j3.setPosition(_j);
//BA.debugLineNum = 660;BA.debugLine="Log(nom)";
-__c.LogImpl("739518353",_nom,0);
+__c.LogImpl("437552273",_nom,0);
//BA.debugLineNum = 661;BA.debugLine="If cedis <> \"DUR\" Then";
if ((_cedis).equals("DUR") == false) {
//BA.debugLineNum = 663;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"up";
@@ -928,7 +928,7 @@ _b4xpage_appear();
};
}else {
//BA.debugLineNum = 702;BA.debugLine="Log(\"aqui\")";
-__c.LogImpl("739518395","aqui",0);
+__c.LogImpl("437552315","aqui",0);
//BA.debugLineNum = 703;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicke";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
//BA.debugLineNum = 704;BA.debugLine="B4XPages.ShowPage(\"cliente\")";
@@ -947,9 +947,9 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
//BA.debugLineNum = 712;BA.debugLine="Private X() As String = Regex.Split(\" \", Valu";
_x = __c.Regex.Split(" ",BA.ObjectToString(_value));
//BA.debugLineNum = 713;BA.debugLine="Log(X)";
-__c.LogImpl("739518406",BA.ObjectToString(_x),0);
+__c.LogImpl("437552326",BA.ObjectToString(_x),0);
//BA.debugLineNum = 714;BA.debugLine="Log(X.Length)";
-__c.LogImpl("739518407",BA.NumberToString(_x.length),0);
+__c.LogImpl("437552327",BA.NumberToString(_x.length),0);
//BA.debugLineNum = 715;BA.debugLine="Private nom As String = \"\"";
_nom = "";
//BA.debugLineNum = 716;BA.debugLine="For i = 0 To X.Length -1";
@@ -982,15 +982,15 @@ _cedis = _x[(int) (_x.length-1)];
_cedis = (_x[(int) (_x.length-2)]+" "+_x[(int) (_x.length-1)]);
};
//BA.debugLineNum = 735;BA.debugLine="Log(nom)";
-__c.LogImpl("739518428",_nom,0);
+__c.LogImpl("437552348",_nom,0);
//BA.debugLineNum = 736;BA.debugLine="Log(cedis)";
-__c.LogImpl("739518429",_cedis,0);
+__c.LogImpl("437552349",_cedis,0);
//BA.debugLineNum = 737;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"))));
//BA.debugLineNum = 738;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C";
-__c.LogImpl("739518431",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
+__c.LogImpl("437552351",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
//BA.debugLineNum = 739;BA.debugLine="Log(c.RowCount)";
-__c.LogImpl("739518432",BA.NumberToString(_c.getRowCount()),0);
+__c.LogImpl("437552352",BA.NumberToString(_c.getRowCount()),0);
//BA.debugLineNum = 740;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 750;BA.debugLine="If Not(IsNumber(cedis)) Then";
@@ -998,11 +998,11 @@ if (__c.Not(__c.IsNumber(_cedis))) {
//BA.debugLineNum = 751;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis})));
//BA.debugLineNum = 752;BA.debugLine="Log(j3.RowCount)";
-__c.LogImpl("739518445",BA.NumberToString(_j3.getRowCount()),0);
+__c.LogImpl("437552365",BA.NumberToString(_j3.getRowCount()),0);
//BA.debugLineNum = 753;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 754;BA.debugLine="Log(\"Soy promo\")";
-__c.LogImpl("739518447","Soy promo",0);
+__c.LogImpl("437552367","Soy promo",0);
//BA.debugLineNum = 755;BA.debugLine="For j = 0 To j3.RowCount -1";
{
final int step195 = 1;
@@ -1010,7 +1010,7 @@ final int limit195 = (int) (_j3.getRowCount()-1);
_j = (int) (0) ;
for (;_j <= limit195 ;_j = _j + step195 ) {
//BA.debugLineNum = 756;BA.debugLine="Log(\"aqui tronare?\")";
-__c.LogImpl("739518449","aqui tronare?",0);
+__c.LogImpl("437552369","aqui tronare?",0);
//BA.debugLineNum = 757;BA.debugLine="j3.Position = j";
_j3.setPosition(_j);
//BA.debugLineNum = 759;BA.debugLine="If cedis <> \"DUR\" Then";
@@ -1087,9 +1087,9 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
//BA.debugLineNum = 800;BA.debugLine="Private X() As String = Regex.Split(\" \", Val";
_x = __c.Regex.Split(" ",BA.ObjectToString(_value));
//BA.debugLineNum = 801;BA.debugLine="Log(X)";
-__c.LogImpl("739518494",BA.ObjectToString(_x),0);
+__c.LogImpl("437552414",BA.ObjectToString(_x),0);
//BA.debugLineNum = 802;BA.debugLine="Log(X.Length)";
-__c.LogImpl("739518495",BA.NumberToString(_x.length),0);
+__c.LogImpl("437552415",BA.NumberToString(_x.length),0);
//BA.debugLineNum = 803;BA.debugLine="Private nom As String = \"\"";
_nom = "";
//BA.debugLineNum = 804;BA.debugLine="For i = 0 To X.Length -1";
@@ -1122,15 +1122,15 @@ _cedis = _x[(int) (_x.length-1)];
_cedis = (_x[(int) (_x.length-2)]+" "+_x[(int) (_x.length-1)]);
};
//BA.debugLineNum = 823;BA.debugLine="Log(nom)";
-__c.LogImpl("739518516",_nom,0);
+__c.LogImpl("437552436",_nom,0);
//BA.debugLineNum = 824;BA.debugLine="Log(cedis)";
-__c.LogImpl("739518517",_cedis,0);
+__c.LogImpl("437552437",_cedis,0);
//BA.debugLineNum = 825;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"))));
//BA.debugLineNum = 826;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_";
-__c.LogImpl("739518519",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
+__c.LogImpl("437552439",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
//BA.debugLineNum = 827;BA.debugLine="Log(c.RowCount)";
-__c.LogImpl("739518520",BA.NumberToString(_c.getRowCount()),0);
+__c.LogImpl("437552440",BA.NumberToString(_c.getRowCount()),0);
//BA.debugLineNum = 828;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 838;BA.debugLine="If Not(IsNumber(cedis)) Then";
@@ -1138,11 +1138,11 @@ if (__c.Not(__c.IsNumber(_cedis))) {
//BA.debugLineNum = 839;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SEL";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis})));
//BA.debugLineNum = 840;BA.debugLine="Log(j3.RowCount)";
-__c.LogImpl("739518533",BA.NumberToString(_j3.getRowCount()),0);
+__c.LogImpl("437552453",BA.NumberToString(_j3.getRowCount()),0);
//BA.debugLineNum = 841;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 842;BA.debugLine="Log(\"Soy promo\")";
-__c.LogImpl("739518535","Soy promo",0);
+__c.LogImpl("437552455","Soy promo",0);
//BA.debugLineNum = 843;BA.debugLine="For j = 0 To j3.RowCount -1";
{
final int step268 = 1;
@@ -1150,7 +1150,7 @@ final int limit268 = (int) (_j3.getRowCount()-1);
_j = (int) (0) ;
for (;_j <= limit268 ;_j = _j + step268 ) {
//BA.debugLineNum = 844;BA.debugLine="Log(\"aqui tronare?\")";
-__c.LogImpl("739518537","aqui tronare?",0);
+__c.LogImpl("437552457","aqui tronare?",0);
//BA.debugLineNum = 845;BA.debugLine="j3.Position = j";
_j3.setPosition(_j);
//BA.debugLineNum = 847;BA.debugLine="If cedis <> \"DUR\" Then";
@@ -1223,7 +1223,7 @@ _b4xpage_appear();
};
}else {
//BA.debugLineNum = 887;BA.debugLine="Log(\"aqui\")";
-__c.LogImpl("739518580","aqui",0);
+__c.LogImpl("437552500","aqui",0);
//BA.debugLineNum = 888;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicke";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
//BA.debugLineNum = 889;BA.debugLine="B4XPages.ShowPage(\"cliente\")";
@@ -1243,9 +1243,9 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
//BA.debugLineNum = 898;BA.debugLine="Private X() As String = Regex.Split(\" \", Value";
_x = __c.Regex.Split(" ",BA.ObjectToString(_value));
//BA.debugLineNum = 899;BA.debugLine="Log(X)";
-__c.LogImpl("739518592",BA.ObjectToString(_x),0);
+__c.LogImpl("437552512",BA.ObjectToString(_x),0);
//BA.debugLineNum = 900;BA.debugLine="Log(X.Length)";
-__c.LogImpl("739518593",BA.NumberToString(_x.length),0);
+__c.LogImpl("437552513",BA.NumberToString(_x.length),0);
//BA.debugLineNum = 901;BA.debugLine="Private nom As String = \"\"";
_nom = "";
//BA.debugLineNum = 902;BA.debugLine="For i = 0 To X.Length -1";
@@ -1274,9 +1274,9 @@ _cedis = _x[(int) (_x.length-1)];
//BA.debugLineNum = 917;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"))));
//BA.debugLineNum = 918;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_CE";
-__c.LogImpl("739518611",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
+__c.LogImpl("437552531",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
//BA.debugLineNum = 919;BA.debugLine="Log(c.RowCount)";
-__c.LogImpl("739518612",BA.NumberToString(_c.getRowCount()),0);
+__c.LogImpl("437552532",BA.NumberToString(_c.getRowCount()),0);
//BA.debugLineNum = 920;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 923;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
@@ -1286,11 +1286,11 @@ if (__c.Not(__c.IsNumber(_cedis))) {
//BA.debugLineNum = 931;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELEC";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis})));
//BA.debugLineNum = 932;BA.debugLine="Log(j3.RowCount)";
-__c.LogImpl("739518625",BA.NumberToString(_j3.getRowCount()),0);
+__c.LogImpl("437552545",BA.NumberToString(_j3.getRowCount()),0);
//BA.debugLineNum = 933;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 934;BA.debugLine="Log(\"Soy promo\")";
-__c.LogImpl("739518627","Soy promo",0);
+__c.LogImpl("437552547","Soy promo",0);
//BA.debugLineNum = 935;BA.debugLine="For j = 0 To j3.RowCount -1";
{
final int step346 = 1;
@@ -1298,7 +1298,7 @@ final int limit346 = (int) (_j3.getRowCount()-1);
_j = (int) (0) ;
for (;_j <= limit346 ;_j = _j + step346 ) {
//BA.debugLineNum = 936;BA.debugLine="Log(\"aqui tronare?\")";
-__c.LogImpl("739518629","aqui tronare?",0);
+__c.LogImpl("437552549","aqui tronare?",0);
//BA.debugLineNum = 937;BA.debugLine="j3.Position = j";
_j3.setPosition(_j);
//BA.debugLineNum = 938;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"updat";
@@ -1367,9 +1367,9 @@ if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
//BA.debugLineNum = 975;BA.debugLine="Private X() As String = Regex.Split(\" \", Valu";
_x = __c.Regex.Split(" ",BA.ObjectToString(_value));
//BA.debugLineNum = 976;BA.debugLine="Log(X)";
-__c.LogImpl("739518669",BA.ObjectToString(_x),0);
+__c.LogImpl("437552589",BA.ObjectToString(_x),0);
//BA.debugLineNum = 977;BA.debugLine="Log(X.Length)";
-__c.LogImpl("739518670",BA.NumberToString(_x.length),0);
+__c.LogImpl("437552590",BA.NumberToString(_x.length),0);
//BA.debugLineNum = 978;BA.debugLine="Private nom As String = \"\"";
_nom = "";
//BA.debugLineNum = 979;BA.debugLine="For i = 0 To X.Length -1";
@@ -1398,9 +1398,9 @@ _cedis = _x[(int) (_x.length-1)];
//BA.debugLineNum = 994;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select P";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"))));
//BA.debugLineNum = 995;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_C";
-__c.LogImpl("739518688",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
+__c.LogImpl("437552608",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
//BA.debugLineNum = 996;BA.debugLine="Log(c.RowCount)";
-__c.LogImpl("739518689",BA.NumberToString(_c.getRowCount()),0);
+__c.LogImpl("437552609",BA.NumberToString(_c.getRowCount()),0);
//BA.debugLineNum = 997;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 1000;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
@@ -1410,11 +1410,11 @@ if (__c.Not(__c.IsNumber(_cedis))) {
//BA.debugLineNum = 1008;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELE";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis})));
//BA.debugLineNum = 1009;BA.debugLine="Log(j3.RowCount)";
-__c.LogImpl("739518702",BA.NumberToString(_j3.getRowCount()),0);
+__c.LogImpl("437552622",BA.NumberToString(_j3.getRowCount()),0);
//BA.debugLineNum = 1010;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 1011;BA.debugLine="Log(\"Soy promo\")";
-__c.LogImpl("739518704","Soy promo",0);
+__c.LogImpl("437552624","Soy promo",0);
//BA.debugLineNum = 1012;BA.debugLine="For j = 0 To j3.RowCount -1";
{
final int step409 = 1;
@@ -1422,7 +1422,7 @@ final int limit409 = (int) (_j3.getRowCount()-1);
_j = (int) (0) ;
for (;_j <= limit409 ;_j = _j + step409 ) {
//BA.debugLineNum = 1013;BA.debugLine="Log(\"aqui tronare?\")";
-__c.LogImpl("739518706","aqui tronare?",0);
+__c.LogImpl("437552626","aqui tronare?",0);
//BA.debugLineNum = 1014;BA.debugLine="j3.Position = j";
_j3.setPosition(_j);
//BA.debugLineNum = 1015;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"upda";
@@ -1487,7 +1487,7 @@ _b4xpage_appear();
};
}else {
//BA.debugLineNum = 1051;BA.debugLine="Log(\"aqui\")";
-__c.LogImpl("739518744","aqui",0);
+__c.LogImpl("437552664","aqui",0);
//BA.debugLineNum = 1052;BA.debugLine="B4XPages.MainPage.cliente.p_transparenteTicket";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._p_transparenteticketimpreso /*anywheresoftware.b4a.objects.PanelWrapper*/ .setVisible(__c.True);
//BA.debugLineNum = 1053;BA.debugLine="B4XPages.ShowPage(\"cliente\")";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_noventa.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_noventa.java
index 28369e8..baebb22 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_noventa.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_noventa.java
@@ -54,9 +54,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_nuevocliente.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_nuevocliente.java
index b856573..a57e0e2 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_nuevocliente.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_nuevocliente.java
@@ -82,9 +82,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -312,7 +312,7 @@ case 7:
//C
this.state = 10;
//BA.debugLineNum = 231;BA.debugLine="Log(\"Con permisos para escritura\")";
-parent.__c.LogImpl("739845915","Con permisos para escritura",0);
+parent.__c.LogImpl("438338587","Con permisos para escritura",0);
if (true) break;
case 9:
@@ -354,7 +354,7 @@ case 13:
//C
this.state = 16;
//BA.debugLineNum = 239;BA.debugLine="Log(\"Con permisos para escritura\")";
-parent.__c.LogImpl("739845923","Con permisos para escritura",0);
+parent.__c.LogImpl("438338595","Con permisos para escritura",0);
if (true) break;
case 15:
@@ -617,7 +617,7 @@ _sdate = __c.DateTime.Date(__c.DateTime.getNow());
//BA.debugLineNum = 443;BA.debugLine="sTime = DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
//BA.debugLineNum = 444;BA.debugLine="Log($\" //////////// Date: ${sDate} - T";
-__c.LogImpl("740173621",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(_sdate))+" - Time: "+__c.SmartStringFormatter("",(Object)(_stime))+" ////////////////"),0);
+__c.LogImpl("438666293",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(_sdate))+" - Time: "+__c.SmartStringFormatter("",(Object)(_stime))+" ////////////////"),0);
//BA.debugLineNum = 446;BA.debugLine="Private hora As String = sTime.SubString";
_hora = _stime.substring((int) (0),(int) (2));
//BA.debugLineNum = 447;BA.debugLine="Private mins As String = sTime.SubString";
@@ -629,7 +629,7 @@ _stime = _hora+":"+_mins+":"+_segs;
//BA.debugLineNum = 450;BA.debugLine="Dim Fechacliente() As String = Regex.Spl";
_fechacliente = __c.Regex.Split("/",_sdate);
//BA.debugLineNum = 451;BA.debugLine="Log(\"////////////// sTime: \"&sTime&\" ///";
-__c.LogImpl("740173628","////////////// sTime: "+_stime+" ////////////////",0);
+__c.LogImpl("438666300","////////////// sTime: "+_stime+" ////////////////",0);
//BA.debugLineNum = 452;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_C";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA FROM kmt_info3")));
//BA.debugLineNum = 453;BA.debugLine="c.Position = 0";
@@ -639,7 +639,7 @@ _no_ruta = _c.GetString("CAT_CL_RUTA");
//BA.debugLineNum = 455;BA.debugLine="no_cliente = \"N\" & sTime & no_ruta";
_no_cliente = "N"+_stime+_no_ruta;
//BA.debugLineNum = 456;BA.debugLine="Log(\"++ ++ no_cliente = \"&no_cliente)";
-__c.LogImpl("740173633","++ ++ no_cliente = "+_no_cliente,0);
+__c.LogImpl("438666305","++ ++ no_cliente = "+_no_cliente,0);
//BA.debugLineNum = 457;BA.debugLine="c.Close";
_c.Close();
//BA.debugLineNum = 459;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_pedidos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_pedidos.java
index 3e495d9..3ca7e63 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_pedidos.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_pedidos.java
@@ -81,9 +81,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -1013,7 +1013,7 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 443;BA.debugLine="h.Position=0";
_h.setPosition((int) (0));
//BA.debugLineNum = 444;BA.debugLine="Log(111)";
-__c.LogImpl("740894543",BA.NumberToString(111),0);
+__c.LogImpl("439387215",BA.NumberToString(111),0);
//BA.debugLineNum = 445;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_precio_cero))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_precio_cero),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 446;BA.debugLine="h.Close";
@@ -1027,7 +1027,7 @@ _f.Close();
//BA.debugLineNum = 451;BA.debugLine="e.Close";
_e.Close();
//BA.debugLineNum = 452;BA.debugLine="Log(222)";
-__c.LogImpl("740894551",BA.NumberToString(222),0);
+__c.LogImpl("439387223",BA.NumberToString(222),0);
//BA.debugLineNum = 453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 454;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update";
@@ -1095,7 +1095,7 @@ _h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 486;BA.debugLine="h.Position=0";
_h.setPosition((int) (0));
//BA.debugLineNum = 487;BA.debugLine="Log(333)";
-__c.LogImpl("740894586",BA.NumberToString(333),0);
+__c.LogImpl("439387258",BA.NumberToString(333),0);
//BA.debugLineNum = 488;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))),(Object)(_f.GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 489;BA.debugLine="h.Close";
@@ -1108,7 +1108,7 @@ _f.Close();
//BA.debugLineNum = 493;BA.debugLine="e.Close";
_e.Close();
//BA.debugLineNum = 494;BA.debugLine="Log(444)";
-__c.LogImpl("740894593",BA.NumberToString(444),0);
+__c.LogImpl("439387265",BA.NumberToString(444),0);
//BA.debugLineNum = 495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 496;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${";
@@ -1157,7 +1157,7 @@ _c.setPosition((int) (0));
//BA.debugLineNum = 518;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
//BA.debugLineNum = 519;BA.debugLine="Log(555)";
-__c.LogImpl("740894618",BA.NumberToString(555),0);
+__c.LogImpl("439387290",BA.NumberToString(555),0);
//BA.debugLineNum = 520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)((double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_l_precio.getText()))),(Object)(_l_precio.getText()),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_preciosin),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )}));
//BA.debugLineNum = 521;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_principal.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_principal.java
index c367c7b..ab053be 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_principal.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_principal.java
@@ -262,9 +262,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -285,281 +285,281 @@ Title = "";
public String _addtitle(String _title) throws Exception{
anywheresoftware.b4a.objects.B4XViewWrapper _p_marcas = null;
gunav2.keymon.com.mx.c_principal._titledata _td = null;
- //BA.debugLineNum = 3916;BA.debugLine="Sub AddTitle (Title As String)";
- //BA.debugLineNum = 3917;BA.debugLine="Dim p_marcas As B4XView = xui.CreatePanel(\"\")";
+ //BA.debugLineNum = 3946;BA.debugLine="Sub AddTitle (Title As String)";
+ //BA.debugLineNum = 3947;BA.debugLine="Dim p_marcas As B4XView = xui.CreatePanel(\"\")";
_p_marcas = new anywheresoftware.b4a.objects.B4XViewWrapper();
_p_marcas = _xui.CreatePanel(ba,"");
- //BA.debugLineNum = 3918;BA.debugLine="p_marcas.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W";
+ //BA.debugLineNum = 3948;BA.debugLine="p_marcas.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W";
_p_marcas.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv1._asview().getWidth(),_titleheight);
- //BA.debugLineNum = 3919;BA.debugLine="p_marcas.LoadLayout(\"CellTitle\")";
+ //BA.debugLineNum = 3949;BA.debugLine="p_marcas.LoadLayout(\"CellTitle\")";
_p_marcas.LoadLayout("CellTitle",ba);
- //BA.debugLineNum = 3920;BA.debugLine="lblTitle.Text = Title";
+ //BA.debugLineNum = 3950;BA.debugLine="lblTitle.Text = Title";
_lbltitle.setText(BA.ObjectToCharSequence(_title));
- //BA.debugLineNum = 3921;BA.debugLine="Dim td As TitleData";
+ //BA.debugLineNum = 3951;BA.debugLine="Dim td As TitleData";
_td = new gunav2.keymon.com.mx.c_principal._titledata();
- //BA.debugLineNum = 3922;BA.debugLine="td.Title = Title";
+ //BA.debugLineNum = 3952;BA.debugLine="td.Title = Title";
_td.Title /*String*/ = _title;
- //BA.debugLineNum = 3923;BA.debugLine="CLV1.Add(p_marcas, td)";
+ //BA.debugLineNum = 3953;BA.debugLine="CLV1.Add(p_marcas, td)";
_clv1._add(_p_marcas,(Object)(_td));
- //BA.debugLineNum = 3924;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3954;BA.debugLine="End Sub";
return "";
}
public String _b_abordo_click() throws Exception{
- //BA.debugLineNum = 3966;BA.debugLine="Private Sub b_abordo_Click";
- //BA.debugLineNum = 3967;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from cuentaa\"$";
+ //BA.debugLineNum = 3996;BA.debugLine="Private Sub b_abordo_Click";
+ //BA.debugLineNum = 3997;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from cuentaa\"$";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from cuentaa"));
- //BA.debugLineNum = 3968;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into cuentaa (";
+ //BA.debugLineNum = 3998;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into cuentaa (";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into cuentaa (cuenta) values ('0')"));
- //BA.debugLineNum = 3969;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
+ //BA.debugLineNum = 3999;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
_b4xpages._showpage /*String*/ (ba,"Cliente");
- //BA.debugLineNum = 3970;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4000;BA.debugLine="End Sub";
return "";
}
public String _b_clientesvisitados_click() throws Exception{
- //BA.debugLineNum = 3976;BA.debugLine="Private Sub b_clientesvisitados_Click";
- //BA.debugLineNum = 3977;BA.debugLine="tickets_dia_Click";
+ //BA.debugLineNum = 4006;BA.debugLine="Private Sub b_clientesvisitados_Click";
+ //BA.debugLineNum = 4007;BA.debugLine="tickets_dia_Click";
_tickets_dia_click();
- //BA.debugLineNum = 3978;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4008;BA.debugLine="End Sub";
return "";
}
public String _b_comm_click() throws Exception{
- //BA.debugLineNum = 3797;BA.debugLine="Sub B_COMM_Click";
- //BA.debugLineNum = 3798;BA.debugLine="Btn_Ubicar.Visible=False";
+ //BA.debugLineNum = 3827;BA.debugLine="Sub B_COMM_Click";
+ //BA.debugLineNum = 3828;BA.debugLine="Btn_Ubicar.Visible=False";
_btn_ubicar.setVisible(__c.False);
- //BA.debugLineNum = 3799;BA.debugLine="SCROLL_RESDIA.Visible = True";
+ //BA.debugLineNum = 3829;BA.debugLine="SCROLL_RESDIA.Visible = True";
_scroll_resdia.setVisible(__c.True);
- //BA.debugLineNum = 3800;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")";
+ //BA.debugLineNum = 3830;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")";
_scroll_resdia.getPanel().LoadLayout("COMIS",ba);
- //BA.debugLineNum = 3801;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height";
+ //BA.debugLineNum = 3831;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height";
_scroll_resdia.getPanel().setHeight(_panel_c.getHeight());
- //BA.debugLineNum = 3802;BA.debugLine="Panel4.Visible = False";
+ //BA.debugLineNum = 3832;BA.debugLine="Panel4.Visible = False";
_panel4.setVisible(__c.False);
- //BA.debugLineNum = 3803;BA.debugLine="Panel_C.Visible = True";
+ //BA.debugLineNum = 3833;BA.debugLine="Panel_C.Visible = True";
_panel_c.setVisible(__c.True);
- //BA.debugLineNum = 3804;BA.debugLine="Panel_C.Width = Root.Width * 0.90";
+ //BA.debugLineNum = 3834;BA.debugLine="Panel_C.Width = Root.Width * 0.90";
_panel_c.setWidth((int) (_root.getWidth()*0.90));
- //BA.debugLineNum = 3808;BA.debugLine="NUEVO.Visible =False";
+ //BA.debugLineNum = 3838;BA.debugLine="NUEVO.Visible =False";
_nuevo.setVisible(__c.False);
- //BA.debugLineNum = 3809;BA.debugLine="BUSCA.Visible=False";
+ //BA.debugLineNum = 3839;BA.debugLine="BUSCA.Visible=False";
_busca.setVisible(__c.False);
- //BA.debugLineNum = 3810;BA.debugLine="connecta.Visible=False";
+ //BA.debugLineNum = 3840;BA.debugLine="connecta.Visible=False";
_connecta.setVisible(__c.False);
- //BA.debugLineNum = 3811;BA.debugLine="Subir.Visible=False";
+ //BA.debugLineNum = 3841;BA.debugLine="Subir.Visible=False";
_subir.setVisible(__c.False);
- //BA.debugLineNum = 3812;BA.debugLine="cargar.Visible=False";
+ //BA.debugLineNum = 3842;BA.debugLine="cargar.Visible=False";
_cargar.setVisible(__c.False);
- //BA.debugLineNum = 3813;BA.debugLine="Resumen.Visible= False";
+ //BA.debugLineNum = 3843;BA.debugLine="Resumen.Visible= False";
_resumen.setVisible(__c.False);
- //BA.debugLineNum = 3815;BA.debugLine="If l_ruta.Text <> 0 Then";
+ //BA.debugLineNum = 3845;BA.debugLine="If l_ruta.Text <> 0 Then";
if ((_l_ruta.getText()).equals(BA.NumberToString(0)) == false) {
- //BA.debugLineNum = 3816;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HCM_T";
+ //BA.debugLineNum = 3846;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HCM_T";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HCM_TOTAL_V, HCM_TOTAL_VIVE, HCM_TOTAL_GUNA, HCM_TOTAL_BEB from HIST_COMISIONES_MOVIL")));
- //BA.debugLineNum = 3817;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 3847;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 3818;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3848;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3819;BA.debugLine="L_TOTAL_BA.Text = c.GetString(\"HCM_TOTAL_BEB\")";
+ //BA.debugLineNum = 3849;BA.debugLine="L_TOTAL_BA.Text = c.GetString(\"HCM_TOTAL_BEB\")";
_l_total_ba.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_BEB")));
- //BA.debugLineNum = 3820;BA.debugLine="L_TOTAL_GUNA.Text = c.GetString(\"HCM_TOTAL_GUNA";
+ //BA.debugLineNum = 3850;BA.debugLine="L_TOTAL_GUNA.Text = c.GetString(\"HCM_TOTAL_GUNA";
_l_total_guna.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_GUNA")));
- //BA.debugLineNum = 3821;BA.debugLine="L_TOTAL_MM.Text = c.GetString(\"HCM_TOTAL_V\")";
+ //BA.debugLineNum = 3851;BA.debugLine="L_TOTAL_MM.Text = c.GetString(\"HCM_TOTAL_V\")";
_l_total_mm.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_V")));
- //BA.debugLineNum = 3822;BA.debugLine="L_TOTAL_VIVE.Text = c.GetString(\"HCM_TOTAL_VIVE";
+ //BA.debugLineNum = 3852;BA.debugLine="L_TOTAL_VIVE.Text = c.GetString(\"HCM_TOTAL_VIVE";
_l_total_vive.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_VIVE")));
- //BA.debugLineNum = 3823;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3853;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3824;BA.debugLine="L_TOTAL_COMIS.Text = 0";
+ //BA.debugLineNum = 3854;BA.debugLine="L_TOTAL_COMIS.Text = 0";
_l_total_comis.setText(BA.ObjectToCharSequence(0));
};
}else {
- //BA.debugLineNum = 3827;BA.debugLine="L_TOTAL_BA.Text = 0";
+ //BA.debugLineNum = 3857;BA.debugLine="L_TOTAL_BA.Text = 0";
_l_total_ba.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3828;BA.debugLine="L_TOTAL_GUNA.Text = 0";
+ //BA.debugLineNum = 3858;BA.debugLine="L_TOTAL_GUNA.Text = 0";
_l_total_guna.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3829;BA.debugLine="L_TOTAL_MM.Text = 0";
+ //BA.debugLineNum = 3859;BA.debugLine="L_TOTAL_MM.Text = 0";
_l_total_mm.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3830;BA.debugLine="L_TOTAL_VIVE.Text = 0";
+ //BA.debugLineNum = 3860;BA.debugLine="L_TOTAL_VIVE.Text = 0";
_l_total_vive.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3831;BA.debugLine="L_TOTAL_COMIS.Text = 0";
+ //BA.debugLineNum = 3861;BA.debugLine="L_TOTAL_COMIS.Text = 0";
_l_total_comis.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3834;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3864;BA.debugLine="End Sub";
return "";
}
public String _b_hacerpedido_click() throws Exception{
- //BA.debugLineNum = 3988;BA.debugLine="Private Sub b_hacerpedido_Click";
- //BA.debugLineNum = 3989;BA.debugLine="hacer_ped_Click";
+ //BA.debugLineNum = 4018;BA.debugLine="Private Sub b_hacerpedido_Click";
+ //BA.debugLineNum = 4019;BA.debugLine="hacer_ped_Click";
_hacer_ped_click();
- //BA.debugLineNum = 3990;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4020;BA.debugLine="End Sub";
return "";
}
public String _b_mapa_click() throws Exception{
- //BA.debugLineNum = 2955;BA.debugLine="Sub b_mapa_Click";
- //BA.debugLineNum = 2957;BA.debugLine="B4XPages.GetPage(\"Mapas\")";
+ //BA.debugLineNum = 2976;BA.debugLine="Sub b_mapa_Click";
+ //BA.debugLineNum = 2978;BA.debugLine="B4XPages.GetPage(\"Mapas\")";
_b4xpages._getpage /*Object*/ (ba,"Mapas");
- //BA.debugLineNum = 2958;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2979;BA.debugLine="End Sub";
return "";
}
public String _b_marcas_click() throws Exception{
int _i = 0;
- //BA.debugLineNum = 3849;BA.debugLine="Sub B_MARCAS_Click";
- //BA.debugLineNum = 3850;BA.debugLine="SCROLL_RESDIA.Visible = True";
+ //BA.debugLineNum = 3879;BA.debugLine="Sub B_MARCAS_Click";
+ //BA.debugLineNum = 3880;BA.debugLine="SCROLL_RESDIA.Visible = True";
_scroll_resdia.setVisible(__c.True);
- //BA.debugLineNum = 3851;BA.debugLine="p_sombra.Width = Root.Width";
+ //BA.debugLineNum = 3881;BA.debugLine="p_sombra.Width = Root.Width";
_p_sombra.setWidth(_root.getWidth());
- //BA.debugLineNum = 3852;BA.debugLine="p_sombra.Height = Root.Height";
+ //BA.debugLineNum = 3882;BA.debugLine="p_sombra.Height = Root.Height";
_p_sombra.setHeight(_root.getHeight());
- //BA.debugLineNum = 3853;BA.debugLine="Subs.panelVisible(p_sombra, 0, 0)";
+ //BA.debugLineNum = 3883;BA.debugLine="Subs.panelVisible(p_sombra, 0, 0)";
_subs._panelvisible /*String*/ (ba,_p_sombra,(int) (0),(int) (0));
- //BA.debugLineNum = 3854;BA.debugLine="p_marcasRes.Visible = True";
+ //BA.debugLineNum = 3884;BA.debugLine="p_marcasRes.Visible = True";
_p_marcasres.setVisible(__c.True);
- //BA.debugLineNum = 3855;BA.debugLine="p_marcasRes.Height = Root.Height * 0.8";
+ //BA.debugLineNum = 3885;BA.debugLine="p_marcasRes.Height = Root.Height * 0.8";
_p_marcasres.setHeight((int) (_root.getHeight()*0.8));
- //BA.debugLineNum = 3856;BA.debugLine="p_marcasRes.BringToFront";
+ //BA.debugLineNum = 3886;BA.debugLine="p_marcasRes.BringToFront";
_p_marcasres.BringToFront();
- //BA.debugLineNum = 3858;BA.debugLine="pnlTitle.Visible = False";
+ //BA.debugLineNum = 3888;BA.debugLine="pnlTitle.Visible = False";
_pnltitle.setVisible(__c.False);
- //BA.debugLineNum = 3862;BA.debugLine="B_OK_PANEL5.Top = p_marcasRes.Height - (B_OK_PANE";
+ //BA.debugLineNum = 3892;BA.debugLine="B_OK_PANEL5.Top = p_marcasRes.Height - (B_OK_PANE";
_b_ok_panel5.setTop((int) (_p_marcasres.getHeight()-(_b_ok_panel5.getHeight()+20)));
- //BA.debugLineNum = 3863;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP";
+ //BA.debugLineNum = 3893;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF")));
- //BA.debugLineNum = 3864;BA.debugLine="CLV1.Clear";
+ //BA.debugLineNum = 3894;BA.debugLine="CLV1.Clear";
_clv1._clear();
- //BA.debugLineNum = 3865;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 3895;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 3866;BA.debugLine="For i=0 To c.RowCount - 1";
+ //BA.debugLineNum = 3896;BA.debugLine="For i=0 To c.RowCount - 1";
{
final int step13 = 1;
final int limit13 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit13 ;_i = _i + step13 ) {
- //BA.debugLineNum = 3867;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 3897;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 3868;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))";
+ //BA.debugLineNum = 3898;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))";
_addtitle(_c.GetString("CAT_GP_CLASIF"));
- //BA.debugLineNum = 3869;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then";
+ //BA.debugLineNum = 3899;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then";
if ((_c.GetString("CAT_GP_CLASIF")).equals("PROMOS")) {
- //BA.debugLineNum = 3870;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM";
+ //BA.debugLineNum = 3900;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID")));
- //BA.debugLineNum = 3871;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 3901;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3872;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G";
+ //BA.debugLineNum = 3902;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G";
_clv1._addtextitem((Object)("CANTIDAD DE PROMOS = "+_d.GetString("CUANTOS")),(Object)("1"));
- //BA.debugLineNum = 3873;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3903;BA.debugLine="d.Close";
_d.Close();
}else {
- //BA.debugLineNum = 3875;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO";
+ //BA.debugLineNum = 3905;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO";
_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{_c.GetString("CAT_GP_CLASIF")})));
- //BA.debugLineNum = 3876;BA.debugLine="f.Position=0";
+ //BA.debugLineNum = 3906;BA.debugLine="f.Position=0";
_f.setPosition((int) (0));
- //BA.debugLineNum = 3877;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then";
+ //BA.debugLineNum = 3907;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(_f.GetString("CUANTOS")))>0) {
- //BA.debugLineNum = 3878;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H";
+ //BA.debugLineNum = 3908;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H";
_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{_c.GetString("CAT_GP_CLASIF")})));
- //BA.debugLineNum = 3879;BA.debugLine="e.Position=0";
+ //BA.debugLineNum = 3909;BA.debugLine="e.Position=0";
_e.setPosition((int) (0));
- //BA.debugLineNum = 3880;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT";
+ //BA.debugLineNum = 3910;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" WHERE CAT_GP_CLASIF =?)"),new String[]{_c.GetString("CAT_GP_CLASIF")})));
- //BA.debugLineNum = 3881;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 3911;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3882;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge";
+ //BA.debugLineNum = 3912;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge";
_clv1._addtextitem((Object)("TOTAL PREVENTA = $"+_c.GetString("TOTAL")),(Object)("1"));
- //BA.debugLineNum = 3883;BA.debugLine="CLV1.AddTextItem(\"META MES= $\" & e.GetString(";
+ //BA.debugLineNum = 3913;BA.debugLine="CLV1.AddTextItem(\"META MES= $\" & e.GetString(";
_clv1._addtextitem((Object)("META MES= $"+_e.GetString("HMC_TOTAL")),(Object)("1"));
- //BA.debugLineNum = 3884;BA.debugLine="CLV1.AddTextItem(\"META DIA= $\" & Round(e.GetS";
+ //BA.debugLineNum = 3914;BA.debugLine="CLV1.AddTextItem(\"META DIA= $\" & Round(e.GetS";
_clv1._addtextitem((Object)("META DIA= $"+BA.NumberToString(__c.Round((double)(Double.parseDouble(_e.GetString("HMC_TOTAL")))/(double)25))),(Object)("1"));
- //BA.debugLineNum = 3885;BA.debugLine="CLV1.AddTextItem(\"FALTA DIA= $\" & Round((e.Ge";
+ //BA.debugLineNum = 3915;BA.debugLine="CLV1.AddTextItem(\"FALTA DIA= $\" & Round((e.Ge";
_clv1._addtextitem((Object)("FALTA DIA= $"+BA.NumberToString(__c.Round(((double)(Double.parseDouble(_e.GetString("HMC_TOTAL")))/(double)25)-(double)(Double.parseDouble(_c.GetString("TOTAL")))))),(Object)("1"));
- //BA.debugLineNum = 3886;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString";
+ //BA.debugLineNum = 3916;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString";
_clv1._addtextitem((Object)("CLIENTES = "+_d.GetString("CUANTOS")),(Object)("1"));
- //BA.debugLineNum = 3887;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3917;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3888;BA.debugLine="e.Close";
+ //BA.debugLineNum = 3918;BA.debugLine="e.Close";
_e.Close();
}else {
- //BA.debugLineNum = 3890;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT";
+ //BA.debugLineNum = 3920;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"SELECT";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" WHERE CAT_GP_CLASIF =?)"),new String[]{_c.GetString("CAT_GP_CLASIF")})));
- //BA.debugLineNum = 3891;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 3921;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3892;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge";
+ //BA.debugLineNum = 3922;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge";
_clv1._addtextitem((Object)("TOTAL PREVENTA = $"+_c.GetString("TOTAL")),(Object)("1"));
- //BA.debugLineNum = 3893;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & \"1000\",\"1\")";
+ //BA.debugLineNum = 3923;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & \"1000\",\"1\")";
_clv1._addtextitem((Object)("M E T A = $"+"1000"),(Object)("1"));
- //BA.debugLineNum = 3894;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (1000 - c.Get";
+ //BA.debugLineNum = 3924;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (1000 - c.Get";
_clv1._addtextitem((Object)("FALTA = $"+BA.NumberToString((1000-(double)(Double.parseDouble(_c.GetString("TOTAL")))))),(Object)("1"));
- //BA.debugLineNum = 3895;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString";
+ //BA.debugLineNum = 3925;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString";
_clv1._addtextitem((Object)("CLIENTES = "+_d.GetString("CUANTOS")),(Object)("1"));
- //BA.debugLineNum = 3896;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3926;BA.debugLine="d.Close";
_d.Close();
};
- //BA.debugLineNum = 3898;BA.debugLine="f.Close";
+ //BA.debugLineNum = 3928;BA.debugLine="f.Close";
_f.Close();
};
}
};
};
- //BA.debugLineNum = 3902;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3932;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3914;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3944;BA.debugLine="End Sub";
return "";
}
public String _b_nuevocliente_click() throws Exception{
- //BA.debugLineNum = 3984;BA.debugLine="Private Sub b_nuevocliente_Click";
- //BA.debugLineNum = 3985;BA.debugLine="nvo_cliente_Click";
+ //BA.debugLineNum = 4014;BA.debugLine="Private Sub b_nuevocliente_Click";
+ //BA.debugLineNum = 4015;BA.debugLine="nvo_cliente_Click";
_nvo_cliente_click();
- //BA.debugLineNum = 3986;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4016;BA.debugLine="End Sub";
return "";
}
public String _b_ok_comiss_click() throws Exception{
- //BA.debugLineNum = 3836;BA.debugLine="Sub B_OK_COMISS_Click";
- //BA.debugLineNum = 3837;BA.debugLine="NUEVO.Visible =True";
+ //BA.debugLineNum = 3866;BA.debugLine="Sub B_OK_COMISS_Click";
+ //BA.debugLineNum = 3867;BA.debugLine="NUEVO.Visible =True";
_nuevo.setVisible(__c.True);
- //BA.debugLineNum = 3838;BA.debugLine="BUSCA.Visible=True";
+ //BA.debugLineNum = 3868;BA.debugLine="BUSCA.Visible=True";
_busca.setVisible(__c.True);
- //BA.debugLineNum = 3839;BA.debugLine="connecta.Visible=True";
+ //BA.debugLineNum = 3869;BA.debugLine="connecta.Visible=True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3840;BA.debugLine="Resumen.Visible= True";
+ //BA.debugLineNum = 3870;BA.debugLine="Resumen.Visible= True";
_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3841;BA.debugLine="P_RESUMEN.Visible=False";
+ //BA.debugLineNum = 3871;BA.debugLine="P_RESUMEN.Visible=False";
_p_resumen.setVisible(__c.False);
- //BA.debugLineNum = 3842;BA.debugLine="Panel_C.Visible = False";
+ //BA.debugLineNum = 3872;BA.debugLine="Panel_C.Visible = False";
_panel_c.setVisible(__c.False);
- //BA.debugLineNum = 3843;BA.debugLine="SCROLL_RESDIA.Visible = False";
+ //BA.debugLineNum = 3873;BA.debugLine="SCROLL_RESDIA.Visible = False";
_scroll_resdia.setVisible(__c.False);
- //BA.debugLineNum = 3844;BA.debugLine="Btn_Ubicar.Visible=True";
+ //BA.debugLineNum = 3874;BA.debugLine="Btn_Ubicar.Visible=True";
_btn_ubicar.setVisible(__c.True);
- //BA.debugLineNum = 3845;BA.debugLine="p_principal.Visible = True";
+ //BA.debugLineNum = 3875;BA.debugLine="p_principal.Visible = True";
_p_principal.setVisible(__c.True);
- //BA.debugLineNum = 3846;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews";
+ //BA.debugLineNum = 3876;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews";
_scroll_resdia.getPanel().RemoveAllViews();
- //BA.debugLineNum = 3847;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3877;BA.debugLine="End Sub";
return "";
}
public String _b_ok_panel5_click() throws Exception{
- //BA.debugLineNum = 3926;BA.debugLine="Sub B_OK_PANEL5_Click";
- //BA.debugLineNum = 3927;BA.debugLine="NUEVO.Visible =True";
+ //BA.debugLineNum = 3956;BA.debugLine="Sub B_OK_PANEL5_Click";
+ //BA.debugLineNum = 3957;BA.debugLine="NUEVO.Visible =True";
_nuevo.setVisible(__c.True);
- //BA.debugLineNum = 3928;BA.debugLine="BUSCA.Visible=True";
+ //BA.debugLineNum = 3958;BA.debugLine="BUSCA.Visible=True";
_busca.setVisible(__c.True);
- //BA.debugLineNum = 3929;BA.debugLine="connecta.Visible=True";
+ //BA.debugLineNum = 3959;BA.debugLine="connecta.Visible=True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3930;BA.debugLine="Resumen.Visible= True";
+ //BA.debugLineNum = 3960;BA.debugLine="Resumen.Visible= True";
_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3931;BA.debugLine="P_RESUMEN.Visible=False";
+ //BA.debugLineNum = 3961;BA.debugLine="P_RESUMEN.Visible=False";
_p_resumen.setVisible(__c.False);
- //BA.debugLineNum = 3932;BA.debugLine="Panel4.Visible = False";
+ //BA.debugLineNum = 3962;BA.debugLine="Panel4.Visible = False";
_panel4.setVisible(__c.False);
- //BA.debugLineNum = 3933;BA.debugLine="SCROLL_RESDIA.Visible = False";
+ //BA.debugLineNum = 3963;BA.debugLine="SCROLL_RESDIA.Visible = False";
_scroll_resdia.setVisible(__c.False);
- //BA.debugLineNum = 3934;BA.debugLine="p_marcasRes.Visible = False";
+ //BA.debugLineNum = 3964;BA.debugLine="p_marcasRes.Visible = False";
_p_marcasres.setVisible(__c.False);
- //BA.debugLineNum = 3935;BA.debugLine="p_sombra.Visible = False";
+ //BA.debugLineNum = 3965;BA.debugLine="p_sombra.Visible = False";
_p_sombra.setVisible(__c.False);
- //BA.debugLineNum = 3936;BA.debugLine="Btn_Ubicar.Visible=True";
+ //BA.debugLineNum = 3966;BA.debugLine="Btn_Ubicar.Visible=True";
_btn_ubicar.setVisible(__c.True);
- //BA.debugLineNum = 3937;BA.debugLine="p_principal.Visible = True";
+ //BA.debugLineNum = 3967;BA.debugLine="p_principal.Visible = True";
_p_principal.setVisible(__c.True);
- //BA.debugLineNum = 3938;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3968;BA.debugLine="End Sub";
return "";
}
public String _b_ok_pas_click() throws Exception{
@@ -569,304 +569,304 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c11 = null;
int _i = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c12 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c13 = null;
- //BA.debugLineNum = 3118;BA.debugLine="Sub B_OK_PAS_Click";
- //BA.debugLineNum = 3119;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then";
+ //BA.debugLineNum = 3139;BA.debugLine="Sub B_OK_PAS_Click";
+ //BA.debugLineNum = 3140;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then";
if ((_carga).equals("SUBIR") && (_s_cp.getText()).equals("INFO OK")) {
- //BA.debugLineNum = 3120;BA.debugLine="P1.Visible = False";
+ //BA.debugLineNum = 3141;BA.debugLine="P1.Visible = False";
_p1.setVisible(__c.False);
- //BA.debugLineNum = 3121;BA.debugLine="Btn_Ubicar.Visible=True";
+ //BA.debugLineNum = 3142;BA.debugLine="Btn_Ubicar.Visible=True";
_btn_ubicar.setVisible(__c.True);
- //BA.debugLineNum = 3123;BA.debugLine="NUEVO.Visible =True";
+ //BA.debugLineNum = 3144;BA.debugLine="NUEVO.Visible =True";
_nuevo.setVisible(__c.True);
- //BA.debugLineNum = 3124;BA.debugLine="BUSCA.Visible=True";
+ //BA.debugLineNum = 3145;BA.debugLine="BUSCA.Visible=True";
_busca.setVisible(__c.True);
- //BA.debugLineNum = 3125;BA.debugLine="connecta.Visible=True";
+ //BA.debugLineNum = 3146;BA.debugLine="connecta.Visible=True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3126;BA.debugLine="Resumen.Visible= True";
+ //BA.debugLineNum = 3147;BA.debugLine="Resumen.Visible= True";
_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3127;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 3148;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 3128;BA.debugLine="CARGA = \"\"";
+ //BA.debugLineNum = 3149;BA.debugLine="CARGA = \"\"";
_carga = "";
- //BA.debugLineNum = 3130;BA.debugLine="E_RUTA2.Text = \"\"";
+ //BA.debugLineNum = 3151;BA.debugLine="E_RUTA2.Text = \"\"";
_e_ruta2.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 3131;BA.debugLine="e_ruta.Text = \"\"";
+ //BA.debugLineNum = 3152;BA.debugLine="e_ruta.Text = \"\"";
_e_ruta.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 3132;BA.debugLine="Label4.Visible = True";
+ //BA.debugLineNum = 3153;BA.debugLine="Label4.Visible = True";
_label4.setVisible(__c.True);
- //BA.debugLineNum = 3133;BA.debugLine="l_ruta.Visible = True";
+ //BA.debugLineNum = 3154;BA.debugLine="l_ruta.Visible = True";
_l_ruta.setVisible(__c.True);
- //BA.debugLineNum = 3134;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 3155;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
}else if((_carga).equals("SUBIR") && (_s_cp.getText()).equals("ERROR")) {
- //BA.debugLineNum = 3136;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\"";
+ //BA.debugLineNum = 3157;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\"";
__c.Msgbox(BA.ObjectToCharSequence("Tiene que subir de nuevo la información"),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 3137;BA.debugLine="P1.Visible = False";
+ //BA.debugLineNum = 3158;BA.debugLine="P1.Visible = False";
_p1.setVisible(__c.False);
- //BA.debugLineNum = 3139;BA.debugLine="NUEVO.Visible =True";
+ //BA.debugLineNum = 3160;BA.debugLine="NUEVO.Visible =True";
_nuevo.setVisible(__c.True);
- //BA.debugLineNum = 3140;BA.debugLine="BUSCA.Visible=True";
+ //BA.debugLineNum = 3161;BA.debugLine="BUSCA.Visible=True";
_busca.setVisible(__c.True);
- //BA.debugLineNum = 3141;BA.debugLine="connecta.Visible=True";
+ //BA.debugLineNum = 3162;BA.debugLine="connecta.Visible=True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3142;BA.debugLine="Resumen.Visible= True";
+ //BA.debugLineNum = 3163;BA.debugLine="Resumen.Visible= True";
_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3143;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 3164;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
}else if((_carga).equals("SUBIR") && (_s_cp.getText()).equals("INFO OK") == false) {
- //BA.debugLineNum = 3146;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce";
+ //BA.debugLineNum = 3167;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce";
_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
- //BA.debugLineNum = 3147;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 3168;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
- //BA.debugLineNum = 3148;BA.debugLine="P1.Visible = False";
+ //BA.debugLineNum = 3169;BA.debugLine="P1.Visible = False";
_p1.setVisible(__c.False);
- //BA.debugLineNum = 3150;BA.debugLine="NUEVO.Visible =True";
+ //BA.debugLineNum = 3171;BA.debugLine="NUEVO.Visible =True";
_nuevo.setVisible(__c.True);
- //BA.debugLineNum = 3151;BA.debugLine="BUSCA.Visible=True";
+ //BA.debugLineNum = 3172;BA.debugLine="BUSCA.Visible=True";
_busca.setVisible(__c.True);
- //BA.debugLineNum = 3152;BA.debugLine="connecta.Visible=True";
+ //BA.debugLineNum = 3173;BA.debugLine="connecta.Visible=True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3153;BA.debugLine="Resumen.Visible= True";
+ //BA.debugLineNum = 3174;BA.debugLine="Resumen.Visible= True";
_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3154;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 3175;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 3155;BA.debugLine="l_visitartotal.Visible = True";
+ //BA.debugLineNum = 3176;BA.debugLine="l_visitartotal.Visible = True";
_l_visitartotal.setVisible(__c.True);
- //BA.debugLineNum = 3156;BA.debugLine="de.Visible = True";
+ //BA.debugLineNum = 3177;BA.debugLine="de.Visible = True";
_de.setVisible(__c.True);
- //BA.debugLineNum = 3157;BA.debugLine="l_faltan.Visible = True";
+ //BA.debugLineNum = 3178;BA.debugLine="l_faltan.Visible = True";
_l_faltan.setVisible(__c.True);
- //BA.debugLineNum = 3158;BA.debugLine="l_visitas.Visible = True";
+ //BA.debugLineNum = 3179;BA.debugLine="l_visitas.Visible = True";
_l_visitas.setVisible(__c.True);
- //BA.debugLineNum = 3160;BA.debugLine="ExitApplication";
+ //BA.debugLineNum = 3181;BA.debugLine="ExitApplication";
__c.ExitApplication();
};
};
- //BA.debugLineNum = 3163;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S";
+ //BA.debugLineNum = 3184;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S";
if ((_carga).equals("CARGAR") && (_s_cp.getText()).equals("LISTO") && (_s_cc.getText()).equals("LISTO") && (_s_ch.getText()).equals("LISTO")) {
- //BA.debugLineNum = 3164;BA.debugLine="P1.Visible = False";
+ //BA.debugLineNum = 3185;BA.debugLine="P1.Visible = False";
_p1.setVisible(__c.False);
- //BA.debugLineNum = 3165;BA.debugLine="Btn_Ubicar.Visible=True";
+ //BA.debugLineNum = 3186;BA.debugLine="Btn_Ubicar.Visible=True";
_btn_ubicar.setVisible(__c.True);
- //BA.debugLineNum = 3167;BA.debugLine="NUEVO.Visible =True";
+ //BA.debugLineNum = 3188;BA.debugLine="NUEVO.Visible =True";
_nuevo.setVisible(__c.True);
- //BA.debugLineNum = 3168;BA.debugLine="BUSCA.Visible=True";
+ //BA.debugLineNum = 3189;BA.debugLine="BUSCA.Visible=True";
_busca.setVisible(__c.True);
- //BA.debugLineNum = 3169;BA.debugLine="connecta.Visible=True";
+ //BA.debugLineNum = 3190;BA.debugLine="connecta.Visible=True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3170;BA.debugLine="Resumen.Visible= True";
+ //BA.debugLineNum = 3191;BA.debugLine="Resumen.Visible= True";
_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3171;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 3192;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 3173;BA.debugLine="Label4.Visible = True";
+ //BA.debugLineNum = 3194;BA.debugLine="Label4.Visible = True";
_label4.setVisible(__c.True);
- //BA.debugLineNum = 3174;BA.debugLine="l_ruta.Visible = True";
+ //BA.debugLineNum = 3195;BA.debugLine="l_ruta.Visible = True";
_l_ruta.setVisible(__c.True);
- //BA.debugLineNum = 3175;BA.debugLine="l_visitartotal.Visible = True";
+ //BA.debugLineNum = 3196;BA.debugLine="l_visitartotal.Visible = True";
_l_visitartotal.setVisible(__c.True);
- //BA.debugLineNum = 3176;BA.debugLine="de.Visible = True";
+ //BA.debugLineNum = 3197;BA.debugLine="de.Visible = True";
_de.setVisible(__c.True);
- //BA.debugLineNum = 3177;BA.debugLine="l_faltan.Visible = True";
+ //BA.debugLineNum = 3198;BA.debugLine="l_faltan.Visible = True";
_l_faltan.setVisible(__c.True);
- //BA.debugLineNum = 3178;BA.debugLine="l_visitas.Visible = True";
+ //BA.debugLineNum = 3199;BA.debugLine="l_visitas.Visible = True";
_l_visitas.setVisible(__c.True);
- //BA.debugLineNum = 3179;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 3200;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
- //BA.debugLineNum = 3181;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC";
+ //BA.debugLineNum = 3202;BA.debugLine="Dim cn As Cursor = Starter.skmt.ExecQuery(\"SELEC";
_cn = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cn = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CLIENTES_NUEVOS")));
- //BA.debugLineNum = 3182;BA.debugLine="If cn.RowCount > 0 Then";
+ //BA.debugLineNum = 3203;BA.debugLine="If cn.RowCount > 0 Then";
if (_cn.getRowCount()>0) {
- //BA.debugLineNum = 3183;BA.debugLine="For gh = 0 To cn.RowCount -1";
+ //BA.debugLineNum = 3204;BA.debugLine="For gh = 0 To cn.RowCount -1";
{
final int step56 = 1;
final int limit56 = (int) (_cn.getRowCount()-1);
_gh = (int) (0) ;
for (;_gh <= limit56 ;_gh = _gh + step56 ) {
- //BA.debugLineNum = 3184;BA.debugLine="cn.Position = gh";
+ //BA.debugLineNum = 3205;BA.debugLine="cn.Position = gh";
_cn.setPosition(_gh);
- //BA.debugLineNum = 3185;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in";
+ //BA.debugLineNum = 3206;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO,CAT_CL_NUMEROINT,CAT_CL_NUMEROEXT,CAT_CL_REFERENCIA) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cn.GetString("CN_ID")),(Object)(_cn.GetString("CN_RUTA")),(Object)(_cn.GetString("CN_NOMBRE")),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_cn.GetString("CN_CALLE1")),(Object)(_cn.GetString("CN_CALLE2")),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_cn.GetString("CN_LON")),(Object)(_cn.GetString("CN_LAT")),(Object)(_cn.GetString("CN_GIRO")),(Object)(_cn.GetString("CN_NUMEROINT")),(Object)(_cn.GetString("CN_NUMEROEXT")),(Object)(_cn.GetString("CN_REFERENCIA"))}));
}
};
};
- //BA.debugLineNum = 3189;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
+ //BA.debugLineNum = 3210;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"CARGA_DIA"}));
- //BA.debugLineNum = 3190;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
+ //BA.debugLineNum = 3211;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CARGA_DIA"),(Object)(1)}));
- //BA.debugLineNum = 3191;BA.debugLine="If E_RUTA2.Visible = True Then";
+ //BA.debugLineNum = 3212;BA.debugLine="If E_RUTA2.Visible = True Then";
if (_e_ruta2.getVisible()==__c.True) {
- //BA.debugLineNum = 3192;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
+ //BA.debugLineNum = 3213;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
_bitacora._mandabitacora /*String*/ (_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_usuario,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Carga día suplencia","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","","");
}else {
- //BA.debugLineNum = 3194;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
+ //BA.debugLineNum = 3215;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
_bitacora._mandabitacora /*String*/ (_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_usuario,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Carga día","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","","");
};
- //BA.debugLineNum = 3196;BA.debugLine="Dim c11 As Cursor = Starter.skmt.ExecQuery(\"Sel";
+ //BA.debugLineNum = 3217;BA.debugLine="Dim c11 As Cursor = Starter.skmt.ExecQuery(\"Sel";
_c11 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c11 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'PREVENTA'")));
- //BA.debugLineNum = 3197;BA.debugLine="If c11.RowCount > 0 Then";
+ //BA.debugLineNum = 3218;BA.debugLine="If c11.RowCount > 0 Then";
if (_c11.getRowCount()>0) {
- //BA.debugLineNum = 3198;BA.debugLine="For i = 0 To c11.RowCount - 1";
+ //BA.debugLineNum = 3219;BA.debugLine="For i = 0 To c11.RowCount - 1";
{
final int step70 = 1;
final int limit70 = (int) (_c11.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit70 ;_i = _i + step70 ) {
- //BA.debugLineNum = 3199;BA.debugLine="c11.Position = i";
+ //BA.debugLineNum = 3220;BA.debugLine="c11.Position = i";
_c11.setPosition(_i);
- //BA.debugLineNum = 3200;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
+ //BA.debugLineNum = 3221;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "+__c.SmartStringFormatter("",(Object)(_c11.GetString("PE_CANT")))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c11.GetString("PE_PROID")))+"'"));
}
};
};
- //BA.debugLineNum = 3203;BA.debugLine="c11.Close";
+ //BA.debugLineNum = 3224;BA.debugLine="c11.Close";
_c11.Close();
- //BA.debugLineNum = 3205;BA.debugLine="Dim c12 As Cursor = Starter.skmt.ExecQuery(\"Sel";
+ //BA.debugLineNum = 3226;BA.debugLine="Dim c12 As Cursor = Starter.skmt.ExecQuery(\"Sel";
_c12 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c12 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'ABORDO'")));
- //BA.debugLineNum = 3206;BA.debugLine="If c12.RowCount > 0 Then";
+ //BA.debugLineNum = 3227;BA.debugLine="If c12.RowCount > 0 Then";
if (_c12.getRowCount()>0) {
- //BA.debugLineNum = 3207;BA.debugLine="For i = 0 To c12.RowCount - 1";
+ //BA.debugLineNum = 3228;BA.debugLine="For i = 0 To c12.RowCount - 1";
{
final int step78 = 1;
final int limit78 = (int) (_c12.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit78 ;_i = _i + step78 ) {
- //BA.debugLineNum = 3208;BA.debugLine="c12.Position = i";
+ //BA.debugLineNum = 3229;BA.debugLine="c12.Position = i";
_c12.setPosition(_i);
- //BA.debugLineNum = 3209;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
+ //BA.debugLineNum = 3230;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CAT_GUNAPROD SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "+__c.SmartStringFormatter("",(Object)(_c12.GetString("PE_CANT")))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c12.GetString("PE_PROID")))+"'"));
}
};
};
- //BA.debugLineNum = 3212;BA.debugLine="c12.Close";
+ //BA.debugLineNum = 3233;BA.debugLine="c12.Close";
_c12.Close();
- //BA.debugLineNum = 3214;BA.debugLine="Dim c13 As Cursor = Starter.skmt.ExecQuery(\"Sel";
+ //BA.debugLineNum = 3235;BA.debugLine="Dim c13 As Cursor = Starter.skmt.ExecQuery(\"Sel";
_c13 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c13 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_PRONOMBRE, PE_PROID, PE_CANT FROM PEDIDO WHERE PE_FOLIO = 'VENTA'")));
- //BA.debugLineNum = 3215;BA.debugLine="If c13.RowCount > 0 Then";
+ //BA.debugLineNum = 3236;BA.debugLine="If c13.RowCount > 0 Then";
if (_c13.getRowCount()>0) {
- //BA.debugLineNum = 3216;BA.debugLine="For i = 0 To c13.RowCount - 1";
+ //BA.debugLineNum = 3237;BA.debugLine="For i = 0 To c13.RowCount - 1";
{
final int step86 = 1;
final int limit86 = (int) (_c13.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit86 ;_i = _i + step86 ) {
- //BA.debugLineNum = 3217;BA.debugLine="c13.Position = i";
+ //BA.debugLineNum = 3238;BA.debugLine="c13.Position = i";
_c13.setPosition(_i);
- //BA.debugLineNum = 3218;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
+ //BA.debugLineNum = 3239;BA.debugLine="Starter.skmt.ExecNonQuery($\"UPDATE CAT_GUNAPRO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CAT_GUNAPROD2 SET CAT_GP_ALMACEN = CAT_GP_ALMACEN - "+__c.SmartStringFormatter("",(Object)(_c13.GetString("PE_CANT")))+" WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_c13.GetString("PE_PROID")))+"'"));
}
};
};
- //BA.debugLineNum = 3221;BA.debugLine="c13.Close";
+ //BA.debugLineNum = 3242;BA.debugLine="c13.Close";
_c13.Close();
- //BA.debugLineNum = 3225;BA.debugLine="checaPedido";
+ //BA.debugLineNum = 3246;BA.debugLine="checaPedido";
_checapedido();
}else if((_carga).equals("CARGAR") && ((_s_cp.getText()).equals("LISTO") == false || (_s_cc.getText()).equals("LISTO") == false || (_s_ch.getText()).equals("LISTO") == false)) {
- //BA.debugLineNum = 3227;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce";
+ //BA.debugLineNum = 3248;BA.debugLine="RES = Msgbox2(\"Seguro que desa abortar el proce";
_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desa abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
- //BA.debugLineNum = 3228;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 3249;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
- //BA.debugLineNum = 3229;BA.debugLine="P1.Visible = False";
+ //BA.debugLineNum = 3250;BA.debugLine="P1.Visible = False";
_p1.setVisible(__c.False);
- //BA.debugLineNum = 3231;BA.debugLine="NUEVO.Visible =True";
+ //BA.debugLineNum = 3252;BA.debugLine="NUEVO.Visible =True";
_nuevo.setVisible(__c.True);
- //BA.debugLineNum = 3232;BA.debugLine="BUSCA.Visible=True";
+ //BA.debugLineNum = 3253;BA.debugLine="BUSCA.Visible=True";
_busca.setVisible(__c.True);
- //BA.debugLineNum = 3233;BA.debugLine="connecta.Visible=True";
+ //BA.debugLineNum = 3254;BA.debugLine="connecta.Visible=True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3234;BA.debugLine="Resumen.Visible= True";
+ //BA.debugLineNum = 3255;BA.debugLine="Resumen.Visible= True";
_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3235;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 3256;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 3237;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 3258;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
- //BA.debugLineNum = 3238;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3259;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info3");
- //BA.debugLineNum = 3239;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3260;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result");
- //BA.debugLineNum = 3240;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3261;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest");
- //BA.debugLineNum = 3241;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3262;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod");
- //BA.debugLineNum = 3242;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3263;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ");
- //BA.debugLineNum = 3243;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3264;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos");
- //BA.debugLineNum = 3244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3265;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS");
- //BA.debugLineNum = 3245;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3266;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PROMOS");
- //BA.debugLineNum = 3246;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3267;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS");
- //BA.debugLineNum = 3247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3268;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMOS_COMP");
- //BA.debugLineNum = 3248;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
+ //BA.debugLineNum = 3269;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VERIFICACION");
- //BA.debugLineNum = 3249;BA.debugLine="ExitApplication";
+ //BA.debugLineNum = 3270;BA.debugLine="ExitApplication";
__c.ExitApplication();
};
};
- //BA.debugLineNum = 3252;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT";
+ //BA.debugLineNum = 3273;BA.debugLine="If Subs.traeTipoVentaDeBD = \"VENTA\" Or Subs.traeT";
if ((_subs._traetipoventadebd /*String*/ (ba)).equals("VENTA") || (_subs._traetipoventadebd /*String*/ (ba)).equals("ABORDO")) {
- //BA.debugLineNum = 3253;BA.debugLine="If l_ruta.Text <> \"0\" Then";
+ //BA.debugLineNum = 3274;BA.debugLine="If l_ruta.Text <> \"0\" Then";
if ((_l_ruta.getText()).equals("0") == false) {
- //BA.debugLineNum = 3254;BA.debugLine="Log(888 & \"|\" & l_ruta.Text & \"|\")";
-__c.LogImpl("74653192",BA.NumberToString(888)+"|"+_l_ruta.getText()+"|",0);
- //BA.debugLineNum = 3255;BA.debugLine="b_abordo.Visible = False";
+ //BA.debugLineNum = 3275;BA.debugLine="Log(888 & \"|\" & l_ruta.Text & \"|\")";
+__c.LogImpl("44653192",BA.NumberToString(888)+"|"+_l_ruta.getText()+"|",0);
+ //BA.debugLineNum = 3276;BA.debugLine="b_abordo.Visible = False";
_b_abordo.setVisible(__c.False);
};
}else {
- //BA.debugLineNum = 3258;BA.debugLine="b_abordo.Visible = False";
+ //BA.debugLineNum = 3279;BA.debugLine="b_abordo.Visible = False";
_b_abordo.setVisible(__c.False);
};
- //BA.debugLineNum = 3260;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3281;BA.debugLine="End Sub";
return "";
}
public String _b_ok_res_click() throws Exception{
- //BA.debugLineNum = 3266;BA.debugLine="Sub B_OK_RES_Click";
- //BA.debugLineNum = 3268;BA.debugLine="NUEVO.Visible =True";
+ //BA.debugLineNum = 3287;BA.debugLine="Sub B_OK_RES_Click";
+ //BA.debugLineNum = 3289;BA.debugLine="NUEVO.Visible =True";
_nuevo.setVisible(__c.True);
- //BA.debugLineNum = 3269;BA.debugLine="BUSCA.Visible=True";
+ //BA.debugLineNum = 3290;BA.debugLine="BUSCA.Visible=True";
_busca.setVisible(__c.True);
- //BA.debugLineNum = 3270;BA.debugLine="connecta.Visible=True";
+ //BA.debugLineNum = 3291;BA.debugLine="connecta.Visible=True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3271;BA.debugLine="Resumen.Visible= True";
+ //BA.debugLineNum = 3292;BA.debugLine="Resumen.Visible= True";
_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3272;BA.debugLine="P_RESUMEN.Visible=False";
+ //BA.debugLineNum = 3293;BA.debugLine="P_RESUMEN.Visible=False";
_p_resumen.setVisible(__c.False);
- //BA.debugLineNum = 3273;BA.debugLine="Panel4.Visible = False";
+ //BA.debugLineNum = 3294;BA.debugLine="Panel4.Visible = False";
_panel4.setVisible(__c.False);
- //BA.debugLineNum = 3274;BA.debugLine="SCROLL_RESDIA.Visible = False";
+ //BA.debugLineNum = 3295;BA.debugLine="SCROLL_RESDIA.Visible = False";
_scroll_resdia.setVisible(__c.False);
- //BA.debugLineNum = 3275;BA.debugLine="Btn_Ubicar.Visible=True";
+ //BA.debugLineNum = 3296;BA.debugLine="Btn_Ubicar.Visible=True";
_btn_ubicar.setVisible(__c.True);
- //BA.debugLineNum = 3276;BA.debugLine="p_principal.Visible = True";
+ //BA.debugLineNum = 3297;BA.debugLine="p_principal.Visible = True";
_p_principal.setVisible(__c.True);
- //BA.debugLineNum = 3277;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3298;BA.debugLine="End Sub";
return "";
}
public String _b_resdia_click() throws Exception{
- //BA.debugLineNum = 3992;BA.debugLine="Private Sub b_resdia_Click";
- //BA.debugLineNum = 3993;BA.debugLine="resdia_Click";
+ //BA.debugLineNum = 4022;BA.debugLine="Private Sub b_resdia_Click";
+ //BA.debugLineNum = 4023;BA.debugLine="resdia_Click";
_resdia_click();
- //BA.debugLineNum = 3994;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4024;BA.debugLine="End Sub";
return "";
}
public String _b_traec_click() throws Exception{
- //BA.debugLineNum = 3996;BA.debugLine="Private Sub B_traec_click";
- //BA.debugLineNum = 3997;BA.debugLine="B4XPages.ShowPage(\"Clientes_Completos\")";
+ //BA.debugLineNum = 4026;BA.debugLine="Private Sub B_traec_click";
+ //BA.debugLineNum = 4027;BA.debugLine="B4XPages.ShowPage(\"Clientes_Completos\")";
_b4xpages._showpage /*String*/ (ba,"Clientes_Completos");
- //BA.debugLineNum = 3998;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4028;BA.debugLine="End Sub";
return "";
}
public String _b_ubicar_click() throws Exception{
- //BA.debugLineNum = 3980;BA.debugLine="Private Sub b_ubicar_Click";
- //BA.debugLineNum = 3981;BA.debugLine="Btn_Ubicar_Click";
+ //BA.debugLineNum = 4010;BA.debugLine="Private Sub b_ubicar_Click";
+ //BA.debugLineNum = 4011;BA.debugLine="Btn_Ubicar_Click";
_btn_ubicar_click();
- //BA.debugLineNum = 3982;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4012;BA.debugLine="End Sub";
return "";
}
public String _b4xpage_appear() throws Exception{
@@ -1110,9 +1110,9 @@ _imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAs
_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"palomita_verde.png").getObject()));
};
//BA.debugLineNum = 507;BA.debugLine="Log(\"|\" & c.GetString(\"MONTO_DIA\") & \"|\")";
-__c.LogImpl("73735677","|"+_c.GetString("MONTO_DIA")+"|",0);
+__c.LogImpl("43735677","|"+_c.GetString("MONTO_DIA")+"|",0);
//BA.debugLineNum = 508;BA.debugLine="Log(\"|\" & c.GetString(\"CLIENTES_DIA\") & \"|\")";
-__c.LogImpl("73735678","|"+_c.GetString("CLIENTES_DIA")+"|",0);
+__c.LogImpl("43735678","|"+_c.GetString("CLIENTES_DIA")+"|",0);
//BA.debugLineNum = 517;BA.debugLine="b.Close";
_b.Close();
//BA.debugLineNum = 518;BA.debugLine="c.Close";
@@ -1169,50 +1169,52 @@ _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*Str
//BA.debugLineNum = 548;BA.debugLine="B4XPages.MainPage.montoActual = 0";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ = BA.NumberToString(0);
};
- //BA.debugLineNum = 552;BA.debugLine="B4XPages.MainPage.clientestotal = L_CUANTOST.Text";
+ //BA.debugLineNum = 552;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PEDIDO where PE_CANT <= 0");
+ //BA.debugLineNum = 554;BA.debugLine="B4XPages.MainPage.clientestotal = L_CUANTOST.Text";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientestotal /*String*/ = _l_cuantost.getText();
- //BA.debugLineNum = 553;BA.debugLine="B4XPages.MainPage.clientesventa = l_cuantosc.Tex";
+ //BA.debugLineNum = 555;BA.debugLine="B4XPages.MainPage.clientesventa = l_cuantosc.Tex";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientesventa /*String*/ = _l_cuantosc.getText();
- //BA.debugLineNum = 554;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita";
+ //BA.debugLineNum = 556;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = _l_porvisitar.getText();
- //BA.debugLineNum = 555;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN";
+ //BA.debugLineNum = 557;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._almacen /*String*/ = _almacen;
- //BA.debugLineNum = 556;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.text";
+ //BA.debugLineNum = 558;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.text";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _l_ruta.getText();
- //BA.debugLineNum = 559;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
+ //BA.debugLineNum = 561;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa")));
- //BA.debugLineNum = 560;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 562;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 561;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 563;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
- //BA.debugLineNum = 562;BA.debugLine="B4XPages.MainPage.usuario = usuario";
+ //BA.debugLineNum = 564;BA.debugLine="B4XPages.MainPage.usuario = usuario";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._usuario /*String*/ = _usuario;
- //BA.debugLineNum = 563;BA.debugLine="c.Close";
+ //BA.debugLineNum = 565;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 565;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")";
+ //BA.debugLineNum = 567;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")";
__c.CallSubNew(ba,(Object)(_starter.getObject()),"ENVIA_ULTIMA_GPS");
- //BA.debugLineNum = 569;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 571;BA.debugLine="Private s As Cursor = B4XPages.MainPage.skmt.Exec";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(RS_RUTA) as cuenta, RS_RUTA FROM RUTA_SUPLENCIA")));
- //BA.debugLineNum = 570;BA.debugLine="s.Position = 0";
+ //BA.debugLineNum = 572;BA.debugLine="s.Position = 0";
_s.setPosition((int) (0));
- //BA.debugLineNum = 571;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then";
+ //BA.debugLineNum = 573;BA.debugLine="If s.GetString(\"cuenta\") = 0 Then";
if ((_s.GetString("cuenta")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 572;BA.debugLine="Label22.Visible = False";
+ //BA.debugLineNum = 574;BA.debugLine="Label22.Visible = False";
_label22.setVisible(__c.False);
- //BA.debugLineNum = 573;BA.debugLine="l_rutasuplencia.Visible = False";
+ //BA.debugLineNum = 575;BA.debugLine="l_rutasuplencia.Visible = False";
_l_rutasuplencia.setVisible(__c.False);
- //BA.debugLineNum = 574;BA.debugLine="l_rutasuplencia.Text = \"\"";
+ //BA.debugLineNum = 576;BA.debugLine="l_rutasuplencia.Text = \"\"";
_l_rutasuplencia.setText(BA.ObjectToCharSequence(""));
}else if((double)(Double.parseDouble(_s.GetString("cuenta")))>0) {
- //BA.debugLineNum = 576;BA.debugLine="Label22.Visible = True";
+ //BA.debugLineNum = 578;BA.debugLine="Label22.Visible = True";
_label22.setVisible(__c.True);
- //BA.debugLineNum = 577;BA.debugLine="l_rutasuplencia.Visible = True";
+ //BA.debugLineNum = 579;BA.debugLine="l_rutasuplencia.Visible = True";
_l_rutasuplencia.setVisible(__c.True);
- //BA.debugLineNum = 578;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")";
+ //BA.debugLineNum = 580;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")";
_l_rutasuplencia.setText(BA.ObjectToCharSequence(_s.GetString("RS_RUTA")));
};
- //BA.debugLineNum = 580;BA.debugLine="End Sub";
+ //BA.debugLineNum = 582;BA.debugLine="End Sub";
return "";
}
public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{
@@ -1237,7 +1239,7 @@ parent.__c.ReturnFromResumableSub(this,null);return;}
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 2848;BA.debugLine="If SCROLL_RESDIA.Visible Then";
+ //BA.debugLineNum = 2869;BA.debugLine="If SCROLL_RESDIA.Visible Then";
if (true) break;
case 1:
@@ -1252,11 +1254,11 @@ this.state = 5;
case 3:
//C
this.state = 6;
- //BA.debugLineNum = 2849;BA.debugLine="SCROLL_RESDIA.Visible = False";
+ //BA.debugLineNum = 2870;BA.debugLine="SCROLL_RESDIA.Visible = False";
parent._scroll_resdia.setVisible(parent.__c.False);
- //BA.debugLineNum = 2850;BA.debugLine="B_OK_RES_Click";
+ //BA.debugLineNum = 2871;BA.debugLine="B_OK_RES_Click";
parent._b_ok_res_click();
- //BA.debugLineNum = 2851;BA.debugLine="Return False";
+ //BA.debugLineNum = 2872;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
if (true) break;
@@ -1264,7 +1266,7 @@ parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
case 5:
//C
this.state = 6;
- //BA.debugLineNum = 2853;BA.debugLine="B4XPages.ShowPage(\"login\")";
+ //BA.debugLineNum = 2874;BA.debugLine="B4XPages.ShowPage(\"login\")";
parent._b4xpages._showpage /*String*/ (ba,"login");
if (true) break;
@@ -1272,10 +1274,10 @@ case 6:
//C
this.state = -1;
;
- //BA.debugLineNum = 2855;BA.debugLine="Return False";
+ //BA.debugLineNum = 2876;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
- //BA.debugLineNum = 2856;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2877;BA.debugLine="End Sub";
if (true) break;
}
@@ -1372,7 +1374,7 @@ if ((_subs._traetipoventadebd /*String*/ (ba)).equals("VENTA") || (_subs._traeti
//BA.debugLineNum = 320;BA.debugLine="If l_ruta.Text <> \"0\" Then";
if ((_l_ruta.getText()).equals("0") == false) {
//BA.debugLineNum = 321;BA.debugLine="Log(999 & \"|\" & l_ruta.Text & \"|\")";
-__c.LogImpl("73670069",BA.NumberToString(999)+"|"+_l_ruta.getText()+"|",0);
+__c.LogImpl("43670069",BA.NumberToString(999)+"|"+_l_ruta.getText()+"|",0);
//BA.debugLineNum = 322;BA.debugLine="b_abordo.Visible = False";
_b_abordo.setVisible(__c.False);
};
@@ -1467,24 +1469,24 @@ _subs._centrapanel /*String*/ (ba,_p_forzaractualizacion,_p_transparenteactualiz
return "";
}
public String _btn_ubicar_click() throws Exception{
- //BA.debugLineNum = 3765;BA.debugLine="Sub Btn_Ubicar_Click";
- //BA.debugLineNum = 3766;BA.debugLine="StartActivity(MAPA_RUTAS)";
+ //BA.debugLineNum = 3795;BA.debugLine="Sub Btn_Ubicar_Click";
+ //BA.debugLineNum = 3796;BA.debugLine="StartActivity(MAPA_RUTAS)";
__c.StartActivity(ba,(Object)(_mapa_rutas.getObject()));
- //BA.debugLineNum = 3767;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3797;BA.debugLine="End Sub";
return "";
}
public String _busca_click() throws Exception{
- //BA.debugLineNum = 2951;BA.debugLine="Sub BUSCA_Click";
- //BA.debugLineNum = 2952;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")";
+ //BA.debugLineNum = 2972;BA.debugLine="Sub BUSCA_Click";
+ //BA.debugLineNum = 2973;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")";
_b4xpages._showpage /*String*/ (ba,"TicketsDia");
- //BA.debugLineNum = 2953;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2974;BA.debugLine="End Sub";
return "";
}
public String _carga_click() throws Exception{
- //BA.debugLineNum = 3294;BA.debugLine="Sub CARGA_Click";
- //BA.debugLineNum = 3295;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
+ //BA.debugLineNum = 3315;BA.debugLine="Sub CARGA_Click";
+ //BA.debugLineNum = 3316;BA.debugLine="B4XPages.ShowPage(\"Productos\")";
_b4xpages._showpage /*String*/ (ba,"Productos");
- //BA.debugLineNum = 3296;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3317;BA.debugLine="End Sub";
return "";
}
public String _cargar_click() throws Exception{
@@ -1501,714 +1503,724 @@ String _dia2 = "";
int _i = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _sup = null;
int _i2 = 0;
- //BA.debugLineNum = 1138;BA.debugLine="Sub cargar_Click";
- //BA.debugLineNum = 1140;BA.debugLine="Dim pedidodiaanterior As Boolean = False";
+ //BA.debugLineNum = 1154;BA.debugLine="Sub cargar_Click";
+ //BA.debugLineNum = 1156;BA.debugLine="Dim pedidodiaanterior As Boolean = False";
_pedidodiaanterior = __c.False;
- //BA.debugLineNum = 1141;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue";
+ //BA.debugLineNum = 1157;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue";
_cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cp = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from PEDIDO")));
- //BA.debugLineNum = 1142;BA.debugLine="If cp.RowCount > 0 Then";
+ //BA.debugLineNum = 1158;BA.debugLine="If cp.RowCount > 0 Then";
if (_cp.getRowCount()>0) {
- //BA.debugLineNum = 1143;BA.debugLine="cp.Position = 0";
+ //BA.debugLineNum = 1159;BA.debugLine="cp.Position = 0";
_cp.setPosition((int) (0));
- //BA.debugLineNum = 1144;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA";
+ //BA.debugLineNum = 1160;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA";
_fecha = _cp.GetString("PE_FECHA");
- //BA.debugLineNum = 1145;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)";
+ //BA.debugLineNum = 1161;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)";
_fecha2 = __c.Regex.Split("/",_fecha);
- //BA.debugLineNum = 1146;BA.debugLine="Dim fecha5() As String = Regex.Split(\"\\:\",fecha2";
+ //BA.debugLineNum = 1162;BA.debugLine="Dim fecha5() As String = Regex.Split(\"\\:\",fecha2";
_fecha5 = __c.Regex.Split("\\:",_fecha2[(int) (2)]);
- //BA.debugLineNum = 1147;BA.debugLine="Dim dia As String = fecha5(0).SubString2(0,4)&fe";
+ //BA.debugLineNum = 1163;BA.debugLine="Dim dia As String = fecha5(0).SubString2(0,4)&fe";
_dia = _fecha5[(int) (0)].substring((int) (0),(int) (4))+_fecha2[(int) (0)]+_fecha2[(int) (1)];
- //BA.debugLineNum = 1148;BA.debugLine="Log(fecha5(0))";
-__c.LogImpl("73932170",_fecha5[(int) (0)],0);
- //BA.debugLineNum = 1149;BA.debugLine="Log(dia)";
-__c.LogImpl("73932171",_dia,0);
- //BA.debugLineNum = 1150;BA.debugLine="Dim mescom As String = DateTime.GetMonth(DateTim";
+ //BA.debugLineNum = 1164;BA.debugLine="Log(fecha5(0))";
+__c.LogImpl("43932170",_fecha5[(int) (0)],0);
+ //BA.debugLineNum = 1165;BA.debugLine="Log(dia)";
+__c.LogImpl("43932171",_dia,0);
+ //BA.debugLineNum = 1166;BA.debugLine="Dim mescom As String = DateTime.GetMonth(DateTim";
_mescom = BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow()));
- //BA.debugLineNum = 1151;BA.debugLine="Dim mescom2 As String";
+ //BA.debugLineNum = 1167;BA.debugLine="Dim mescom2 As String";
_mescom2 = "";
- //BA.debugLineNum = 1152;BA.debugLine="If mescom.Length = 1 Then";
+ //BA.debugLineNum = 1168;BA.debugLine="If mescom.Length = 1 Then";
if (_mescom.length()==1) {
- //BA.debugLineNum = 1153;BA.debugLine="mescom2 = \"0\"&DateTime.GetMonth(DateTime.Now)";
+ //BA.debugLineNum = 1169;BA.debugLine="mescom2 = \"0\"&DateTime.GetMonth(DateTime.Now)";
_mescom2 = "0"+BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow()));
}else {
- //BA.debugLineNum = 1155;BA.debugLine="mescom2 = DateTime.GetMonth(DateTime.Now)";
+ //BA.debugLineNum = 1171;BA.debugLine="mescom2 = DateTime.GetMonth(DateTime.Now)";
_mescom2 = BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow()));
};
- //BA.debugLineNum = 1158;BA.debugLine="Dim diacom As String = DateTime.GetDayOfMonth(Da";
+ //BA.debugLineNum = 1174;BA.debugLine="Dim diacom As String = DateTime.GetDayOfMonth(Da";
_diacom = BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow()));
- //BA.debugLineNum = 1159;BA.debugLine="Log(DateTime.GetMonth(DateTime.Now))";
-__c.LogImpl("73932181",BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow())),0);
- //BA.debugLineNum = 1160;BA.debugLine="Dim diacom2 As String";
+ //BA.debugLineNum = 1175;BA.debugLine="Log(DateTime.GetMonth(DateTime.Now))";
+__c.LogImpl("43932181",BA.NumberToString(__c.DateTime.GetMonth(__c.DateTime.getNow())),0);
+ //BA.debugLineNum = 1176;BA.debugLine="Dim diacom2 As String";
_diacom2 = "";
- //BA.debugLineNum = 1161;BA.debugLine="If diacom.Length = 1 Then";
+ //BA.debugLineNum = 1177;BA.debugLine="If diacom.Length = 1 Then";
if (_diacom.length()==1) {
- //BA.debugLineNum = 1162;BA.debugLine="diacom2 = \"0\"&DateTime.GetDayOfMonth(DateTime.N";
+ //BA.debugLineNum = 1178;BA.debugLine="diacom2 = \"0\"&DateTime.GetDayOfMonth(DateTime.N";
_diacom2 = "0"+BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow()));
}else {
- //BA.debugLineNum = 1164;BA.debugLine="diacom2 = DateTime.GetDayOfMonth(DateTime.Now)";
+ //BA.debugLineNum = 1180;BA.debugLine="diacom2 = DateTime.GetDayOfMonth(DateTime.Now)";
_diacom2 = BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow()));
};
- //BA.debugLineNum = 1168;BA.debugLine="Dim dia2 As String = DateTime.GetYear(DateTime.N";
+ //BA.debugLineNum = 1184;BA.debugLine="Dim dia2 As String = DateTime.GetYear(DateTime.N";
_dia2 = BA.NumberToString(__c.DateTime.GetYear(__c.DateTime.getNow()))+_mescom2+_diacom2;
- //BA.debugLineNum = 1169;BA.debugLine="Log(dia & \" , \" & dia2)";
-__c.LogImpl("73932191",_dia+" , "+_dia2,0);
- //BA.debugLineNum = 1170;BA.debugLine="Log(\"SI PASO\")";
-__c.LogImpl("73932192","SI PASO",0);
- //BA.debugLineNum = 1171;BA.debugLine="If dia < dia2 Then";
+ //BA.debugLineNum = 1185;BA.debugLine="Log(dia & \" , \" & dia2)";
+__c.LogImpl("43932191",_dia+" , "+_dia2,0);
+ //BA.debugLineNum = 1186;BA.debugLine="Log(\"SI PASO\")";
+__c.LogImpl("43932192","SI PASO",0);
+ //BA.debugLineNum = 1187;BA.debugLine="If dia < dia2 Then";
if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) {
- //BA.debugLineNum = 1172;BA.debugLine="pedidodiaanterior = True";
+ //BA.debugLineNum = 1188;BA.debugLine="pedidodiaanterior = True";
_pedidodiaanterior = __c.True;
};
};
- //BA.debugLineNum = 1175;BA.debugLine="If Not (pedidodiaanterior) Then";
+ //BA.debugLineNum = 1191;BA.debugLine="If Not (pedidodiaanterior) Then";
if (__c.Not(_pedidodiaanterior)) {
- //BA.debugLineNum = 1178;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e_ru";
+ //BA.debugLineNum = 1194;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e_ru";
_i = (int)(Double.parseDouble(__c.Regex.Replace("[^0-9.]",_e_ruta.getText(),"")));
- //BA.debugLineNum = 1179;BA.debugLine="e_ruta.text = i";
+ //BA.debugLineNum = 1195;BA.debugLine="e_ruta.text = i";
_e_ruta.setText(BA.ObjectToCharSequence(_i));
- //BA.debugLineNum = 1181;BA.debugLine="Private sup As Cursor = Starter.skmt.ExecQuery(\"";
+ //BA.debugLineNum = 1197;BA.debugLine="Private sup As Cursor = Starter.skmt.ExecQuery(\"";
_sup = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_sup = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT RS_RUTA FROM RUTA_SUPLENCIA")));
- //BA.debugLineNum = 1182;BA.debugLine="If E_RUTA2.Visible = False And E_RUTA2.text = \"\"";
+ //BA.debugLineNum = 1198;BA.debugLine="If E_RUTA2.Visible = False And E_RUTA2.text = \"\"";
if (_e_ruta2.getVisible()==__c.False && (_e_ruta2.getText()).equals("") && _sup.getRowCount()>0) {
- //BA.debugLineNum = 1183;BA.debugLine="sup.Position = 0";
+ //BA.debugLineNum = 1199;BA.debugLine="sup.Position = 0";
_sup.setPosition((int) (0));
- //BA.debugLineNum = 1184;BA.debugLine="E_RUTA2.text = sup.GetString(\"RS_RUTA\")";
+ //BA.debugLineNum = 1200;BA.debugLine="E_RUTA2.text = sup.GetString(\"RS_RUTA\")";
_e_ruta2.setText(BA.ObjectToCharSequence(_sup.GetString("RS_RUTA")));
- //BA.debugLineNum = 1185;BA.debugLine="E_RUTA2.Visible = True";
+ //BA.debugLineNum = 1201;BA.debugLine="E_RUTA2.Visible = True";
_e_ruta2.setVisible(__c.True);
};
- //BA.debugLineNum = 1188;BA.debugLine="If E_RUTA2.Visible = True Then";
+ //BA.debugLineNum = 1204;BA.debugLine="If E_RUTA2.Visible = True Then";
if (_e_ruta2.getVisible()==__c.True) {
- //BA.debugLineNum = 1189;BA.debugLine="Private i2 As Int = Regex.Replace(\"[^0-9.]\", E_";
+ //BA.debugLineNum = 1205;BA.debugLine="Private i2 As Int = Regex.Replace(\"[^0-9.]\", E_";
_i2 = (int)(Double.parseDouble(__c.Regex.Replace("[^0-9.]",_e_ruta2.getText(),"")));
- //BA.debugLineNum = 1190;BA.debugLine="E_RUTA2.text = i2";
+ //BA.debugLineNum = 1206;BA.debugLine="E_RUTA2.text = i2";
_e_ruta2.setText(BA.ObjectToCharSequence(_i2));
- //BA.debugLineNum = 1191;BA.debugLine="Rut_Rep = e_ruta.Text & \" \" & E_RUTA2.Text";
+ //BA.debugLineNum = 1207;BA.debugLine="Rut_Rep = e_ruta.Text & \" \" & E_RUTA2.Text";
_rut_rep = _e_ruta.getText()+" "+_e_ruta2.getText();
}else {
- //BA.debugLineNum = 1193;BA.debugLine="Rut_Rep = e_ruta.Text";
+ //BA.debugLineNum = 1209;BA.debugLine="Rut_Rep = e_ruta.Text";
_rut_rep = _e_ruta.getText();
};
- //BA.debugLineNum = 1195;BA.debugLine="Log(Rut_Rep)";
-__c.LogImpl("73932217",_rut_rep,0);
- //BA.debugLineNum = 1196;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
+ //BA.debugLineNum = 1211;BA.debugLine="Log(Rut_Rep)";
+__c.LogImpl("43932217",_rut_rep,0);
+ //BA.debugLineNum = 1212;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
- //BA.debugLineNum = 1197;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
+ //BA.debugLineNum = 1213;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"CARGA_DIA"}));
- //BA.debugLineNum = 1198;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
+ //BA.debugLineNum = 1214;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"pasword"}));
- //BA.debugLineNum = 1199;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
+ //BA.debugLineNum = 1215;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"VENTAFUTURA"}));
- //BA.debugLineNum = 1200;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
+ //BA.debugLineNum = 1216;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"LATITUD"}));
- //BA.debugLineNum = 1201;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
+ //BA.debugLineNum = 1217;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"GEOCERCA"}));
- //BA.debugLineNum = 1202;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
+ //BA.debugLineNum = 1218;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FRO";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"LONGITUD"}));
- //BA.debugLineNum = 1203;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
+ //BA.debugLineNum = 1219;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
- //BA.debugLineNum = 1204;BA.debugLine="CARGA = \"CARGAR\"";
+ //BA.debugLineNum = 1220;BA.debugLine="CARGA = \"CARGAR\"";
_carga = "CARGAR";
- //BA.debugLineNum = 1206;BA.debugLine="L_P_1.Visible = True";
+ //BA.debugLineNum = 1222;BA.debugLine="L_P_1.Visible = True";
_l_p_1.setVisible(__c.True);
- //BA.debugLineNum = 1207;BA.debugLine="S_CC.Visible = True";
+ //BA.debugLineNum = 1223;BA.debugLine="S_CC.Visible = True";
_s_cc.setVisible(__c.True);
- //BA.debugLineNum = 1208;BA.debugLine="Btn_Ubicar.Visible=False";
+ //BA.debugLineNum = 1224;BA.debugLine="Btn_Ubicar.Visible=False";
_btn_ubicar.setVisible(__c.False);
- //BA.debugLineNum = 1210;BA.debugLine="p_principal.Visible = False";
+ //BA.debugLineNum = 1226;BA.debugLine="p_principal.Visible = False";
_p_principal.setVisible(__c.False);
- //BA.debugLineNum = 1211;BA.debugLine="Subs.panelVisible(P1, 0, 0)";
+ //BA.debugLineNum = 1227;BA.debugLine="Subs.panelVisible(P1, 0, 0)";
_subs._panelvisible /*String*/ (ba,_p1,(int) (0),(int) (0));
- //BA.debugLineNum = 1212;BA.debugLine="Subs.centraPanel(P1, Root.Width)";
+ //BA.debugLineNum = 1228;BA.debugLine="Subs.centraPanel(P1, Root.Width)";
_subs._centrapanel /*String*/ (ba,_p1,_root.getWidth());
- //BA.debugLineNum = 1213;BA.debugLine="Subs.centraPanelV(P1, Root.Height)";
+ //BA.debugLineNum = 1229;BA.debugLine="Subs.centraPanelV(P1, Root.Height)";
_subs._centrapanelv /*String*/ (ba,_p1,_root.getHeight());
- //BA.debugLineNum = 1214;BA.debugLine="Label4.Visible = False";
+ //BA.debugLineNum = 1230;BA.debugLine="Label4.Visible = False";
_label4.setVisible(__c.False);
- //BA.debugLineNum = 1215;BA.debugLine="l_ruta.Visible = False";
+ //BA.debugLineNum = 1231;BA.debugLine="l_ruta.Visible = False";
_l_ruta.setVisible(__c.False);
- //BA.debugLineNum = 1216;BA.debugLine="Label22.Visible = False";
+ //BA.debugLineNum = 1232;BA.debugLine="Label22.Visible = False";
_label22.setVisible(__c.False);
- //BA.debugLineNum = 1217;BA.debugLine="l_rutasuplencia.Visible = False";
+ //BA.debugLineNum = 1233;BA.debugLine="l_rutasuplencia.Visible = False";
_l_rutasuplencia.setVisible(__c.False);
- //BA.debugLineNum = 1218;BA.debugLine="l_visitartotal.Visible = False";
+ //BA.debugLineNum = 1234;BA.debugLine="l_visitartotal.Visible = False";
_l_visitartotal.setVisible(__c.False);
- //BA.debugLineNum = 1219;BA.debugLine="de.Visible = False";
+ //BA.debugLineNum = 1235;BA.debugLine="de.Visible = False";
_de.setVisible(__c.False);
- //BA.debugLineNum = 1220;BA.debugLine="l_faltan.Visible = False";
+ //BA.debugLineNum = 1236;BA.debugLine="l_faltan.Visible = False";
_l_faltan.setVisible(__c.False);
- //BA.debugLineNum = 1221;BA.debugLine="l_visitas.Visible = False";
+ //BA.debugLineNum = 1237;BA.debugLine="l_visitas.Visible = False";
_l_visitas.setVisible(__c.False);
- //BA.debugLineNum = 1223;BA.debugLine="NUEVO.Visible =False";
+ //BA.debugLineNum = 1239;BA.debugLine="NUEVO.Visible =False";
_nuevo.setVisible(__c.False);
- //BA.debugLineNum = 1224;BA.debugLine="BUSCA.Visible=False";
+ //BA.debugLineNum = 1240;BA.debugLine="BUSCA.Visible=False";
_busca.setVisible(__c.False);
- //BA.debugLineNum = 1225;BA.debugLine="connecta.Visible=False";
+ //BA.debugLineNum = 1241;BA.debugLine="connecta.Visible=False";
_connecta.setVisible(__c.False);
- //BA.debugLineNum = 1226;BA.debugLine="L_P_3.Visible = True";
+ //BA.debugLineNum = 1242;BA.debugLine="L_P_3.Visible = True";
_l_p_3.setVisible(__c.True);
- //BA.debugLineNum = 1227;BA.debugLine="S_CH.Visible = True";
+ //BA.debugLineNum = 1243;BA.debugLine="S_CH.Visible = True";
_s_ch.setVisible(__c.True);
- //BA.debugLineNum = 1228;BA.debugLine="PB1.Visible = True";
+ //BA.debugLineNum = 1244;BA.debugLine="PB1.Visible = True";
_pb1.setVisible(__c.True);
- //BA.debugLineNum = 1229;BA.debugLine="Resumen.Visible= False";
+ //BA.debugLineNum = 1245;BA.debugLine="Resumen.Visible= False";
_resumen.setVisible(__c.False);
- //BA.debugLineNum = 1231;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\"";
+ //BA.debugLineNum = 1247;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\"";
_l_p_1.setText(BA.ObjectToCharSequence("Catalogo de Clientes"));
- //BA.debugLineNum = 1232;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\"";
+ //BA.debugLineNum = 1248;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\"";
_l_p_2.setText(BA.ObjectToCharSequence("Catalogos de Productos"));
- //BA.debugLineNum = 1233;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\"";
+ //BA.debugLineNum = 1249;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\"";
_l_p_3.setText(BA.ObjectToCharSequence("Catalogos Historicos"));
- //BA.debugLineNum = 1234;BA.debugLine="S_CC.Text = \"EN PROCESO\"";
+ //BA.debugLineNum = 1250;BA.debugLine="S_CC.Text = \"EN PROCESO\"";
_s_cc.setText(BA.ObjectToCharSequence("EN PROCESO"));
- //BA.debugLineNum = 1235;BA.debugLine="S_CH.Text = \"EN PROCESO\"";
+ //BA.debugLineNum = 1251;BA.debugLine="S_CH.Text = \"EN PROCESO\"";
_s_ch.setText(BA.ObjectToCharSequence("EN PROCESO"));
- //BA.debugLineNum = 1236;BA.debugLine="S_CP.Text = \"EN PROCESO\"";
+ //BA.debugLineNum = 1252;BA.debugLine="S_CP.Text = \"EN PROCESO\"";
_s_cp.setText(BA.ObjectToCharSequence("EN PROCESO"));
- //BA.debugLineNum = 1237;BA.debugLine="PB1.Progress = 0";
+ //BA.debugLineNum = 1253;BA.debugLine="PB1.Progress = 0";
_pb1.setProgress((int) (0));
- //BA.debugLineNum = 1238;BA.debugLine="PB2.Progress = 0";
+ //BA.debugLineNum = 1254;BA.debugLine="PB2.Progress = 0";
_pb2.setProgress((int) (0));
- //BA.debugLineNum = 1239;BA.debugLine="EJECUTANDO = 1";
+ //BA.debugLineNum = 1255;BA.debugLine="EJECUTANDO = 1";
_ejecutando = BA.NumberToString(1);
- //BA.debugLineNum = 1242;BA.debugLine="TOPE = 0";
+ //BA.debugLineNum = 1258;BA.debugLine="TOPE = 0";
_tope = (int) (0);
- //BA.debugLineNum = 1245;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1261;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info3");
- //BA.debugLineNum = 1246;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1262;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMO_ESP");
- //BA.debugLineNum = 1247;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1263;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result");
- //BA.debugLineNum = 1248;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1264;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ABONOSP");
- //BA.debugLineNum = 1249;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1265;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ABONOSPTOD");
+ //BA.debugLineNum = 1266;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest");
- //BA.debugLineNum = 1250;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1267;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod");
- //BA.debugLineNum = 1251;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1268;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2");
- //BA.debugLineNum = 1252;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1269;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ");
- //BA.debugLineNum = 1253;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1270;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos");
- //BA.debugLineNum = 1254;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1271;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS");
- //BA.debugLineNum = 1255;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1272;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PROMOS");
- //BA.debugLineNum = 1256;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1273;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS");
- //BA.debugLineNum = 1257;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1274;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMOS_COMP");
- //BA.debugLineNum = 1258;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1275;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VERIFICACION");
- //BA.debugLineNum = 1259;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1276;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_PROMOS_DESCUENTOS");
- //BA.debugLineNum = 1260;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1277;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM MARCAS_RUTAS");
- //BA.debugLineNum = 1261;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1278;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_STORE");
- //BA.debugLineNum = 1262;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1279;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GEOCERCA");
- //BA.debugLineNum = 1263;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1280;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_MARCAS_CUOTAS");
- //BA.debugLineNum = 1264;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1281;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA_CLIENTE");
- //BA.debugLineNum = 1265;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1282;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CAT_ENCUESTA_PREGUNTA");
- //BA.debugLineNum = 1266;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1283;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CAT_CATCLIENTESTODOS");
- //BA.debugLineNum = 1267;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 1284;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM hist_ventastodos");
- //BA.debugLineNum = 1269;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co";
+ //BA.debugLineNum = 1286;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ",new String[]{"HoraIngreso"})));
- //BA.debugLineNum = 1270;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1287;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1271;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
+ //BA.debugLineNum = 1288;BA.debugLine="DateTime.TimeFormat = \"HHmmss\"";
__c.DateTime.setTimeFormat("HHmmss");
- //BA.debugLineNum = 1273;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then";
+ //BA.debugLineNum = 1290;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then";
if ((double)(Double.parseDouble(_c.GetString("HoraIngreso")))>0) {
- //BA.debugLineNum = 1274;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca";
+ //BA.debugLineNum = 1291;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.DateTime.Time(__c.DateTime.getNow()),"HoraIngreso"}));
}else {
- //BA.debugLineNum = 1276;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
+ //BA.debugLineNum = 1293;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_VALOR,CAT_VA_DESCRIPCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.DateTime.Time(__c.DateTime.getNow()),"HoraIngreso"}));
};
- //BA.debugLineNum = 1278;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1295;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1279;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
+ //BA.debugLineNum = 1296;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\"";
__c.DateTime.setTimeFormat("HH:mm:ss");
- //BA.debugLineNum = 1280;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar";
+ //BA.debugLineNum = 1297;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa")));
- //BA.debugLineNum = 1281;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1298;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1282;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 1299;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
- //BA.debugLineNum = 1283;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1300;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1285;BA.debugLine="Dim sDate,sTime As String";
+ //BA.debugLineNum = 1302;BA.debugLine="Dim sDate,sTime As String";
_sdate = "";
_stime = "";
- //BA.debugLineNum = 1286;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 1303;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 1287;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 1304;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 1288;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 1305;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 1289;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1306;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1290;BA.debugLine="cmd.Name = \"select_planLealtad_GUNA\"";
+ //BA.debugLineNum = 1307;BA.debugLine="cmd.Name = \"select_planLealtad_GUNA\"";
_cmd.Name /*String*/ = "select_planLealtad_GUNA";
- //BA.debugLineNum = 1291;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+ //BA.debugLineNum = 1308;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1292;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1309;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("planLealtad"));
- //BA.debugLineNum = 1294;BA.debugLine="Subs.guardaVariable(\"RUTA\", e_ruta.text)";
+ //BA.debugLineNum = 1311;BA.debugLine="Subs.guardaVariable(\"RUTA\", e_ruta.text)";
_subs._guardavariable /*String*/ (ba,"RUTA",_e_ruta.getText());
- //BA.debugLineNum = 1296;BA.debugLine="Dim P As PhoneId";
+ //BA.debugLineNum = 1313;BA.debugLine="Dim P As PhoneId";
_p = new anywheresoftware.b4a.phone.Phone.PhoneId();
- //BA.debugLineNum = 1297;BA.debugLine="imei = \"\"";
+ //BA.debugLineNum = 1314;BA.debugLine="imei = \"\"";
_imei = "";
- //BA.debugLineNum = 1298;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1315;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1299;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\"";
+ //BA.debugLineNum = 1316;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\"";
_cmd.Name /*String*/ = "insert_drop_GV2_3";
- //BA.debugLineNum = 1300;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta.";
+ //BA.debugLineNum = 1317;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta.";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_e_ruta.getText()),(Object)(_sdate),(Object)(_imei),(Object)(_stime),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("CARGA"),(Object)(_almacen),(Object)(__c.Application.getVersionName())};
- //BA.debugLineNum = 1301;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+ //BA.debugLineNum = 1318;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_drop"));
- //BA.debugLineNum = 1303;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1320;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1304;BA.debugLine="cmd.Name = \"select_TipoVenta\"";
+ //BA.debugLineNum = 1321;BA.debugLine="cmd.Name = \"select_TipoVenta\"";
_cmd.Name /*String*/ = "select_TipoVenta";
- //BA.debugLineNum = 1305;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+ //BA.debugLineNum = 1322;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1306;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1323;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("tipoVenta"));
- //BA.debugLineNum = 1308;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1325;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1309;BA.debugLine="cmd.Name = \"select_cat_GIRO_GUNA\"";
+ //BA.debugLineNum = 1326;BA.debugLine="cmd.Name = \"select_cat_GIRO_GUNA\"";
_cmd.Name /*String*/ = "select_cat_GIRO_GUNA";
- //BA.debugLineNum = 1310;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1327;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("giro"));
- //BA.debugLineNum = 1312;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1329;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1313;BA.debugLine="cmd.Name = \"select_coments_GUNA\"";
+ //BA.debugLineNum = 1330;BA.debugLine="cmd.Name = \"select_coments_GUNA\"";
_cmd.Name /*String*/ = "select_coments_GUNA";
- //BA.debugLineNum = 1314;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+ //BA.debugLineNum = 1331;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1315;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1332;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("coments"));
- //BA.debugLineNum = 1322;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1339;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1323;BA.debugLine="cmd.Name = \"traeFechaFotosGuna\"";
+ //BA.debugLineNum = 1340;BA.debugLine="cmd.Name = \"traeFechaFotosGuna\"";
_cmd.Name /*String*/ = "traeFechaFotosGuna";
- //BA.debugLineNum = 1324;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+ //BA.debugLineNum = 1341;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1325;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1342;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("traeFechaFotosGuna"));
- //BA.debugLineNum = 1327;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1344;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1328;BA.debugLine="cmd.Name = \"traecodigosGUNA\"";
+ //BA.debugLineNum = 1345;BA.debugLine="cmd.Name = \"traecodigosGUNA\"";
_cmd.Name /*String*/ = "traecodigosGUNA";
- //BA.debugLineNum = 1329;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+ //BA.debugLineNum = 1346;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1330;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1347;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("traecodigos"));
- //BA.debugLineNum = 1332;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1349;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1333;BA.debugLine="cmd.Name = \"select_objetivosbat_GUNA_VN\"";
+ //BA.debugLineNum = 1350;BA.debugLine="cmd.Name = \"select_objetivosbat_GUNA_VN\"";
_cmd.Name /*String*/ = "select_objetivosbat_GUNA_VN";
- //BA.debugLineNum = 1334;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+ //BA.debugLineNum = 1351;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1335;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1352;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("objetivos"));
- //BA.debugLineNum = 1338;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1355;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1339;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\"";
+ //BA.debugLineNum = 1356;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\"";
_cmd.Name /*String*/ = "select_cat_gunaprod_GV2";
- //BA.debugLineNum = 1340;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 1357;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1341;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1358;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod"));
- //BA.debugLineNum = 1343;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1360;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1344;BA.debugLine="cmd.Name = \"Select_promo_descuento_guna\"";
+ //BA.debugLineNum = 1361;BA.debugLine="cmd.Name = \"Select_promo_descuento_guna\"";
_cmd.Name /*String*/ = "Select_promo_descuento_guna";
- //BA.debugLineNum = 1345;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 1362;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1346;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1363;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promodesp"));
- //BA.debugLineNum = 1348;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1365;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1349;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\"";
+ //BA.debugLineNum = 1366;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\"";
_cmd.Name /*String*/ = "select_cat_gunaprod2_GV2";
- //BA.debugLineNum = 1350;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+ //BA.debugLineNum = 1367;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1351;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1368;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod2"));
- //BA.debugLineNum = 1353;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1370;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1354;BA.debugLine="cmd.Name = \"select_abonosp_GUNA_pre\"";
+ //BA.debugLineNum = 1371;BA.debugLine="cmd.Name = \"select_abonosp_GUNA_pre\"";
_cmd.Name /*String*/ = "select_abonosp_GUNA_pre";
- //BA.debugLineNum = 1355;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+ //BA.debugLineNum = 1372;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1356;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1373;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("select_abonosp"));
- //BA.debugLineNum = 1358;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1359;BA.debugLine="cmd.Name = \"select_HIST_ESPECIAL_GUNA\"";
-_cmd.Name /*String*/ = "select_HIST_ESPECIAL_GUNA";
- //BA.debugLineNum = 1361;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("histespecial"));
- //BA.debugLineNum = 1368;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1369;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV6\"";
-_cmd.Name /*String*/ = "select_cat_paquetes_GV6";
- //BA.debugLineNum = 1370;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1371;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp"));
- //BA.debugLineNum = 1373;BA.debugLine="If ALMACEN = 32 Then 'Or ALMACEN = 6";
-if ((_almacen).equals(BA.NumberToString(32))) {
//BA.debugLineNum = 1375;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1376;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA\"";
-_cmd.Name /*String*/ = "select_cat_promoesp_GUNA";
- //BA.debugLineNum = 1377;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
+ //BA.debugLineNum = 1376;BA.debugLine="cmd.Name = \"select_abonosp_GUNA_pre_tod\"";
+_cmd.Name /*String*/ = "select_abonosp_GUNA_pre_tod";
+ //BA.debugLineNum = 1377;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
//BA.debugLineNum = 1378;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp"));
- };
- //BA.debugLineNum = 1382;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";
-if ((_almacen).equals(BA.NumberToString(87)) || (_almacen).equals(BA.NumberToString(6))) {
- //BA.debugLineNum = 1384;BA.debugLine="cmd.Initialize";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("select_abonosp_todos"));
+ //BA.debugLineNum = 1380;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1385;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA2\"";
-_cmd.Name /*String*/ = "select_cat_promoesp_GUNA2";
- //BA.debugLineNum = 1386;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1387;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp"));
- };
- //BA.debugLineNum = 1391;BA.debugLine="If ALMACEN = 88 Or ALMACEN = 6 Then";
-if ((_almacen).equals(BA.NumberToString(88)) || (_almacen).equals(BA.NumberToString(6))) {
- //BA.debugLineNum = 1393;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1381;BA.debugLine="cmd.Name = \"select_HIST_ESPECIAL_GUNA\"";
+_cmd.Name /*String*/ = "select_HIST_ESPECIAL_GUNA";
+ //BA.debugLineNum = 1383;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("histespecial"));
+ //BA.debugLineNum = 1390;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1394;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA3\"";
-_cmd.Name /*String*/ = "select_cat_promoesp_GUNA3";
- //BA.debugLineNum = 1395;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 1391;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV6\"";
+_cmd.Name /*String*/ = "select_cat_paquetes_GV6";
+ //BA.debugLineNum = 1392;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1396;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp"));
- };
- //BA.debugLineNum = 1400;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1401;BA.debugLine="cmd.Name = \"select_cat_paquetess_GV2\"";
-_cmd.Name /*String*/ = "select_cat_paquetess_GV2";
- //BA.debugLineNum = 1402;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1403;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1393;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp"));
- //BA.debugLineNum = 1405;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1395;BA.debugLine="If ALMACEN = 32 Then 'Or ALMACEN = 6";
+if ((_almacen).equals(BA.NumberToString(32))) {
+ //BA.debugLineNum = 1397;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1406;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\"";
-_cmd.Name /*String*/ = "select_cat_detallepa_GV2";
- //BA.debugLineNum = 1407;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 1398;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA\"";
+_cmd.Name /*String*/ = "select_cat_promoesp_GUNA";
+ //BA.debugLineNum = 1399;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1408;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("detallepaq"));
- //BA.debugLineNum = 1410;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1400;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp"));
+ };
+ //BA.debugLineNum = 1404;BA.debugLine="If ALMACEN = 87 Or ALMACEN = 6 Then";
+if ((_almacen).equals(BA.NumberToString(87)) || (_almacen).equals(BA.NumberToString(6))) {
+ //BA.debugLineNum = 1406;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1411;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '####";
-_cmd.Name /*String*/ = "select_cat_clientes2_guna_GV2";
- //BA.debugLineNum = 1412;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1413;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos"));
+ //BA.debugLineNum = 1407;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA2\"";
+_cmd.Name /*String*/ = "select_cat_promoesp_GUNA2";
+ //BA.debugLineNum = 1408;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
+ //BA.debugLineNum = 1409;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp"));
+ };
+ //BA.debugLineNum = 1413;BA.debugLine="If ALMACEN = 88 Or ALMACEN = 6 Then";
+if ((_almacen).equals(BA.NumberToString(88)) || (_almacen).equals(BA.NumberToString(6))) {
//BA.debugLineNum = 1415;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1416;BA.debugLine="cmd.Name = \"select_preventa_futura\"";
-_cmd.Name /*String*/ = "select_preventa_futura";
- //BA.debugLineNum = 1417;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1416;BA.debugLine="cmd.Name = \"select_cat_promoesp_GUNA3\"";
+_cmd.Name /*String*/ = "select_cat_promoesp_GUNA3";
+ //BA.debugLineNum = 1417;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
//BA.debugLineNum = 1418;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("promoesp"));
+ };
+ //BA.debugLineNum = 1422;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1423;BA.debugLine="cmd.Name = \"select_cat_paquetess_GV2\"";
+_cmd.Name /*String*/ = "select_cat_paquetess_GV2";
+ //BA.debugLineNum = 1424;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
+ //BA.debugLineNum = 1425;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp"));
+ //BA.debugLineNum = 1427;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1428;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\"";
+_cmd.Name /*String*/ = "select_cat_detallepa_GV2";
+ //BA.debugLineNum = 1429;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
+ //BA.debugLineNum = 1430;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("detallepaq"));
+ //BA.debugLineNum = 1432;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1433;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '####";
+_cmd.Name /*String*/ = "select_cat_clientes2_guna_GV2";
+ //BA.debugLineNum = 1434;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1435;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos"));
+ //BA.debugLineNum = 1437;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1438;BA.debugLine="cmd.Name = \"select_preventa_futura\"";
+_cmd.Name /*String*/ = "select_preventa_futura";
+ //BA.debugLineNum = 1439;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1440;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("KMT_VENTAFUTURA"));
- //BA.debugLineNum = 1420;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1442;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1421;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\"";
+ //BA.debugLineNum = 1443;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\"";
_cmd.Name /*String*/ = "select_hist_datos_GV2_3";
- //BA.debugLineNum = 1422;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+ //BA.debugLineNum = 1444;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1423;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1445;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos"));
- //BA.debugLineNum = 1425;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1447;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1426;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\"";
+ //BA.debugLineNum = 1448;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\"";
_cmd.Name /*String*/ = "select_hist_promos_GV2";
- //BA.debugLineNum = 1427;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+ //BA.debugLineNum = 1449;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1428;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1450;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_promos"));
- //BA.debugLineNum = 1430;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1452;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1431;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\"";
+ //BA.debugLineNum = 1453;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\"";
_cmd.Name /*String*/ = "select_hist_cliente_promos_GV2";
- //BA.debugLineNum = 1432;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+ //BA.debugLineNum = 1454;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1433;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1455;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_cliente_promos"));
- //BA.debugLineNum = 1435;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1457;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1436;BA.debugLine="cmd.Name = \"select_HIST_MARCAS_CUOTAS\"";
+ //BA.debugLineNum = 1458;BA.debugLine="cmd.Name = \"select_HIST_MARCAS_CUOTAS\"";
_cmd.Name /*String*/ = "select_HIST_MARCAS_CUOTAS";
- //BA.debugLineNum = 1437;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut";
+ //BA.debugLineNum = 1459;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1438;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1460;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("HIST_MARCAS_CUOTAS"));
- //BA.debugLineNum = 1440;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1462;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1441;BA.debugLine="cmd.Name = \"select_cat_encuesta_p_GUNA\"";
+ //BA.debugLineNum = 1463;BA.debugLine="cmd.Name = \"select_cat_encuesta_p_GUNA\"";
_cmd.Name /*String*/ = "select_cat_encuesta_p_GUNA";
- //BA.debugLineNum = 1442;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta";
+ //BA.debugLineNum = 1464;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1443;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1465;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("carga_encuesta"));
- //BA.debugLineNum = 1445;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1446;BA.debugLine="cmd.Name = \"select_cat_clientes_guna_todos\"";
-_cmd.Name /*String*/ = "select_cat_clientes_guna_todos";
- //BA.debugLineNum = 1447;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1448;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_CAT_CATCLIENTESTODOS"));
- //BA.debugLineNum = 1450;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1451;BA.debugLine="cmd.Name = \"select_hist_ventastodos_guna\"";
-_cmd.Name /*String*/ = "select_hist_ventastodos_guna";
- //BA.debugLineNum = 1452;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1453;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_ventastodos"));
- //BA.debugLineNum = 1460;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1461;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\"";
-_cmd.Name /*String*/ = "SELECT_HIST_PRODPROM_GUNA";
- //BA.debugLineNum = 1462;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1463;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("HIST_PROM"));
//BA.debugLineNum = 1467;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1468;BA.debugLine="cmd.Name = \"selectPromo2265JulAgo_Guna\"";
-_cmd.Name /*String*/ = "selectPromo2265JulAgo_Guna";
- //BA.debugLineNum = 1469;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+ //BA.debugLineNum = 1468;BA.debugLine="cmd.Name = \"select_cat_clientes_guna_todos\"";
+_cmd.Name /*String*/ = "select_cat_clientes_guna_todos";
+ //BA.debugLineNum = 1469;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
//BA.debugLineNum = 1470;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_CAT_CATCLIENTESTODOS"));
+ //BA.debugLineNum = 1472;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1473;BA.debugLine="cmd.Name = \"select_hist_ventastodos_guna\"";
+_cmd.Name /*String*/ = "select_hist_ventastodos_guna";
+ //BA.debugLineNum = 1474;BA.debugLine="cmd.Parameters = Array As Object( e_ruta.text,AL";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1475;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_ventastodos"));
+ //BA.debugLineNum = 1482;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1483;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\"";
+_cmd.Name /*String*/ = "SELECT_HIST_PRODPROM_GUNA";
+ //BA.debugLineNum = 1484;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
+ //BA.debugLineNum = 1485;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("HIST_PROM"));
+ //BA.debugLineNum = 1489;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1490;BA.debugLine="cmd.Name = \"selectPromo2265JulAgo_Guna\"";
+_cmd.Name /*String*/ = "selectPromo2265JulAgo_Guna";
+ //BA.debugLineNum = 1491;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1492;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_pro2265"));
- //BA.debugLineNum = 1477;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1499;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1478;BA.debugLine="cmd.Name = \"selectPromo3054Jul-Sep_Guna\"";
+ //BA.debugLineNum = 1500;BA.debugLine="cmd.Name = \"selectPromo3054Jul-Sep_Guna\"";
_cmd.Name /*String*/ = "selectPromo3054Jul-Sep_Guna";
- //BA.debugLineNum = 1479;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+ //BA.debugLineNum = 1501;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1480;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1502;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_pro3054"));
- //BA.debugLineNum = 1484;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1485;BA.debugLine="cmd.Name = \"selectPromo3055Jul-Sep_Guna\"";
-_cmd.Name /*String*/ = "selectPromo3055Jul-Sep_Guna";
- //BA.debugLineNum = 1486;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1487;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_pro3055"));
- //BA.debugLineNum = 1490;BA.debugLine="If E_RUTA2.text <> \"\" Then";
-if ((_e_ruta2.getText()).equals("") == false) {
- //BA.debugLineNum = 1491;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_e_ruta2.getText()}));
- //BA.debugLineNum = 1492;BA.debugLine="E_RUTA2.Visible = False";
-_e_ruta2.setVisible(__c.False);
- //BA.debugLineNum = 1493;BA.debugLine="p_ruta2.Visible = False";
-_p_ruta2.setVisible(__c.False);
- //BA.debugLineNum = 1494;BA.debugLine="p_somvra_2.Visible = False";
-_p_somvra_2.setVisible(__c.False);
- //BA.debugLineNum = 1496;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1497;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '###";
-_cmd.Name /*String*/ = "select_cat_clientes2_guna_GV2";
- //BA.debugLineNum = 1498;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1499;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos2"));
- //BA.debugLineNum = 1501;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1502;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\"";
-_cmd.Name /*String*/ = "select_hist_datos_GV2_3";
- //BA.debugLineNum = 1503;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen),(Object)(_e_ruta2.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1504;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos"));
//BA.debugLineNum = 1506;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1507;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\"";
-_cmd.Name /*String*/ = "select_hist_promos_GV2";
- //BA.debugLineNum = 1508;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1507;BA.debugLine="cmd.Name = \"selectPromo3055Jul-Sep_Guna\"";
+_cmd.Name /*String*/ = "selectPromo3055Jul-Sep_Guna";
+ //BA.debugLineNum = 1508;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
//BA.debugLineNum = 1509;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_promos"));
- //BA.debugLineNum = 1511;BA.debugLine="cmd.Initialize";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_pro3055"));
+ //BA.debugLineNum = 1512;BA.debugLine="If E_RUTA2.text <> \"\" Then";
+if ((_e_ruta2.getText()).equals("") == false) {
+ //BA.debugLineNum = 1513;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_e_ruta2.getText()}));
+ //BA.debugLineNum = 1514;BA.debugLine="E_RUTA2.Visible = False";
+_e_ruta2.setVisible(__c.False);
+ //BA.debugLineNum = 1515;BA.debugLine="p_ruta2.Visible = False";
+_p_ruta2.setVisible(__c.False);
+ //BA.debugLineNum = 1516;BA.debugLine="p_somvra_2.Visible = False";
+_p_somvra_2.setVisible(__c.False);
+ //BA.debugLineNum = 1518;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1512;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\"";
-_cmd.Name /*String*/ = "select_hist_cliente_promos_GV2";
- //BA.debugLineNum = 1513;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
+ //BA.debugLineNum = 1519;BA.debugLine="cmd.Name = \"select_cat_clientes2_guna_GV2\" '###";
+_cmd.Name /*String*/ = "select_cat_clientes2_guna_GV2";
+ //BA.debugLineNum = 1520;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1514;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_cliente_promos"));
- //BA.debugLineNum = 1516;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1521;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos2"));
+ //BA.debugLineNum = 1523;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1517;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\"";
+ //BA.debugLineNum = 1524;BA.debugLine="cmd.Name = \"select_hist_datos_GV2_3\"";
+_cmd.Name /*String*/ = "select_hist_datos_GV2_3";
+ //BA.debugLineNum = 1525;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen),(Object)(_e_ruta2.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1526;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos"));
+ //BA.debugLineNum = 1528;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1529;BA.debugLine="cmd.Name = \"select_hist_promos_GV2\"";
+_cmd.Name /*String*/ = "select_hist_promos_GV2";
+ //BA.debugLineNum = 1530;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1531;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_promos"));
+ //BA.debugLineNum = 1533;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1534;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_GV2\"";
+_cmd.Name /*String*/ = "select_hist_cliente_promos_GV2";
+ //BA.debugLineNum = 1535;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)};
+ //BA.debugLineNum = 1536;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_cliente_promos"));
+ //BA.debugLineNum = 1538;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1539;BA.debugLine="cmd.Name = \"SELECT_HIST_PRODPROM_GUNA\"";
_cmd.Name /*String*/ = "SELECT_HIST_PRODPROM_GUNA";
- //BA.debugLineNum = 1518;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,E_RUTA";
+ //BA.debugLineNum = 1540;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,E_RUTA";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta2.getText())};
- //BA.debugLineNum = 1519;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1541;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("HIST_PROM"));
};
- //BA.debugLineNum = 1522;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1544;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1523;BA.debugLine="cmd.Name = \"select_promo_comp_GV2\"";
+ //BA.debugLineNum = 1545;BA.debugLine="cmd.Name = \"select_promo_comp_GV2\"";
_cmd.Name /*String*/ = "select_promo_comp_GV2";
- //BA.debugLineNum = 1524;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 1546;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1525;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1547;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_comp_promos"));
- //BA.debugLineNum = 1527;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1549;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1528;BA.debugLine="cmd.Name = \"select_coordenadas_GUNA\"";
+ //BA.debugLineNum = 1550;BA.debugLine="cmd.Name = \"select_coordenadas_GUNA\"";
_cmd.Name /*String*/ = "select_coordenadas_GUNA";
- //BA.debugLineNum = 1529;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 1551;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1530;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1552;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("coordenadas"));
- //BA.debugLineNum = 1532;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1554;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1533;BA.debugLine="cmd.Name = \"select_PASS_GUNA\"";
+ //BA.debugLineNum = 1555;BA.debugLine="cmd.Name = \"select_PASS_GUNA\"";
_cmd.Name /*String*/ = "select_PASS_GUNA";
- //BA.debugLineNum = 1534;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 1556;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1535;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1557;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("password"));
- //BA.debugLineNum = 1542;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1564;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1543;BA.debugLine="cmd.Name = \"select_fecha\"";
+ //BA.debugLineNum = 1565;BA.debugLine="cmd.Name = \"select_fecha\"";
_cmd.Name /*String*/ = "select_fecha";
- //BA.debugLineNum = 1544;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
+ //BA.debugLineNum = 1566;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)};
- //BA.debugLineNum = 1545;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1567;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("fecha"));
- //BA.debugLineNum = 1552;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1574;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1553;BA.debugLine="cmd.Name = \"select_marcas_rutas\"";
+ //BA.debugLineNum = 1575;BA.debugLine="cmd.Name = \"select_marcas_rutas\"";
_cmd.Name /*String*/ = "select_marcas_rutas";
- //BA.debugLineNum = 1554;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut";
+ //BA.debugLineNum = 1576;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1555;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1577;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("marcas_rutas"));
- //BA.debugLineNum = 1557;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1579;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1558;BA.debugLine="cmd.Name = \"select_CUEST2_GV2\"";
+ //BA.debugLineNum = 1580;BA.debugLine="cmd.Name = \"select_CUEST2_GV2\"";
_cmd.Name /*String*/ = "select_CUEST2_GV2";
- //BA.debugLineNum = 1559;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 1581;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 1560;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1582;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("CUESTIONARIO"));
- //BA.debugLineNum = 1573;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1595;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1574;BA.debugLine="cmd.Name = \"select_comis_cedex\"";
+ //BA.debugLineNum = 1596;BA.debugLine="cmd.Name = \"select_comis_cedex\"";
_cmd.Name /*String*/ = "select_comis_cedex";
- //BA.debugLineNum = 1575;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta";
+ //BA.debugLineNum = 1597;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN,e_ruta";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 1576;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 1598;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("COMISIONES"));
- //BA.debugLineNum = 1578;BA.debugLine="cargar.Visible = False";
+ //BA.debugLineNum = 1600;BA.debugLine="cargar.Visible = False";
_cargar.setVisible(__c.False);
- //BA.debugLineNum = 1579;BA.debugLine="Subir.Visible = False";
+ //BA.debugLineNum = 1601;BA.debugLine="Subir.Visible = False";
_subir.setVisible(__c.False);
- //BA.debugLineNum = 1580;BA.debugLine="inv.Visible = False";
+ //BA.debugLineNum = 1602;BA.debugLine="inv.Visible = False";
_inv.setVisible(__c.False);
- //BA.debugLineNum = 1581;BA.debugLine="E_RUTA2.Visible = False";
+ //BA.debugLineNum = 1603;BA.debugLine="E_RUTA2.Visible = False";
_e_ruta2.setVisible(__c.False);
- //BA.debugLineNum = 1582;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
+ //BA.debugLineNum = 1604;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
if ((_starter._marcacel /*String*/ ).equals("Sony") == false) {
__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True);};
}else {
- //BA.debugLineNum = 1585;BA.debugLine="Log(\"XXXX\")";
-__c.LogImpl("73932607","XXXX",0);
- //BA.debugLineNum = 1586;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten";
+ //BA.debugLineNum = 1607;BA.debugLine="Log(\"XXXX\")";
+__c.LogImpl("43932613","XXXX",0);
+ //BA.debugLineNum = 1608;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten";
__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba);
};
- //BA.debugLineNum = 1588;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1610;BA.debugLine="End Sub";
return "";
}
public String _checapedido() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _coord = null;
int _cor = 0;
- //BA.debugLineNum = 4000;BA.debugLine="Sub checaPedido";
- //BA.debugLineNum = 4001;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
+ //BA.debugLineNum = 4030;BA.debugLine="Sub checaPedido";
+ //BA.debugLineNum = 4031;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE")));
- //BA.debugLineNum = 4002;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 4032;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 4003;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
+ //BA.debugLineNum = 4033;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)");
};
- //BA.debugLineNum = 4005;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
+ //BA.debugLineNum = 4035;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA")));
- //BA.debugLineNum = 4006;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 4036;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 4007;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
+ //BA.debugLineNum = 4037;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info3 set";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info3 set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA)");
};
- //BA.debugLineNum = 4010;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_";
+ //BA.debugLineNum = 4040;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_ID IN (SELECT CAT_PD_PRODUCTO FROM CAT_PROMOS_DESCUENTOS) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRIORITARIO")}));
- //BA.debugLineNum = 4013;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
+ //BA.debugLineNum = 4043;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ATIENDE")));
- //BA.debugLineNum = 4014;BA.debugLine="If coord.RowCount > 0 Then";
+ //BA.debugLineNum = 4044;BA.debugLine="If coord.RowCount > 0 Then";
if (_coord.getRowCount()>0) {
- //BA.debugLineNum = 4015;BA.debugLine="For cor = 0 To coord.RowCount -1";
+ //BA.debugLineNum = 4045;BA.debugLine="For cor = 0 To coord.RowCount -1";
{
final int step12 = 1;
final int limit12 = (int) (_coord.getRowCount()-1);
_cor = (int) (0) ;
for (;_cor <= limit12 ;_cor = _cor + step12 ) {
- //BA.debugLineNum = 4016;BA.debugLine="coord.Position = cor";
+ //BA.debugLineNum = 4046;BA.debugLine="coord.Position = cor";
_coord.setPosition(_cor);
- //BA.debugLineNum = 4017;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
+ //BA.debugLineNum = 4047;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_ATIENDE1 = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("ATIENDE")),(Object)(_coord.GetString("CLIENTE"))}));
}
};
};
- //BA.debugLineNum = 4021;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
+ //BA.debugLineNum = 4051;BA.debugLine="Private coord As Cursor = Starter.skmt.ExecQuery(";
_coord = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coord = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM TELEFONO")));
- //BA.debugLineNum = 4022;BA.debugLine="If coord.RowCount > 0 Then";
+ //BA.debugLineNum = 4052;BA.debugLine="If coord.RowCount > 0 Then";
if (_coord.getRowCount()>0) {
- //BA.debugLineNum = 4023;BA.debugLine="For cor = 0 To coord.RowCount -1";
+ //BA.debugLineNum = 4053;BA.debugLine="For cor = 0 To coord.RowCount -1";
{
final int step19 = 1;
final int limit19 = (int) (_coord.getRowCount()-1);
_cor = (int) (0) ;
for (;_cor <= limit19 ;_cor = _cor + step19 ) {
- //BA.debugLineNum = 4024;BA.debugLine="coord.Position = cor";
+ //BA.debugLineNum = 4054;BA.debugLine="coord.Position = cor";
_coord.setPosition(_cor);
- //BA.debugLineNum = 4025;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
+ //BA.debugLineNum = 4055;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE km";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info3 set CAT_CL_TELEFONO = ? where CAT_CL_CODIGO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_coord.GetString("TELEFONO")),(Object)(_coord.GetString("CLIENTE"))}));
}
};
};
- //BA.debugLineNum = 4029;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4059;BA.debugLine="End Sub";
return "";
}
public String _class_globals() throws Exception{
@@ -2715,14 +2727,14 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 2859;BA.debugLine="Log(\">>> REVISAMOS ACTUALIZACION\")";
-parent.__c.LogImpl("74194305",">>> REVISAMOS ACTUALIZACION",0);
- //BA.debugLineNum = 2860;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF";
+ //BA.debugLineNum = 2880;BA.debugLine="Log(\">>> REVISAMOS ACTUALIZACION\")";
+parent.__c.LogImpl("44194305",">>> REVISAMOS ACTUALIZACION",0);
+ //BA.debugLineNum = 2881;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF";
_revisaactualizacion = new anywheresoftware.b4a.objects.collections.Map();
_revisaactualizacion = parent._subs._revisaforzaractualizacion /*anywheresoftware.b4a.objects.collections.Map*/ (ba);
- //BA.debugLineNum = 2861;BA.debugLine="Log(revisaActualizacion)";
-parent.__c.LogImpl("74194307",BA.ObjectToString(_revisaactualizacion),0);
- //BA.debugLineNum = 2862;BA.debugLine="If E_RUTA2.Text = e_ruta.Text And e_ruta.Text <>";
+ //BA.debugLineNum = 2882;BA.debugLine="Log(revisaActualizacion)";
+parent.__c.LogImpl("44194307",BA.ObjectToString(_revisaactualizacion),0);
+ //BA.debugLineNum = 2883;BA.debugLine="If E_RUTA2.Text = e_ruta.Text And e_ruta.Text <>";
if (true) break;
case 1:
@@ -2737,14 +2749,14 @@ this.state = 5;
case 3:
//C
this.state = 40;
- //BA.debugLineNum = 2863;BA.debugLine="Msgbox(\"La ruta principal y la de suplencia NO p";
+ //BA.debugLineNum = 2884;BA.debugLine="Msgbox(\"La ruta principal y la de suplencia NO p";
parent.__c.Msgbox(BA.ObjectToCharSequence("La ruta principal y la de suplencia NO pueden ser la misma."),BA.ObjectToCharSequence("ERROR"),ba);
if (true) break;
case 5:
//C
this.state = 6;
- //BA.debugLineNum = 2865;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then";
+ //BA.debugLineNum = 2886;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then";
if (true) break;
case 6:
@@ -2759,20 +2771,20 @@ this.state = 10;
case 8:
//C
this.state = 39;
- //BA.debugLineNum = 2866;BA.debugLine="cargar.Visible = True";
+ //BA.debugLineNum = 2887;BA.debugLine="cargar.Visible = True";
parent._cargar.setVisible(parent.__c.True);
- //BA.debugLineNum = 2867;BA.debugLine="Subir.Visible = True";
+ //BA.debugLineNum = 2888;BA.debugLine="Subir.Visible = True";
parent._subir.setVisible(parent.__c.True);
- //BA.debugLineNum = 2868;BA.debugLine="e_ruta.Text = \"\"";
+ //BA.debugLineNum = 2889;BA.debugLine="e_ruta.Text = \"\"";
parent._e_ruta.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 2869;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, Sta";
+ //BA.debugLineNum = 2890;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, Sta";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ );
if (true) break;
case 10:
//C
this.state = 11;
- //BA.debugLineNum = 2871;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 1 Then '";
+ //BA.debugLineNum = 2892;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 1 Then '";
if (true) break;
case 11:
@@ -2789,34 +2801,34 @@ this.state = 17;
case 13:
//C
this.state = 38;
- //BA.debugLineNum = 2876;BA.debugLine="l_forzarActualizacion.TextColor = Colors.black";
+ //BA.debugLineNum = 2897;BA.debugLine="l_forzarActualizacion.TextColor = Colors.black";
parent._l_forzaractualizacion.setTextColor(parent.__c.Colors.Black);
- //BA.debugLineNum = 2877;BA.debugLine="l_forzarActualizacion.Text = \"Hay una nueva ac";
+ //BA.debugLineNum = 2898;BA.debugLine="l_forzarActualizacion.Text = \"Hay una nueva ac";
parent._l_forzaractualizacion.setText(BA.ObjectToCharSequence("Hay una nueva actualización para la aplicación, por favor revise que tenga DATOS y espere mientras se descarga."));
- //BA.debugLineNum = 2878;BA.debugLine="p_transparenteActualizacion.Visible = True";
+ //BA.debugLineNum = 2899;BA.debugLine="p_transparenteActualizacion.Visible = True";
parent._p_transparenteactualizacion.setVisible(parent.__c.True);
- //BA.debugLineNum = 2879;BA.debugLine="p_transparenteActualizacion.BringToFront";
+ //BA.debugLineNum = 2900;BA.debugLine="p_transparenteActualizacion.BringToFront";
parent._p_transparenteactualizacion.BringToFront();
- //BA.debugLineNum = 2880;BA.debugLine="Starter.nuevoLink = $\"https://keymon.net/movil";
+ //BA.debugLineNum = 2901;BA.debugLine="Starter.nuevoLink = $\"https://keymon.net/movil";
parent._starter._nuevolink /*String*/ = ("https://keymon.net/movil/guna/GP_"+parent.__c.SmartStringFormatter("",_revisaactualizacion.Get((Object)("nuevaVersion")))+".apk");
- //BA.debugLineNum = 2881;BA.debugLine="Log(\"Descargar: GP_\" & Starter.newApp.appLink)";
-parent.__c.LogImpl("74194327","Descargar: GP_"+parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .appLink /*String*/ ,0);
- //BA.debugLineNum = 2882;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")";
+ //BA.debugLineNum = 2902;BA.debugLine="Log(\"Descargar: GP_\" & Starter.newApp.appLink)";
+parent.__c.LogImpl("44194327","Descargar: GP_"+parent._starter._newapp /*gunav2.keymon.com.mx.appupdater._mnewversion*/ .appLink /*String*/ ,0);
+ //BA.debugLineNum = 2903;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")";
parent.__c.CallSubDelayed(ba,(Object)(parent._appupdater.getObject()),"download_newApk");
if (true) break;
case 15:
//C
this.state = 38;
- //BA.debugLineNum = 2884;BA.debugLine="l_forzarActualizacion.TextColor = Colors.red";
+ //BA.debugLineNum = 2905;BA.debugLine="l_forzarActualizacion.TextColor = Colors.red";
parent._l_forzaractualizacion.setTextColor(parent.__c.Colors.Red);
- //BA.debugLineNum = 2885;BA.debugLine="l_forzarActualizacion.Text = \"Es necesaria una";
+ //BA.debugLineNum = 2906;BA.debugLine="l_forzarActualizacion.Text = \"Es necesaria una";
parent._l_forzaractualizacion.setText(BA.ObjectToCharSequence("Es necesaria una conexión a internet, por favor revise su conexión y vuelva a intentar."));
- //BA.debugLineNum = 2886;BA.debugLine="p_transparenteActualizacion.Visible = True";
+ //BA.debugLineNum = 2907;BA.debugLine="p_transparenteActualizacion.Visible = True";
parent._p_transparenteactualizacion.setVisible(parent.__c.True);
- //BA.debugLineNum = 2887;BA.debugLine="p_transparenteActualizacion.BringToFront";
+ //BA.debugLineNum = 2908;BA.debugLine="p_transparenteActualizacion.BringToFront";
parent._p_transparenteactualizacion.BringToFront();
- //BA.debugLineNum = 2888;BA.debugLine="Sleep(4500)";
+ //BA.debugLineNum = 2909;BA.debugLine="Sleep(4500)";
parent.__c.Sleep(ba,this,(int) (4500));
this.state = 41;
return;
@@ -2824,18 +2836,18 @@ case 41:
//C
this.state = 38;
;
- //BA.debugLineNum = 2889;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuario";
+ //BA.debugLineNum = 2910;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from usuario";
parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa");
- //BA.debugLineNum = 2890;BA.debugLine="p_transparenteActualizacion.Visible = False";
+ //BA.debugLineNum = 2911;BA.debugLine="p_transparenteActualizacion.Visible = False";
parent._p_transparenteactualizacion.setVisible(parent.__c.False);
- //BA.debugLineNum = 2891;BA.debugLine="B4XPages.ShowPage(\"Login\")";
+ //BA.debugLineNum = 2912;BA.debugLine="B4XPages.ShowPage(\"Login\")";
parent._b4xpages._showpage /*String*/ (ba,"Login");
if (true) break;
case 17:
//C
this.state = 18;
- //BA.debugLineNum = 2893;BA.debugLine="Try";
+ //BA.debugLineNum = 2914;BA.debugLine="Try";
if (true) break;
case 18:
@@ -2849,35 +2861,35 @@ case 20:
//C
this.state = 21;
this.catchState = 36;
- //BA.debugLineNum = 2894;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e";
+ //BA.debugLineNum = 2915;BA.debugLine="Private i As Int = Regex.Replace(\"[^0-9.]\", e";
_i = (int)(Double.parseDouble(parent.__c.Regex.Replace("[^0-9.]",parent._e_ruta.getText(),"")));
- //BA.debugLineNum = 2895;BA.debugLine="Log($\"|${i}|\"$)";
-parent.__c.LogImpl("74194341",("|"+parent.__c.SmartStringFormatter("",(Object)(_i))+"|"),0);
- //BA.debugLineNum = 2896;BA.debugLine="e_ruta.text = i";
+ //BA.debugLineNum = 2916;BA.debugLine="Log($\"|${i}|\"$)";
+parent.__c.LogImpl("44194341",("|"+parent.__c.SmartStringFormatter("",(Object)(_i))+"|"),0);
+ //BA.debugLineNum = 2917;BA.debugLine="e_ruta.text = i";
parent._e_ruta.setText(BA.ObjectToCharSequence(_i));
- //BA.debugLineNum = 2897;BA.debugLine="p_transparenteActualizacion.Visible = False";
+ //BA.debugLineNum = 2918;BA.debugLine="p_transparenteActualizacion.Visible = False";
parent._p_transparenteactualizacion.setVisible(parent.__c.False);
- //BA.debugLineNum = 2898;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, S";
+ //BA.debugLineNum = 2919;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me, S";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ );
- //BA.debugLineNum = 2899;BA.debugLine="teclado.HideKeyboard";
+ //BA.debugLineNum = 2920;BA.debugLine="teclado.HideKeyboard";
parent._teclado.HideKeyboard(ba);
- //BA.debugLineNum = 2900;BA.debugLine="connecta1 = connecta1 + 1";
+ //BA.debugLineNum = 2921;BA.debugLine="connecta1 = connecta1 + 1";
parent._connecta1 = parent._connecta1+1;
- //BA.debugLineNum = 2902;BA.debugLine="conn = \"1\"";
+ //BA.debugLineNum = 2923;BA.debugLine="conn = \"1\"";
parent._conn = "1";
- //BA.debugLineNum = 2903;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 2924;BA.debugLine="Dim cmd As DBCommand";
parent._cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 2904;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 2925;BA.debugLine="cmd.Initialize";
parent._cmd.Initialize();
- //BA.debugLineNum = 2905;BA.debugLine="cmd.Name = \"select_version_GV2\"";
+ //BA.debugLineNum = 2926;BA.debugLine="cmd.Name = \"select_version_GV2\"";
parent._cmd.Name /*String*/ = "select_version_GV2";
- //BA.debugLineNum = 2906;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd";
+ //BA.debugLineNum = 2927;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (parent._cmd,(int) (0),(Object)("version"));
- //BA.debugLineNum = 2908;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US";
+ //BA.debugLineNum = 2929;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select US";
parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO, PASS from usuarioa")));
- //BA.debugLineNum = 2909;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 2930;BA.debugLine="c.Position=0";
parent._c.setPosition((int) (0));
- //BA.debugLineNum = 2910;BA.debugLine="If c.RowCount > 0 And c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 2931;BA.debugLine="If c.RowCount > 0 And c.GetString(\"USUARIO\")";
if (true) break;
case 21:
@@ -2890,17 +2902,17 @@ this.state = 23;
case 23:
//C
this.state = 24;
- //BA.debugLineNum = 2911;BA.debugLine="Private usrT As String = c.GetString(\"USUARI";
+ //BA.debugLineNum = 2932;BA.debugLine="Private usrT As String = c.GetString(\"USUARI";
_usrt = parent._c.GetString("USUARIO");
- //BA.debugLineNum = 2912;BA.debugLine="Private passT As String = c.GetString(\"PASS\"";
+ //BA.debugLineNum = 2933;BA.debugLine="Private passT As String = c.GetString(\"PASS\"";
_passt = parent._c.GetString("PASS");
- //BA.debugLineNum = 2913;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 2934;BA.debugLine="cmd.Initialize";
parent._cmd.Initialize();
- //BA.debugLineNum = 2914;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\"";
+ //BA.debugLineNum = 2935;BA.debugLine="cmd.Name = \"select_usuario_guna_GV2_10\"";
parent._cmd.Name /*String*/ = "select_usuario_guna_GV2_10";
- //BA.debugLineNum = 2915;BA.debugLine="cmd.Parameters = Array As Object(usrT, passT";
+ //BA.debugLineNum = 2936;BA.debugLine="cmd.Parameters = Array As Object(usrT, passT";
parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usrt),(Object)(_passt)};
- //BA.debugLineNum = 2916;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm";
+ //BA.debugLineNum = 2937;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (parent._cmd,(int) (0),(Object)("usuarioA"));
if (true) break;
@@ -2908,9 +2920,9 @@ case 24:
//C
this.state = 25;
;
- //BA.debugLineNum = 2918;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2939;BA.debugLine="c.Close";
parent._c.Close();
- //BA.debugLineNum = 2919;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then";
+ //BA.debugLineNum = 2940;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then";
if (true) break;
case 25:
@@ -2923,11 +2935,11 @@ this.state = 27;
case 27:
//C
this.state = 28;
- //BA.debugLineNum = 2920;BA.debugLine="cargar.Visible = True";
+ //BA.debugLineNum = 2941;BA.debugLine="cargar.Visible = True";
parent._cargar.setVisible(parent.__c.True);
- //BA.debugLineNum = 2921;BA.debugLine="Subir.Visible = True";
+ //BA.debugLineNum = 2942;BA.debugLine="Subir.Visible = True";
parent._subir.setVisible(parent.__c.True);
- //BA.debugLineNum = 2922;BA.debugLine="e_ruta.Text = \"\"";
+ //BA.debugLineNum = 2943;BA.debugLine="e_ruta.Text = \"\"";
parent._e_ruta.setText(BA.ObjectToCharSequence(""));
if (true) break;
@@ -2935,9 +2947,9 @@ case 28:
//C
this.state = 29;
;
- //BA.debugLineNum = 2924;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True";
+ //BA.debugLineNum = 2945;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True";
parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),parent.__c.True);
- //BA.debugLineNum = 2925;BA.debugLine="If connecta1 / 2 = 1 Then";
+ //BA.debugLineNum = 2946;BA.debugLine="If connecta1 / 2 = 1 Then";
if (true) break;
case 29:
@@ -2952,14 +2964,14 @@ this.state = 33;
case 31:
//C
this.state = 34;
- //BA.debugLineNum = 2931;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,";
+ //BA.debugLineNum = 2952;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ );
if (true) break;
case 33:
//C
this.state = 34;
- //BA.debugLineNum = 2938;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,";
+ //BA.debugLineNum = 2959;BA.debugLine="B4XPages.MainPage.reqManager.Initialize(Me,";
parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._initialize /*String*/ (ba,parent,parent._starter._server /*String*/ );
if (true) break;
@@ -2973,8 +2985,8 @@ case 36:
//C
this.state = 37;
this.catchState = 0;
- //BA.debugLineNum = 2941;BA.debugLine="Log(LastException)";
-parent.__c.LogImpl("74194387",BA.ObjectToString(parent.__c.LastException(ba)),0);
+ //BA.debugLineNum = 2962;BA.debugLine="Log(LastException)";
+parent.__c.LogImpl("44194387",BA.ObjectToString(parent.__c.LastException(ba)),0);
if (true) break;
if (true) break;
@@ -3001,7 +3013,7 @@ case 40:
//C
this.state = -1;
;
- //BA.debugLineNum = 2949;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2970;BA.debugLine="End Sub";
if (true) break;
}}
catch (Exception e0) {
@@ -3017,185 +3029,159 @@ ba.setLastException(e0);}
}
public String _connecta_longclick() throws Exception{
int _i = 0;
-int _dia = 0;
-String _dialetra = "";
- //BA.debugLineNum = 2809;BA.debugLine="Private Sub connecta_LongClick";
- //BA.debugLineNum = 2817;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA, CN_COLONIA, CN_TELEFONO, CN_CP FROM CLIENTES_NUEVOS")));
- //BA.debugLineNum = 2818;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 2850;BA.debugLine="Private Sub connecta_LongClick";
+ //BA.debugLineNum = 2852;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FROM";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ENCUESTAS_BAT")));
+ //BA.debugLineNum = 2853;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 2819;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 2854;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step3 = 1;
final int limit3 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit3 ;_i = _i + step3 ) {
- //BA.debugLineNum = 2820;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 2855;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 2821;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTime";
-_dia = __c.DateTime.GetDayOfWeek(__c.DateTime.getNow());
- //BA.debugLineNum = 2822;BA.debugLine="If dia = 2 Then";
-if (_dia==2) {
- //BA.debugLineNum = 2823;BA.debugLine="Dim dialetra As String = \"LUNES\"";
-_dialetra = "LUNES";
- }else if(_dia==3) {
- //BA.debugLineNum = 2825;BA.debugLine="Dim dialetra As String = \"MARTES\"";
-_dialetra = "MARTES";
- }else if(_dia==4) {
- //BA.debugLineNum = 2827;BA.debugLine="Dim dialetra As String = \"MIERCOLES\"";
-_dialetra = "MIERCOLES";
- }else if(_dia==5) {
- //BA.debugLineNum = 2829;BA.debugLine="Dim dialetra As String = \"JUEVES\"";
-_dialetra = "JUEVES";
- }else if(_dia==6) {
- //BA.debugLineNum = 2831;BA.debugLine="Dim dialetra As String = \"VIERNES\"";
-_dialetra = "VIERNES";
- }else if(_dia==7) {
- //BA.debugLineNum = 2833;BA.debugLine="Dim dialetra As String = \"SABADO\"";
-_dialetra = "SABADO";
- };
- //BA.debugLineNum = 2835;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 2856;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 2836;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 2857;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 2837;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA\"";
-_cmd.Name /*String*/ = "insert_clientesnuevos_GUNA";
- //BA.debugLineNum = 2838;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString(\"";
-__c.LogImpl("74063261",_c.GetString("CN_ID")+" ,"+_c.GetString("CN_FECHA")+" ,"+_c.GetString("CN_USER")+" ,"+_c.GetString("CN_LAT")+" ,"+_c.GetString("CN_LON")+" ,"+_c.GetString("CN_NOMBRE")+" ,"+_c.GetString("CN_DIRECCION")+" ,"+_almacen+_c.GetString("CN_RUTA")+" ,"+"En espera"+_c.GetString("CN_GIRO")+" ,"+_dialetra+_c.GetString("CN_SOLICITA")+" ,"+_c.GetString("CN_COLONIA")+" ,"+_c.GetString("CN_TELEFONO"),0);
- //BA.debugLineNum = 2839;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CN_ID")),(Object)(_c.GetString("CN_FECHA")),(Object)(_c.GetString("CN_USER")),(Object)(_c.GetString("CN_LAT")),(Object)(_c.GetString("CN_LON")),(Object)(_c.GetString("CN_NOMBRE")),(Object)(_c.GetString("CN_DIRECCION")),(Object)(_almacen),(Object)(_c.GetString("CN_RUTA")),(Object)("En espera"),(Object)(_c.GetString("CN_GIRO")),(Object)(_dialetra),(Object)(_c.GetString("CN_SOLICITA")),(Object)(_c.GetString("CN_COLONIA")),(Object)(_c.GetString("CN_TELEFONO")),(Object)(_c.GetString("CN_CP"))};
- //BA.debugLineNum = 2840;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_clientesn"));
+ //BA.debugLineNum = 2858;BA.debugLine="cmd.Name = \"insert_encuestas_bat_guna\"";
+_cmd.Name /*String*/ = "insert_encuestas_bat_guna";
+ //BA.debugLineNum = 2859;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"C";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("RUTA")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("FECHA")),(Object)(_c.GetString("P1")),(Object)(_c.GetString("P2")),(Object)(_c.GetString("P3")),(Object)(_c.GetString("P4")),(Object)(_c.GetString("P5")),(Object)(_c.GetString("P6")),(Object)(_c.GetString("P7")),(Object)(_c.GetString("P8")),(Object)(_c.GetString("P9")),(Object)(_c.GetString("P10"))};
+ //BA.debugLineNum = 2860;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INSENCUESTAS"));
}
};
};
- //BA.debugLineNum = 2843;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2863;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2844;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2865;BA.debugLine="End Sub";
return "";
}
public String _e_ruta_click() throws Exception{
anywheresoftware.b4a.objects.collections.Map _revisaactualizacion = null;
- //BA.debugLineNum = 3940;BA.debugLine="Sub e_ruta_Click";
- //BA.debugLineNum = 3941;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF";
+ //BA.debugLineNum = 3970;BA.debugLine="Sub e_ruta_Click";
+ //BA.debugLineNum = 3971;BA.debugLine="Private revisaActualizacion As Map = Subs.revisaF";
_revisaactualizacion = new anywheresoftware.b4a.objects.collections.Map();
_revisaactualizacion = _subs._revisaforzaractualizacion /*anywheresoftware.b4a.objects.collections.Map*/ (ba);
- //BA.debugLineNum = 3942;BA.debugLine="Log(\"revisaActualizacion = \" & revisaActualizacio";
-__c.LogImpl("75898242","revisaActualizacion = "+BA.ObjectToString(_revisaactualizacion),0);
- //BA.debugLineNum = 3943;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 2 Then";
+ //BA.debugLineNum = 3972;BA.debugLine="Log(\"revisaActualizacion = \" & revisaActualizacio";
+__c.LogImpl("45898242","revisaActualizacion = "+BA.ObjectToString(_revisaactualizacion),0);
+ //BA.debugLineNum = 3973;BA.debugLine="If revisaActualizacion.Get(\"forzar\") = 2 Then";
if ((_revisaactualizacion.Get((Object)("forzar"))).equals((Object)(2))) {
- //BA.debugLineNum = 3944;BA.debugLine="LogColor(\"No hay info de versión para actualizar";
-__c.LogImpl("75898244","No hay info de versión para actualizar en CAT_VARIABLES, traemos la información!",__c.Colors.Red);
- //BA.debugLineNum = 3945;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3974;BA.debugLine="LogColor(\"No hay info de versión para actualizar";
+__c.LogImpl("45898244","No hay info de versión para actualizar en CAT_VARIABLES, traemos la información!",__c.Colors.Red);
+ //BA.debugLineNum = 3975;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3946;BA.debugLine="cmd.Name = \"selectVersionAppGuna\"";
+ //BA.debugLineNum = 3976;BA.debugLine="cmd.Name = \"selectVersionAppGuna\"";
_cmd.Name /*String*/ = "selectVersionAppGuna";
- //BA.debugLineNum = 3947;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 3977;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 3948;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
+ //BA.debugLineNum = 3978;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd ,";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("traeVersion"));
};
- //BA.debugLineNum = 3950;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3980;BA.debugLine="End Sub";
return "";
}
public String _e_ruta_enterpressed() throws Exception{
- //BA.debugLineNum = 3024;BA.debugLine="Sub e_ruta_EnterPressed";
- //BA.debugLineNum = 3025;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then";
+ //BA.debugLineNum = 3045;BA.debugLine="Sub e_ruta_EnterPressed";
+ //BA.debugLineNum = 3046;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then";
if ((_e_ruta.getText()).equals("FIN DIA")) {
- //BA.debugLineNum = 3026;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre?";
+ //BA.debugLineNum = 3047;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre?";
_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea hacer el cierre? Todos los datos se borrarán."),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba));
- //BA.debugLineNum = 3027;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
+ //BA.debugLineNum = 3048;BA.debugLine="If RES = DialogResponse.POSITIVE Then";
if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) {
- //BA.debugLineNum = 3028;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
+ //BA.debugLineNum = 3049;BA.debugLine="bitacora.mandaBitacora(Subs.fechanormal(DateTim";
_bitacora._mandabitacora /*String*/ (_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_usuario,_subs._traealmacen /*String*/ (ba),_subs._traeruta /*String*/ (ba),"Fin Día","",_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_subs._fechanormal /*String*/ (ba,BA.NumberToString(__c.DateTime.getNow())),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ,"2","","","");
- //BA.debugLineNum = 3029;BA.debugLine="Label22.Visible = False";
+ //BA.debugLineNum = 3050;BA.debugLine="Label22.Visible = False";
_label22.setVisible(__c.False);
- //BA.debugLineNum = 3030;BA.debugLine="l_rutasuplencia.Visible = False";
+ //BA.debugLineNum = 3051;BA.debugLine="l_rutasuplencia.Visible = False";
_l_rutasuplencia.setVisible(__c.False);
- //BA.debugLineNum = 3031;BA.debugLine="l_rutasuplencia.Text = \"\"";
+ //BA.debugLineNum = 3052;BA.debugLine="l_rutasuplencia.Text = \"\"";
_l_rutasuplencia.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 3032;BA.debugLine="b_abordo.Visible = False";
+ //BA.debugLineNum = 3053;BA.debugLine="b_abordo.Visible = False";
_b_abordo.setVisible(__c.False);
- //BA.debugLineNum = 3033;BA.debugLine="t2.Initialize(\"t2\", 1000) ' 1000 ms = 1 segund";
+ //BA.debugLineNum = 3054;BA.debugLine="t2.Initialize(\"t2\", 1000) ' 1000 ms = 1 segund";
_t2.Initialize(ba,"t2",(long) (1000));
- //BA.debugLineNum = 3034;BA.debugLine="t2.Enabled = True";
+ //BA.debugLineNum = 3055;BA.debugLine="t2.Enabled = True";
_t2.setEnabled(__c.True);
};
};
- //BA.debugLineNum = 3038;BA.debugLine="If e_ruta.Text = \"IWL\" Then";
+ //BA.debugLineNum = 3059;BA.debugLine="If e_ruta.Text = \"IWL\" Then";
if ((_e_ruta.getText()).equals("IWL")) {
- //BA.debugLineNum = 3040;BA.debugLine="NUEVO.Visible =False";
+ //BA.debugLineNum = 3061;BA.debugLine="NUEVO.Visible =False";
_nuevo.setVisible(__c.False);
- //BA.debugLineNum = 3041;BA.debugLine="BUSCA.Visible=False";
+ //BA.debugLineNum = 3062;BA.debugLine="BUSCA.Visible=False";
_busca.setVisible(__c.False);
- //BA.debugLineNum = 3042;BA.debugLine="connecta.Visible=False";
+ //BA.debugLineNum = 3063;BA.debugLine="connecta.Visible=False";
_connecta.setVisible(__c.False);
- //BA.debugLineNum = 3043;BA.debugLine="img3.Visible =True";
+ //BA.debugLineNum = 3064;BA.debugLine="img3.Visible =True";
_img3.setVisible(__c.True);
- //BA.debugLineNum = 3044;BA.debugLine="Resumen.Visible= False";
+ //BA.debugLineNum = 3065;BA.debugLine="Resumen.Visible= False";
_resumen.setVisible(__c.False);
};
- //BA.debugLineNum = 3047;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then";
+ //BA.debugLineNum = 3068;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then";
if ((_e_ruta.getText()).equals("SUPLENCIA")) {
- //BA.debugLineNum = 3048;BA.debugLine="e_ruta.Text = \"\"";
+ //BA.debugLineNum = 3069;BA.debugLine="e_ruta.Text = \"\"";
_e_ruta.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 3049;BA.debugLine="E_RUTA2.Visible = True";
+ //BA.debugLineNum = 3070;BA.debugLine="E_RUTA2.Visible = True";
_e_ruta2.setVisible(__c.True);
- //BA.debugLineNum = 3050;BA.debugLine="p_ruta2.Visible = True";
+ //BA.debugLineNum = 3071;BA.debugLine="p_ruta2.Visible = True";
_p_ruta2.setVisible(__c.True);
- //BA.debugLineNum = 3051;BA.debugLine="p_somvra_2.Visible = False";
+ //BA.debugLineNum = 3072;BA.debugLine="p_somvra_2.Visible = False";
_p_somvra_2.setVisible(__c.False);
};
- //BA.debugLineNum = 3053;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3074;BA.debugLine="End Sub";
return "";
}
public String _e_ruta_textchanged(String _old,String _new) throws Exception{
String _validchars = "";
- //BA.debugLineNum = 3770;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri";
- //BA.debugLineNum = 3771;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV";
+ //BA.debugLineNum = 3800;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri";
+ //BA.debugLineNum = 3801;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV";
_validchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ";
- //BA.debugLineNum = 3773;BA.debugLine="If Old <> \"KMTS1\" Then";
+ //BA.debugLineNum = 3803;BA.debugLine="If Old <> \"KMTS1\" Then";
if ((_old).equals("KMTS1") == false) {
- //BA.debugLineNum = 3775;BA.debugLine="Try";
-try { //BA.debugLineNum = 3776;BA.debugLine="If validChars.Contains(New.SubString(New.Length";
+ //BA.debugLineNum = 3805;BA.debugLine="Try";
+try { //BA.debugLineNum = 3806;BA.debugLine="If validChars.Contains(New.SubString(New.Length";
if (_validchars.contains(_new.substring((int) (_new.length()-1)))==__c.False) {
- //BA.debugLineNum = 3777;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)";
+ //BA.debugLineNum = 3807;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)";
_e_ruta.setText(BA.ObjectToCharSequence(_new.substring((int) (0),(int) (_new.length()-1))));
- //BA.debugLineNum = 3778;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length";
+ //BA.debugLineNum = 3808;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length";
_e_ruta.setSelectionStart(_e_ruta.getText().length());
};
}
catch (Exception e9) {
ba.setLastException(e9); };
};
- //BA.debugLineNum = 3784;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3814;BA.debugLine="End Sub";
return "";
}
public String _e_ruta2_textchanged(String _old,String _new) throws Exception{
- //BA.debugLineNum = 3786;BA.debugLine="Sub e_ruta2_TextChanged (Old As String, New As Str";
- //BA.debugLineNum = 3789;BA.debugLine="If New = e_ruta.text And New <> \"\" Then";
+ //BA.debugLineNum = 3816;BA.debugLine="Sub e_ruta2_TextChanged (Old As String, New As Str";
+ //BA.debugLineNum = 3819;BA.debugLine="If New = e_ruta.text And New <> \"\" Then";
if ((_new).equals(_e_ruta.getText()) && (_new).equals("") == false) {
- //BA.debugLineNum = 3790;BA.debugLine="cargar.Enabled = False";
+ //BA.debugLineNum = 3820;BA.debugLine="cargar.Enabled = False";
_cargar.setEnabled(__c.False);
- //BA.debugLineNum = 3791;BA.debugLine="ToastMessageShow(\"Las rutas NO PUEDEN ser iguale";
+ //BA.debugLineNum = 3821;BA.debugLine="ToastMessageShow(\"Las rutas NO PUEDEN ser iguale";
__c.ToastMessageShow(BA.ObjectToCharSequence("Las rutas NO PUEDEN ser iguales!!"),__c.False);
}else {
- //BA.debugLineNum = 3793;BA.debugLine="cargar.Enabled = True";
+ //BA.debugLineNum = 3823;BA.debugLine="cargar.Enabled = True";
_cargar.setEnabled(__c.True);
};
- //BA.debugLineNum = 3795;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3825;BA.debugLine="End Sub";
return "";
}
public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{
- //BA.debugLineNum = 3761;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
- //BA.debugLineNum = 3763;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3791;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)";
+ //BA.debugLineNum = 3793;BA.debugLine="End Sub";
return "";
}
public String _hacer_ped_click() throws Exception{
- //BA.debugLineNum = 3749;BA.debugLine="Sub hacer_ped_Click";
- //BA.debugLineNum = 3750;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
+ //BA.debugLineNum = 3779;BA.debugLine="Sub hacer_ped_Click";
+ //BA.debugLineNum = 3780;BA.debugLine="B4XPages.ShowPage(\"Clientes\")";
_b4xpages._showpage /*String*/ (ba,"Clientes");
- //BA.debugLineNum = 3751;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3781;BA.debugLine="End Sub";
return "";
}
public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
@@ -3207,70 +3193,70 @@ if (true) return this;
return null;
}
public String _inv_click() throws Exception{
- //BA.debugLineNum = 3055;BA.debugLine="Sub inv_Click";
- //BA.debugLineNum = 3056;BA.debugLine="img2.Visible =True";
+ //BA.debugLineNum = 3076;BA.debugLine="Sub inv_Click";
+ //BA.debugLineNum = 3077;BA.debugLine="img2.Visible =True";
_img2.setVisible(__c.True);
- //BA.debugLineNum = 3057;BA.debugLine="EJECUTANDO = 1";
+ //BA.debugLineNum = 3078;BA.debugLine="EJECUTANDO = 1";
_ejecutando = BA.NumberToString(1);
- //BA.debugLineNum = 3058;BA.debugLine="inve = 1";
+ //BA.debugLineNum = 3079;BA.debugLine="inve = 1";
_inve = BA.NumberToString(1);
- //BA.debugLineNum = 3059;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 3080;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod");
- //BA.debugLineNum = 3060;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 3081;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2");
- //BA.debugLineNum = 3061;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 3082;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ");
- //BA.debugLineNum = 3062;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
+ //BA.debugLineNum = 3083;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa")));
- //BA.debugLineNum = 3063;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3084;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3064;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 3085;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
- //BA.debugLineNum = 3065;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3086;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3066;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3087;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3067;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\"";
+ //BA.debugLineNum = 3088;BA.debugLine="cmd.Name = \"select_cat_gunaprod_GV2\"";
_cmd.Name /*String*/ = "select_cat_gunaprod_GV2";
- //BA.debugLineNum = 3068;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 3089;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 3069;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
+ //BA.debugLineNum = 3090;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod"));
- //BA.debugLineNum = 3070;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3091;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3071;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\"";
+ //BA.debugLineNum = 3092;BA.debugLine="cmd.Name = \"select_cat_gunaprod2_GV2\"";
_cmd.Name /*String*/ = "select_cat_gunaprod2_GV2";
- //BA.debugLineNum = 3072;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta.";
+ //BA.debugLineNum = 3093;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta.";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())};
- //BA.debugLineNum = 3073;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
+ //BA.debugLineNum = 3094;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod2"));
- //BA.debugLineNum = 3074;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3095;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3075;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV2\"";
+ //BA.debugLineNum = 3096;BA.debugLine="cmd.Name = \"select_cat_paquetes_GV2\"";
_cmd.Name /*String*/ = "select_cat_paquetes_GV2";
- //BA.debugLineNum = 3076;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 3097;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 3077;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
+ //BA.debugLineNum = 3098;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp"));
- //BA.debugLineNum = 3079;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3100;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3080;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\"";
+ //BA.debugLineNum = 3101;BA.debugLine="cmd.Name = \"select_cat_detallepa_GV2\"";
_cmd.Name /*String*/ = "select_cat_detallepa_GV2";
- //BA.debugLineNum = 3081;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
+ //BA.debugLineNum = 3102;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)};
- //BA.debugLineNum = 3082;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
+ //BA.debugLineNum = 3103;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("detallepaq"));
- //BA.debugLineNum = 3084;BA.debugLine="cargar.Visible = False";
+ //BA.debugLineNum = 3105;BA.debugLine="cargar.Visible = False";
_cargar.setVisible(__c.False);
- //BA.debugLineNum = 3085;BA.debugLine="Subir.Visible = False";
+ //BA.debugLineNum = 3106;BA.debugLine="Subir.Visible = False";
_subir.setVisible(__c.False);
- //BA.debugLineNum = 3086;BA.debugLine="connecta.Visible = True";
+ //BA.debugLineNum = 3107;BA.debugLine="connecta.Visible = True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3087;BA.debugLine="inv.Visible = False";
+ //BA.debugLineNum = 3108;BA.debugLine="inv.Visible = False";
_inv.setVisible(__c.False);
- //BA.debugLineNum = 3088;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este";
+ //BA.debugLineNum = 3109;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este";
__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True);
- //BA.debugLineNum = 3089;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3110;BA.debugLine="End Sub";
return "";
}
public String _jobdone(gunav2.keymon.com.mx.httpjob _job) throws Exception{
@@ -3320,6 +3306,8 @@ String _cat_cl_diascredito = "";
String _cat_cl_clasificador4 = "";
String _cat_cl_clasificador3 = "";
String _cat_cl_clasificador2 = "";
+String _cat_cl_clasificador5 = "";
+String _cat_cl_ordenvisita = "";
String _cat_cl_bcredito = "";
String _cat_cl_tipo_ruta = "";
String _cat_cl_dias_visita = "";
@@ -3399,6 +3387,7 @@ String _hvd_cant = "";
String _hvd_costo_tot = "";
String _hvd_fecha = "";
String _hvd_num_ticket = "";
+String _hvd_codpromo = "";
String _cat_va_descripcion = "";
String _cat_va_valor = "";
String _cat_ep_id = "";
@@ -3428,43 +3417,43 @@ String _cob_marcae = "";
String _cob_portafolio = "";
String _cob_objpp = "";
String _cob_gev = "";
- //BA.debugLineNum = 1592;BA.debugLine="Sub JobDone(Job As HttpJob)";
- //BA.debugLineNum = 1593;BA.debugLine="B4XPages.MainPage.reqManager.trackNext(Job)";
+ //BA.debugLineNum = 1614;BA.debugLine="Sub JobDone(Job As HttpJob)";
+ //BA.debugLineNum = 1615;BA.debugLine="B4XPages.MainPage.reqManager.trackNext(Job)";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._tracknext /*String*/ (_job);
- //BA.debugLineNum = 1594;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")";
-__c.LogImpl("73997698","JOBDONE PRINCIPAL",0);
- //BA.debugLineNum = 1600;BA.debugLine="If Job.Success = False Then";
+ //BA.debugLineNum = 1616;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")";
+__c.LogImpl("43997698","JOBDONE PRINCIPAL",0);
+ //BA.debugLineNum = 1622;BA.debugLine="If Job.Success = False Then";
if (_job._success /*boolean*/ ==__c.False) {
- //BA.debugLineNum = 1601;BA.debugLine="If Job.ErrorMessage <> \"STREAM\" Then LogColor(\"E";
+ //BA.debugLineNum = 1623;BA.debugLine="If Job.ErrorMessage <> \"STREAM\" Then LogColor(\"E";
if ((_job._errormessage /*String*/ ).equals("STREAM") == false) {
-__c.LogImpl("73997705","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);};
- //BA.debugLineNum = 1603;BA.debugLine="If Job.ErrorMessage = \"STREAM\" Then";
+__c.LogImpl("43997705","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_subs._parsehttperror /*String*/ (ba,_job._errormessage /*String*/ ),__c.Colors.Red);};
+ //BA.debugLineNum = 1625;BA.debugLine="If Job.ErrorMessage = \"STREAM\" Then";
if ((_job._errormessage /*String*/ ).equals("STREAM")) {
- //BA.debugLineNum = 1604;BA.debugLine="If CARGA = \"SUBIR\" Then";
+ //BA.debugLineNum = 1626;BA.debugLine="If CARGA = \"SUBIR\" Then";
if ((_carga).equals("SUBIR")) {
- //BA.debugLineNum = 1605;BA.debugLine="PB2.Progress = PB2.Progress + PORCENTAJE";
+ //BA.debugLineNum = 1627;BA.debugLine="PB2.Progress = PB2.Progress + PORCENTAJE";
_pb2.setProgress((int) (_pb2.getProgress()+(double)(Double.parseDouble(_porcentaje))));
- //BA.debugLineNum = 1606;BA.debugLine="S_CP.Text = \"SUBIENDO\"";
+ //BA.debugLineNum = 1628;BA.debugLine="S_CP.Text = \"SUBIENDO\"";
_s_cp.setText(BA.ObjectToCharSequence("SUBIENDO"));
- //BA.debugLineNum = 1607;BA.debugLine="If PB2.Progress > 99 Then";
+ //BA.debugLineNum = 1629;BA.debugLine="If PB2.Progress > 99 Then";
if (_pb2.getProgress()>99) {
- //BA.debugLineNum = 1608;BA.debugLine="S_CP.Text = \"VALIDANDO\"";
+ //BA.debugLineNum = 1630;BA.debugLine="S_CP.Text = \"VALIDANDO\"";
_s_cp.setText(BA.ObjectToCharSequence("VALIDANDO"));
};
};
};
}else {
- //BA.debugLineNum = 1613;BA.debugLine="LogColor(\"JobDone: '\" & B4XPages.MainPage.reqMan";
-__c.LogImpl("73997717","JobDone: '"+BA.ObjectToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
- //BA.debugLineNum = 1615;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1635;BA.debugLine="LogColor(\"JobDone: '\" & B4XPages.MainPage.reqMan";
+__c.LogImpl("43997717","JobDone: '"+BA.ObjectToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green);
+ //BA.debugLineNum = 1637;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1616;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1638;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1617;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag";
+ //BA.debugLineNum = 1639;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("usuarioA"))) {
- //BA.debugLineNum = 1618;BA.debugLine="Private n As String = \"Sin Usuario\"";
+ //BA.debugLineNum = 1640;BA.debugLine="Private n As String = \"Sin Usuario\"";
_n = "Sin Usuario";
- //BA.debugLineNum = 1619;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1641;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
final anywheresoftware.b4a.BA.IterableList group20 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen20 = group20.getSize()
@@ -3472,41 +3461,41 @@ final int groupLen20 = group20.getSize()
;
for (; index20 < groupLen20;index20++){
_records = (Object[])(group20.Get(index20));
- //BA.debugLineNum = 1620;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))";
+ //BA.debugLineNum = 1642;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))";
_n = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]);
}
};
- //BA.debugLineNum = 1622;BA.debugLine="LogColor(\"************************** \" & n, C";
-__c.LogImpl("73997726","************************** "+_n,__c.Colors.Green);
- //BA.debugLineNum = 1623;BA.debugLine="If n = \"OKActivo\" Then";
+ //BA.debugLineNum = 1644;BA.debugLine="LogColor(\"************************** \" & n, C";
+__c.LogImpl("43997726","************************** "+_n,__c.Colors.Green);
+ //BA.debugLineNum = 1645;BA.debugLine="If n = \"OKActivo\" Then";
if ((_n).equals("OKActivo")) {
- //BA.debugLineNum = 1624;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1646;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1625;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1647;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1626;BA.debugLine="cmd.Name = \"select_ruta_GV2_70_16\"";
-_cmd.Name /*String*/ = "select_ruta_GV2_70_16";
- //BA.debugLineNum = 1627;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ru";
+ //BA.debugLineNum = 1648;BA.debugLine="cmd.Name = \"select_ruta_GV2_70_19\"";
+_cmd.Name /*String*/ = "select_ruta_GV2_70_19";
+ //BA.debugLineNum = 1649;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,e_ru";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_usuario)};
- //BA.debugLineNum = 1628;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd";
+ //BA.debugLineNum = 1650;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("ruta"));
}else {
- //BA.debugLineNum = 1631;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i";
+ //BA.debugLineNum = 1653;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i";
__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba);
- //BA.debugLineNum = 1632;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f";
+ //BA.debugLineNum = 1654;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from usuarioa");
- //BA.debugLineNum = 1633;BA.debugLine="ExitApplication";
+ //BA.debugLineNum = 1655;BA.debugLine="ExitApplication";
__c.ExitApplication();
};
};
};
- //BA.debugLineNum = 1639;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1661;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1640;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1662;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1641;BA.debugLine="If RESULT.Tag = \"FOTO\" Then 'query tag";
+ //BA.debugLineNum = 1663;BA.debugLine="If RESULT.Tag = \"FOTO\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("FOTO"))) {
- //BA.debugLineNum = 1643;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1665;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
final anywheresoftware.b4a.BA.IterableList group40 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen40 = group40.getSize()
@@ -3514,25 +3503,25 @@ final int groupLen40 = group40.getSize()
;
for (; index40 < groupLen40;index40++){
_records = (Object[])(group40.Get(index40));
- //BA.debugLineNum = 1646;BA.debugLine="Dim CODIGO As String = records(RESULT.Columns";
+ //BA.debugLineNum = 1668;BA.debugLine="Dim CODIGO As String = records(RESULT.Columns";
_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]);
- //BA.debugLineNum = 1647;BA.debugLine="Dim FOTOS As String = records(RESULT.Columns.";
+ //BA.debugLineNum = 1669;BA.debugLine="Dim FOTOS As String = records(RESULT.Columns.";
_fotos = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLIENTE"))))]);
- //BA.debugLineNum = 1648;BA.debugLine="Dim BANDERA As String = records(RESULT.Column";
+ //BA.debugLineNum = 1670;BA.debugLine="Dim BANDERA As String = records(RESULT.Column";
_bandera = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BFOTO"))))]);
- //BA.debugLineNum = 1650;BA.debugLine="Dim fot As Cursor = Starter.skmt.ExecQuery($\"";
+ //BA.debugLineNum = 1672;BA.debugLine="Dim fot As Cursor = Starter.skmt.ExecQuery($\"";
_fot = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fot = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * FROM FOTOS WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_codigo))+"'"))));
- //BA.debugLineNum = 1651;BA.debugLine="If fot.RowCount = 0 Then";
+ //BA.debugLineNum = 1673;BA.debugLine="If fot.RowCount = 0 Then";
if (_fot.getRowCount()==0) {
- //BA.debugLineNum = 1652;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTO";
+ //BA.debugLineNum = 1674;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO FOTOS(CLIENTE,FOTO,MOVIMIENTO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_codigo),(Object)(_fotos),(Object)(_bandera)}));
}else {
- //BA.debugLineNum = 1654;BA.debugLine="fot.Position = 0";
+ //BA.debugLineNum = 1676;BA.debugLine="fot.Position = 0";
_fot.setPosition((int) (0));
- //BA.debugLineNum = 1655;BA.debugLine="If fot.GetString(\"MOVIMIENTO\") > BANDERA The";
+ //BA.debugLineNum = 1677;BA.debugLine="If fot.GetString(\"MOVIMIENTO\") > BANDERA The";
if ((double)(Double.parseDouble(_fot.GetString("MOVIMIENTO")))>(double)(Double.parseDouble(_bandera))) {
- //BA.debugLineNum = 1656;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE FOTOS SE";
+ //BA.debugLineNum = 1678;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE FOTOS SE";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE FOTOS SET FOTO = ?, MOVIMIENTO = ? IN (SELECT CUENTA FROM CUENTAA)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fotos),(Object)(_bandera)}));
};
};
@@ -3540,13 +3529,13 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE FOTOS SET
};
};
};
- //BA.debugLineNum = 1664;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1686;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1665;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1687;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1666;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag";
+ //BA.debugLineNum = 1688;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("giro"))) {
- //BA.debugLineNum = 1667;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1689;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
final anywheresoftware.b4a.BA.IterableList group59 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen59 = group59.getSize()
@@ -3554,23 +3543,23 @@ final int groupLen59 = group59.getSize()
;
for (; index59 < groupLen59;index59++){
_records = (Object[])(group59.Get(index59));
- //BA.debugLineNum = 1668;BA.debugLine="Dim giro As String = records(RESULT.Columns.";
+ //BA.debugLineNum = 1690;BA.debugLine="Dim giro As String = records(RESULT.Columns.";
_giro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GR_DESCRIPCION"))))]);
- //BA.debugLineNum = 1670;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G";
+ //BA.debugLineNum = 1692;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GIRO(GIRO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_giro)}));
}
};
};
};
- //BA.debugLineNum = 1676;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1698;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1677;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1699;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1678;BA.debugLine="If RESULT.Tag = \"select_abonosp\" Then 'query ta";
+ //BA.debugLineNum = 1700;BA.debugLine="If RESULT.Tag = \"select_abonosp\" Then 'query ta";
if ((_result.Tag /*Object*/ ).equals((Object)("select_abonosp"))) {
- //BA.debugLineNum = 1679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr";
+ //BA.debugLineNum = 1701;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ABONOSP");
- //BA.debugLineNum = 1680;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1702;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
final anywheresoftware.b4a.BA.IterableList group69 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen69 = group69.getSize()
@@ -3578,163 +3567,193 @@ final int groupLen69 = group69.getSize()
;
for (; index69 < groupLen69;index69++){
_records = (Object[])(group69.Get(index69));
- //BA.debugLineNum = 1681;BA.debugLine="Dim NOTA As String = records(RESULT.Columns.G";
+ //BA.debugLineNum = 1703;BA.debugLine="Dim NOTA As String = records(RESULT.Columns.G";
_nota = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("NOTA"))))]);
- //BA.debugLineNum = 1682;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column";
+ //BA.debugLineNum = 1704;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column";
_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTE"))))]);
- //BA.debugLineNum = 1683;BA.debugLine="Dim SALDO_PENDIENTE As String = records(RESUL";
+ //BA.debugLineNum = 1705;BA.debugLine="Dim SALDO_PENDIENTE As String = records(RESUL";
_saldo_pendiente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("SALDO_PENDIENTE"))))]);
- //BA.debugLineNum = 1685;BA.debugLine="Dim FECHA_PAGARE As String = records(RESULT.C";
+ //BA.debugLineNum = 1707;BA.debugLine="Dim FECHA_PAGARE As String = records(RESULT.C";
_fecha_pagare = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA_PREVENTA"))))]);
- //BA.debugLineNum = 1686;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO";
+ //BA.debugLineNum = 1708;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE,FECHA) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nota),(Object)(_cliente),(Object)(_saldo_pendiente),(Object)(_fecha_pagare)}));
}
};
};
};
- //BA.debugLineNum = 1691;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1713;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1692;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req";
-_result1 = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1693;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta";
-if ((_result1.Tag /*Object*/ ).equals((Object)("CHECAENCUESTA"))) {
- //BA.debugLineNum = 1694;BA.debugLine="For Each records() As Object In result1.Rows";
+ //BA.debugLineNum = 1714;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
+ //BA.debugLineNum = 1715;BA.debugLine="If RESULT.Tag = \"select_abonosp_todos\" Then 'qu";
+if ((_result.Tag /*Object*/ ).equals((Object)("select_abonosp_todos"))) {
+ //BA.debugLineNum = 1716;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ABONOSPTOD");
+ //BA.debugLineNum = 1717;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group81 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen81 = group81.getSize()
-;int index81 = 0;
+final anywheresoftware.b4a.BA.IterableList group82 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen82 = group82.getSize()
+;int index82 = 0;
;
-for (; index81 < groupLen81;index81++){
-_records = (Object[])(group81.Get(index81));
- //BA.debugLineNum = 1695;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul";
-_cuantosencuesta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOS"))))]);
- //BA.debugLineNum = 1696;BA.debugLine="Log(CUANTOSENCUESTA)";
-__c.LogImpl("73997800",_cuantosencuesta,0);
+for (; index82 < groupLen82;index82++){
+_records = (Object[])(group82.Get(index82));
+ //BA.debugLineNum = 1718;BA.debugLine="Dim NOTA As String = records(RESULT.Columns.G";
+_nota = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("NOTA"))))]);
+ //BA.debugLineNum = 1719;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column";
+_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTE"))))]);
+ //BA.debugLineNum = 1720;BA.debugLine="Dim SALDO_PENDIENTE As String = records(RESUL";
+_saldo_pendiente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("SALDO_PENDIENTE"))))]);
+ //BA.debugLineNum = 1722;BA.debugLine="Dim FECHA_PAGARE As String = records(RESULT.C";
+_fecha_pagare = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA_PREVENTA"))))]);
+ //BA.debugLineNum = 1723;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO ABONO";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ABONOSPTOD(NOTA,CLIENTE,SALDO_PENDIENTE,FECHA) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nota),(Object)(_cliente),(Object)(_saldo_pendiente),(Object)(_fecha_pagare)}));
}
};
- //BA.debugLineNum = 1698;BA.debugLine="Dim sDate,sTime As String";
+ };
+ };
+ //BA.debugLineNum = 1728;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+if ((_job._jobname /*String*/ ).equals("DBRequest")) {
+ //BA.debugLineNum = 1729;BA.debugLine="Dim result1 As DBResult = B4XPages.MainPage.req";
+_result1 = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
+ //BA.debugLineNum = 1730;BA.debugLine="If result1.Tag = \"CHECAENCUESTA\" Then 'query ta";
+if ((_result1.Tag /*Object*/ ).equals((Object)("CHECAENCUESTA"))) {
+ //BA.debugLineNum = 1731;BA.debugLine="For Each records() As Object In result1.Rows";
+{
+final anywheresoftware.b4a.BA.IterableList group94 = _result1.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen94 = group94.getSize()
+;int index94 = 0;
+;
+for (; index94 < groupLen94;index94++){
+_records = (Object[])(group94.Get(index94));
+ //BA.debugLineNum = 1732;BA.debugLine="Dim CUANTOSENCUESTA As String = records(resul";
+_cuantosencuesta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result1.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOS"))))]);
+ //BA.debugLineNum = 1733;BA.debugLine="Log(CUANTOSENCUESTA)";
+__c.LogImpl("43997815",_cuantosencuesta,0);
+ }
+};
+ //BA.debugLineNum = 1735;BA.debugLine="Dim sDate,sTime As String";
_sdate = "";
_stime = "";
- //BA.debugLineNum = 1699;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 1736;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 1700;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+ //BA.debugLineNum = 1737;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 1701;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+ //BA.debugLineNum = 1738;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
_stime = __c.DateTime.Time(__c.DateTime.getNow());
- //BA.debugLineNum = 1702;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then";
+ //BA.debugLineNum = 1739;BA.debugLine="If CUANTOSENCUESTA = \"0\" Then";
if ((_cuantosencuesta).equals("0")) {
- //BA.debugLineNum = 1703;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1740;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1704;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\"";
+ //BA.debugLineNum = 1741;BA.debugLine="cmd.Name =\"insert_drop_GV2_4\"";
_cmd.Name /*String*/ = "insert_drop_GV2_4";
- //BA.debugLineNum = 1705;BA.debugLine="cmd.Parameters = Array As Object(usuario,B4XP";
+ //BA.debugLineNum = 1742;BA.debugLine="cmd.Parameters = Array As Object(usuario,B4XP";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._principal /*gunav2.keymon.com.mx.c_principal*/ ._e_ruta /*anywheresoftware.b4a.objects.EditTextWrapper*/ .getText()),(Object)(_sdate),(Object)(""),(Object)(_stime),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("ENCUESTA"),(Object)(_almacen),(Object)(__c.Application.getVersionName()),(Object)(_starter._encuesta /*String*/ )};
- //BA.debugLineNum = 1706;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
+ //BA.debugLineNum = 1743;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_drop"));
};
};
};
- //BA.debugLineNum = 1711;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1748;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1712;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1749;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1713;BA.debugLine="If RESULT.Tag = \"traeFechaFotosGuna\" Then 'quer";
+ //BA.debugLineNum = 1750;BA.debugLine="If RESULT.Tag = \"traeFechaFotosGuna\" Then 'quer";
if ((_result.Tag /*Object*/ ).equals((Object)("traeFechaFotosGuna"))) {
- //BA.debugLineNum = 1714;BA.debugLine="Subs.logJobDoneResultados(RESULT)";
+ //BA.debugLineNum = 1751;BA.debugLine="Subs.logJobDoneResultados(RESULT)";
_subs._logjobdoneresultados /*String*/ (ba,_result);
- //BA.debugLineNum = 1716;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1753;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group101 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen101 = group101.getSize()
-;int index101 = 0;
+final anywheresoftware.b4a.BA.IterableList group114 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen114 = group114.getSize()
+;int index114 = 0;
;
-for (; index101 < groupLen101;index101++){
-_records = (Object[])(group101.Get(index101));
- //BA.debugLineNum = 1717;BA.debugLine="Private fecha As String = records(RESULT.Colu";
+for (; index114 < groupLen114;index114++){
+_records = (Object[])(group114.Get(index114));
+ //BA.debugLineNum = 1754;BA.debugLine="Private fecha As String = records(RESULT.Colu";
_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO_FECHA"))))]);
- //BA.debugLineNum = 1718;BA.debugLine="Private CLIENTE As String = records(RESULT.Co";
+ //BA.debugLineNum = 1755;BA.debugLine="Private CLIENTE As String = records(RESULT.Co";
_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]);
- //BA.debugLineNum = 1719;BA.debugLine="Private f As Cursor = Starter.skmt.ExecQuery(";
+ //BA.debugLineNum = 1756;BA.debugLine="Private f As Cursor = Starter.skmt.ExecQuery(";
_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from fotos where cliente = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"' and fecha = '"+__c.SmartStringFormatter("",(Object)(_fecha))+"'"))));
- //BA.debugLineNum = 1721;BA.debugLine="If f.RowCount = 0 Then";
+ //BA.debugLineNum = 1758;BA.debugLine="If f.RowCount = 0 Then";
if (_f.getRowCount()==0) {
- //BA.debugLineNum = 1722;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1759;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1723;BA.debugLine="cmd.Name = \"traeFotoGuna\"";
+ //BA.debugLineNum = 1760;BA.debugLine="cmd.Name = \"traeFotoGuna\"";
_cmd.Name /*String*/ = "traeFotoGuna";
- //BA.debugLineNum = 1724;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_";
+ //BA.debugLineNum = 1761;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_cliente)};
- //BA.debugLineNum = 1725;BA.debugLine="Log(\"BUSCAMOS FOTO: \" & ALMACEN &\"|\" & e_rut";
-__c.LogImpl("73997829","BUSCAMOS FOTO: "+_almacen+"|"+_e_ruta.getText()+"|"+_cliente,0);
- //BA.debugLineNum = 1726;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm";
+ //BA.debugLineNum = 1762;BA.debugLine="Log(\"BUSCAMOS FOTO: \" & ALMACEN &\"|\" & e_rut";
+__c.LogImpl("43997844","BUSCAMOS FOTO: "+_almacen+"|"+_e_ruta.getText()+"|"+_cliente,0);
+ //BA.debugLineNum = 1763;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)(("traeFotoGuna_"+__c.SmartStringFormatter("",(Object)(_cliente))+"")));
- //BA.debugLineNum = 1727;BA.debugLine="Log($\"==>> traeFotoGuna_${CLIENTE}\"$)";
-__c.LogImpl("73997831",("==>> traeFotoGuna_"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
+ //BA.debugLineNum = 1764;BA.debugLine="Log($\"==>> traeFotoGuna_${CLIENTE}\"$)";
+__c.LogImpl("43997846",("==>> traeFotoGuna_"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0);
};
}
};
};
};
- //BA.debugLineNum = 1769;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1806;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1770;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1807;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1771;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traeFotoGuna";
+ //BA.debugLineNum = 1808;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traeFotoGuna";
if ((BA.ObjectToString(_result.Tag /*Object*/ )).contains("traeFotoGuna_")) {
- //BA.debugLineNum = 1772;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1809;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group119 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen119 = group119.getSize()
-;int index119 = 0;
+final anywheresoftware.b4a.BA.IterableList group132 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen132 = group132.getSize()
+;int index132 = 0;
;
-for (; index119 < groupLen119;index119++){
-_records = (Object[])(group119.Get(index119));
- //BA.debugLineNum = 1773;BA.debugLine="Private FOTO() As Byte = records(RESULT.Colum";
+for (; index132 < groupLen132;index132++){
+_records = (Object[])(group132.Get(index132));
+ //BA.debugLineNum = 1810;BA.debugLine="Private FOTO() As Byte = records(RESULT.Colum";
_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]);
- //BA.debugLineNum = 1774;BA.debugLine="Private CLIENTE As String = records(RESULT.Co";
+ //BA.debugLineNum = 1811;BA.debugLine="Private CLIENTE As String = records(RESULT.Co";
_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]);
- //BA.debugLineNum = 1775;BA.debugLine="Private fecha As String = records(RESULT.Colu";
+ //BA.debugLineNum = 1812;BA.debugLine="Private fecha As String = records(RESULT.Colu";
_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO_FECHA"))))]);
- //BA.debugLineNum = 1776;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE from FOTOS";
+ //BA.debugLineNum = 1813;BA.debugLine="Starter.skmt.ExecNonQuery($\"DELETE from FOTOS";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("DELETE from FOTOS where CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'"));
- //BA.debugLineNum = 1777;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTOS";
+ //BA.debugLineNum = 1814;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTOS";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO FOTOS(CLIENTE,FOTO,FECHA) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cliente),(Object)(_foto),(Object)(_fecha)}));
}
};
};
};
- //BA.debugLineNum = 1782;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1819;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1783;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1820;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1784;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traecodigos\"";
+ //BA.debugLineNum = 1821;BA.debugLine="If RESULT.Tag.As(String).Contains(\"traecodigos\"";
if ((BA.ObjectToString(_result.Tag /*Object*/ )).contains("traecodigos")) {
- //BA.debugLineNum = 1785;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1822;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group131 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen131 = group131.getSize()
-;int index131 = 0;
+final anywheresoftware.b4a.BA.IterableList group144 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen144 = group144.getSize()
+;int index144 = 0;
;
-for (; index131 < groupLen131;index131++){
-_records = (Object[])(group131.Get(index131));
- //BA.debugLineNum = 1786;BA.debugLine="Private CODIGOCREDITO As String = records(RES";
+for (; index144 < groupLen144;index144++){
+_records = (Object[])(group144.Get(index144));
+ //BA.debugLineNum = 1823;BA.debugLine="Private CODIGOCREDITO As String = records(RES";
_codigocredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLABE"))))]);
- //BA.debugLineNum = 1787;BA.debugLine="Private BANDERACREDITO As String = records(RE";
+ //BA.debugLineNum = 1824;BA.debugLine="Private BANDERACREDITO As String = records(RE";
_banderacredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CTA"))))]);
- //BA.debugLineNum = 1788;BA.debugLine="Private CLIENTECREDITO As String = records(RE";
+ //BA.debugLineNum = 1825;BA.debugLine="Private CLIENTECREDITO As String = records(RE";
_clientecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]);
- //BA.debugLineNum = 1790;BA.debugLine="If l_ruta.Text = \"0\" Then";
+ //BA.debugLineNum = 1827;BA.debugLine="If l_ruta.Text = \"0\" Then";
if ((_l_ruta.getText()).equals("0")) {
- //BA.debugLineNum = 1791;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CODI";
+ //BA.debugLineNum = 1828;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CODI";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CODIGOS_CREDITO(CODIGO,BANDERA,CLIENTE) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_codigocredito),(Object)(_banderacredito),(Object)(_clientecredito)}));
}else {
- //BA.debugLineNum = 1793;BA.debugLine="Private hdsgf As Cursor = Starter.skmt.ExecQ";
+ //BA.debugLineNum = 1830;BA.debugLine="Private hdsgf As Cursor = Starter.skmt.ExecQ";
_hdsgf = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_hdsgf = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * FROM CODIGOS_CREDITO where CODIGO = '"+__c.SmartStringFormatter("",(Object)(_codigocredito))+"' and BANDERA = '"+__c.SmartStringFormatter("",(Object)(_banderacredito))+"' and CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clientecredito))+"' "))));
- //BA.debugLineNum = 1794;BA.debugLine="If hdsgf.RowCount = 0 Then";
+ //BA.debugLineNum = 1831;BA.debugLine="If hdsgf.RowCount = 0 Then";
if (_hdsgf.getRowCount()==0) {
- //BA.debugLineNum = 1795;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO COD";
+ //BA.debugLineNum = 1832;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO COD";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CODIGOS_CREDITO(CODIGO,BANDERA,CLIENTE) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_codigocredito),(Object)(_banderacredito),(Object)(_clientecredito)}));
}else {
};
@@ -3743,409 +3762,379 @@ _starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CODI
};
};
};
- //BA.debugLineNum = 1807;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1844;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1808;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1845;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1809;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag";
+ //BA.debugLineNum = 1846;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) {
- //BA.debugLineNum = 1810;BA.debugLine="S_CC.TEXT = \"CARGANDO\"";
+ //BA.debugLineNum = 1847;BA.debugLine="S_CC.TEXT = \"CARGANDO\"";
_s_cc.setText(BA.ObjectToCharSequence("CARGANDO"));
- //BA.debugLineNum = 1811;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1848;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group151 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen151 = group151.getSize()
-;int index151 = 0;
+final anywheresoftware.b4a.BA.IterableList group164 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen164 = group164.getSize()
+;int index164 = 0;
;
-for (; index151 < groupLen151;index151++){
-_records = (Object[])(group151.Get(index151));
- //BA.debugLineNum = 1812;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
+for (; index164 < groupLen164;index164++){
+_records = (Object[])(group164.Get(index164));
+ //BA.debugLineNum = 1849;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
_cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]);
- //BA.debugLineNum = 1813;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
+ //BA.debugLineNum = 1850;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
_cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]);
- //BA.debugLineNum = 1814;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
+ //BA.debugLineNum = 1851;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
_cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]);
- //BA.debugLineNum = 1815;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
+ //BA.debugLineNum = 1852;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
_cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]);
- //BA.debugLineNum = 1816;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
+ //BA.debugLineNum = 1853;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
_cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]);
- //BA.debugLineNum = 1817;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
+ //BA.debugLineNum = 1854;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
_cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]);
- //BA.debugLineNum = 1818;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
+ //BA.debugLineNum = 1855;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
_cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]);
- //BA.debugLineNum = 1819;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
+ //BA.debugLineNum = 1856;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
_cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]);
- //BA.debugLineNum = 1820;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
+ //BA.debugLineNum = 1857;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
_cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]);
- //BA.debugLineNum = 1821;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
+ //BA.debugLineNum = 1858;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
_cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]);
- //BA.debugLineNum = 1822;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
+ //BA.debugLineNum = 1859;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
_cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]);
- //BA.debugLineNum = 1823;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
+ //BA.debugLineNum = 1860;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
_cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]);
- //BA.debugLineNum = 1824;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
+ //BA.debugLineNum = 1861;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
_cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]);
- //BA.debugLineNum = 1825;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
+ //BA.debugLineNum = 1862;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
_cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]);
- //BA.debugLineNum = 1826;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
+ //BA.debugLineNum = 1863;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
_cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]);
- //BA.debugLineNum = 1827;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
+ //BA.debugLineNum = 1864;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
_cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]);
- //BA.debugLineNum = 1828;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
+ //BA.debugLineNum = 1865;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
_cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]);
- //BA.debugLineNum = 1829;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
+ //BA.debugLineNum = 1866;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
_cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]);
- //BA.debugLineNum = 1830;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co";
+ //BA.debugLineNum = 1867;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co";
_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]);
- //BA.debugLineNum = 1831;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
+ //BA.debugLineNum = 1868;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]);
- //BA.debugLineNum = 1832;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
+ //BA.debugLineNum = 1869;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]);
- //BA.debugLineNum = 1833;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
+ //BA.debugLineNum = 1870;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
_cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]);
- //BA.debugLineNum = 1834;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records(";
+ //BA.debugLineNum = 1871;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records(";
_cat_cl_limitecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LIMITECREDITO"))))]);
- //BA.debugLineNum = 1835;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE";
+ //BA.debugLineNum = 1872;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE";
_cat_cl_diascredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_DIASCREDITO"))))]);
- //BA.debugLineNum = 1836;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records(";
+ //BA.debugLineNum = 1873;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records(";
_cat_cl_clasificador4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR4"))))]);
- //BA.debugLineNum = 1837;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records(";
+ //BA.debugLineNum = 1874;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records(";
_cat_cl_clasificador3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR3"))))]);
- //BA.debugLineNum = 1838;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records(";
+ //BA.debugLineNum = 1875;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records(";
_cat_cl_clasificador2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR2"))))]);
- //BA.debugLineNum = 1842;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
+ //BA.debugLineNum = 1876;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records(";
+_cat_cl_clasificador2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR2"))))]);
+ //BA.debugLineNum = 1877;BA.debugLine="Dim CAT_CL_CLASIFICADOR5 As String = records(";
+_cat_cl_clasificador5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR5"))))]);
+ //BA.debugLineNum = 1878;BA.debugLine="Dim CAT_CL_ORDENVISITA As String = records(RE";
+_cat_cl_ordenvisita = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ORDENVISITA"))))]);
+ //BA.debugLineNum = 1882;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]);
- //BA.debugLineNum = 1843;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_foto),(Object)(_cat_cl_limitecredito),(Object)(_cat_cl_diascredito),(Object)(_cat_cl_clasificador3),(Object)(_cat_cl_clasificador2),(Object)(_cat_cl_clasificador4)}));
- //BA.debugLineNum = 1845;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 1883;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO,CAT_CL_LIMITECREDITO,CAT_CL_DIASCREDITO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR2,CAT_CL_CLASIFICADOR4,CAT_CL_ORDENVISITA,CAT_CL_CLASIFICADOR5) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_foto),(Object)(_cat_cl_limitecredito),(Object)(_cat_cl_diascredito),(Object)(_cat_cl_clasificador3),(Object)(_cat_cl_clasificador2),(Object)(_cat_cl_clasificador4),(Object)(_cat_cl_ordenvisita),(Object)(_cat_cl_clasificador5)}));
+ //BA.debugLineNum = 1885;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)}));
}
};
- //BA.debugLineNum = 1847;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
+ //BA.debugLineNum = 1887;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO, CAT_CL_RUTA, CAT_CL_NOMBRE, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_NUM_SERIEFISICO) VALUES (?,?,?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("0"),(Object)(_e_ruta.getText()),(Object)("ABORDO")}));
- //BA.debugLineNum = 1848;BA.debugLine="Listo1 = 1";
+ //BA.debugLineNum = 1888;BA.debugLine="Listo1 = 1";
_listo1 = BA.NumberToString(1);
- //BA.debugLineNum = 1849;BA.debugLine="S_CC.Text = \"LISTO\"";
+ //BA.debugLineNum = 1889;BA.debugLine="S_CC.Text = \"LISTO\"";
_s_cc.setText(BA.ObjectToCharSequence("LISTO"));
- //BA.debugLineNum = 1851;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
+ //BA.debugLineNum = 1891;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 1853;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 1893;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 1854;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 1894;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
};
};
};
- //BA.debugLineNum = 1860;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 1900;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1861;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 1901;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1862;BA.debugLine="If RESULT.Tag = \"kmt_CAT_CATCLIENTESTODOS\" Then";
+ //BA.debugLineNum = 1902;BA.debugLine="If RESULT.Tag = \"kmt_CAT_CATCLIENTESTODOS\" Then";
if ((_result.Tag /*Object*/ ).equals((Object)("kmt_CAT_CATCLIENTESTODOS"))) {
- //BA.debugLineNum = 1864;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 1904;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group195 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen195 = group195.getSize()
-;int index195 = 0;
+final anywheresoftware.b4a.BA.IterableList group211 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen211 = group211.getSize()
+;int index211 = 0;
;
-for (; index195 < groupLen195;index195++){
-_records = (Object[])(group195.Get(index195));
- //BA.debugLineNum = 1865;BA.debugLine="Dim CAT_CL_TIPO_RUTA As String = records(RESU";
+for (; index211 < groupLen211;index211++){
+_records = (Object[])(group211.Get(index211));
+ //BA.debugLineNum = 1905;BA.debugLine="Dim CAT_CL_TIPO_RUTA As String = records(RESU";
_cat_cl_tipo_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPO_RUTA"))))]);
- //BA.debugLineNum = 1866;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE";
+ //BA.debugLineNum = 1906;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE";
_cat_cl_dias_visita = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_DIAS_VISITA"))))]);
- //BA.debugLineNum = 1867;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
+ //BA.debugLineNum = 1907;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
_cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]);
- //BA.debugLineNum = 1869;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records(";
+ //BA.debugLineNum = 1909;BA.debugLine="Dim CAT_CL_CLASIFICADOR3 As String = records(";
_cat_cl_clasificador3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR3"))))]);
- //BA.debugLineNum = 1870;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records(";
+ //BA.debugLineNum = 1910;BA.debugLine="Dim CAT_CL_CLASIFICADOR4 As String = records(";
_cat_cl_clasificador4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR4"))))]);
- //BA.debugLineNum = 1871;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records(";
+ //BA.debugLineNum = 1911;BA.debugLine="Dim CAT_CL_CLASIFICADOR2 As String = records(";
_cat_cl_clasificador2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CLASIFICADOR2"))))]);
- //BA.debugLineNum = 1872;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
+ //BA.debugLineNum = 1912;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
_cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]);
- //BA.debugLineNum = 1873;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
+ //BA.debugLineNum = 1913;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
_cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]);
- //BA.debugLineNum = 1874;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
+ //BA.debugLineNum = 1914;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
_cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]);
- //BA.debugLineNum = 1875;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
+ //BA.debugLineNum = 1915;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
_cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]);
- //BA.debugLineNum = 1876;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
+ //BA.debugLineNum = 1916;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
_cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]);
- //BA.debugLineNum = 1877;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
+ //BA.debugLineNum = 1917;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
_cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]);
- //BA.debugLineNum = 1878;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
+ //BA.debugLineNum = 1918;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
_cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]);
- //BA.debugLineNum = 1879;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
+ //BA.debugLineNum = 1919;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
_cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]);
- //BA.debugLineNum = 1880;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
+ //BA.debugLineNum = 1920;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
_cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]);
- //BA.debugLineNum = 1881;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
+ //BA.debugLineNum = 1921;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
_cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]);
- //BA.debugLineNum = 1882;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
+ //BA.debugLineNum = 1922;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
_cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]);
- //BA.debugLineNum = 1883;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
+ //BA.debugLineNum = 1923;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
_cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]);
- //BA.debugLineNum = 1884;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
+ //BA.debugLineNum = 1924;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
_cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]);
- //BA.debugLineNum = 1885;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
+ //BA.debugLineNum = 1925;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
_cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]);
- //BA.debugLineNum = 1886;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
+ //BA.debugLineNum = 1926;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
_cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]);
- //BA.debugLineNum = 1887;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
+ //BA.debugLineNum = 1927;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
_cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]);
- //BA.debugLineNum = 1888;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
+ //BA.debugLineNum = 1928;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
_cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]);
- //BA.debugLineNum = 1889;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
+ //BA.debugLineNum = 1929;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]);
- //BA.debugLineNum = 1890;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
+ //BA.debugLineNum = 1930;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]);
- //BA.debugLineNum = 1891;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
+ //BA.debugLineNum = 1931;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]);
- //BA.debugLineNum = 1892;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE";
+ //BA.debugLineNum = 1932;BA.debugLine="Dim CAT_CL_DIASCREDITO As String = records(RE";
_cat_cl_diascredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_DIASCREDITO"))))]);
- //BA.debugLineNum = 1893;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
+ //BA.debugLineNum = 1933;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
_cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]);
- //BA.debugLineNum = 1894;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records(";
+ //BA.debugLineNum = 1934;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records(";
_cat_cl_limitecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LIMITECREDITO"))))]);
- //BA.debugLineNum = 1899;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
+ //BA.debugLineNum = 1939;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]);
- //BA.debugLineNum = 1900;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 1940;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_CATCLIENTESTODOS(CAT_CL_TIPO_RUTA,CAT_CL_DIAS_VISITA,CAT_CL_CODIGO,CAT_CL_FOTO,CAT_CL_CLASIFICADOR3,CAT_CL_CLASIFICADOR4,CAT_CL_CLASIFICADOR2,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO,CAT_CL_BCREDITO,CAT_CL_DIASCREDITO,CAT_CL_TIPOCLIENTE,CAT_CL_LIMITECREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_tipo_ruta),(Object)(_cat_cl_dias_visita),(Object)(_cat_cl_codigo),(Object)(_cat_cl_foto),(Object)(_cat_cl_clasificador3),(Object)(_cat_cl_clasificador4),(Object)(_cat_cl_clasificador2),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_diascredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_limitecredito)}));
- //BA.debugLineNum = 1902;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)}));
- }
-};
- };
- };
- //BA.debugLineNum = 1909;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
-if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 1910;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
-_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 1911;BA.debugLine="If RESULT.Tag = \"kmt_datos2\" Then 'query tag";
-if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos2"))) {
- //BA.debugLineNum = 1912;BA.debugLine="S_CC.TEXT = \"CARGANDO\"";
-_s_cc.setText(BA.ObjectToCharSequence("CARGANDO"));
- //BA.debugLineNum = 1913;BA.debugLine="For Each records() As Object In RESULT.Rows";
-{
-final anywheresoftware.b4a.BA.IterableList group235 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen235 = group235.getSize()
-;int index235 = 0;
-;
-for (; index235 < groupLen235;index235++){
-_records = (Object[])(group235.Get(index235));
- //BA.debugLineNum = 1914;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
-_cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]);
- //BA.debugLineNum = 1915;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
-_cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]);
- //BA.debugLineNum = 1916;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
-_cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]);
- //BA.debugLineNum = 1917;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
-_cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]);
- //BA.debugLineNum = 1918;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
-_cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]);
- //BA.debugLineNum = 1919;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
-_cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]);
- //BA.debugLineNum = 1920;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
-_cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]);
- //BA.debugLineNum = 1921;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
-_cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]);
- //BA.debugLineNum = 1922;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
-_cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]);
- //BA.debugLineNum = 1923;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
-_cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]);
- //BA.debugLineNum = 1924;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
-_cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]);
- //BA.debugLineNum = 1925;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
-_cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]);
- //BA.debugLineNum = 1926;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
-_cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]);
- //BA.debugLineNum = 1927;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
-_cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]);
- //BA.debugLineNum = 1928;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
-_cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]);
- //BA.debugLineNum = 1929;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
-_cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]);
- //BA.debugLineNum = 1930;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
-_cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]);
- //BA.debugLineNum = 1931;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
-_cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]);
- //BA.debugLineNum = 1932;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
-_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]);
- //BA.debugLineNum = 1933;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
-_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]);
- //BA.debugLineNum = 1934;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
-_cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]);
- //BA.debugLineNum = 1935;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co";
-_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]);
- //BA.debugLineNum = 1938;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
-_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]);
- //BA.debugLineNum = 1939;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_foto)}));
//BA.debugLineNum = 1942;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)}));
}
};
- //BA.debugLineNum = 1944;BA.debugLine="Listo1 = 1";
+ };
+ };
+ //BA.debugLineNum = 1949;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+if ((_job._jobname /*String*/ ).equals("DBRequest")) {
+ //BA.debugLineNum = 1950;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
+ //BA.debugLineNum = 1951;BA.debugLine="If RESULT.Tag = \"kmt_datos2\" Then 'query tag";
+if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos2"))) {
+ //BA.debugLineNum = 1952;BA.debugLine="S_CC.TEXT = \"CARGANDO\"";
+_s_cc.setText(BA.ObjectToCharSequence("CARGANDO"));
+ //BA.debugLineNum = 1953;BA.debugLine="For Each records() As Object In RESULT.Rows";
+{
+final anywheresoftware.b4a.BA.IterableList group251 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen251 = group251.getSize()
+;int index251 = 0;
+;
+for (; index251 < groupLen251;index251++){
+_records = (Object[])(group251.Get(index251));
+ //BA.debugLineNum = 1954;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT.";
+_cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]);
+ //BA.debugLineNum = 1955;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co";
+_cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]);
+ //BA.debugLineNum = 1956;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT.";
+_cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]);
+ //BA.debugLineNum = 1957;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL";
+_cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]);
+ //BA.debugLineNum = 1958;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL";
+_cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]);
+ //BA.debugLineNum = 1959;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL";
+_cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]);
+ //BA.debugLineNum = 1960;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C";
+_cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]);
+ //BA.debugLineNum = 1961;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C";
+_cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]);
+ //BA.debugLineNum = 1962;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C";
+_cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]);
+ //BA.debugLineNum = 1963;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C";
+_cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]);
+ //BA.debugLineNum = 1964;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT.";
+_cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]);
+ //BA.debugLineNum = 1965;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT.";
+_cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]);
+ //BA.debugLineNum = 1966;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT";
+_cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]);
+ //BA.debugLineNum = 1967;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co";
+_cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]);
+ //BA.debugLineNum = 1968;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col";
+_cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]);
+ //BA.debugLineNum = 1969;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu";
+_cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]);
+ //BA.debugLineNum = 1970;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co";
+_cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]);
+ //BA.debugLineNum = 1971;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col";
+_cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]);
+ //BA.debugLineNum = 1972;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU";
+_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]);
+ //BA.debugLineNum = 1973;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record";
+_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]);
+ //BA.debugLineNum = 1974;BA.debugLine="Dim CAT_CL_TIPOCLIENTE As String = records(RE";
+_cat_cl_tipocliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TIPOCLIENTE"))))]);
+ //BA.debugLineNum = 1975;BA.debugLine="Dim CAT_CL_FOTO() As Byte = records(RESULT.Co";
+_cat_cl_foto = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_FOTO"))))]);
+ //BA.debugLineNum = 1978;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL";
+_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]);
+ //BA.debugLineNum = 1979;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info3(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion,CAT_CL_BCREDITO,CAT_CL_TIPOCLIENTE,FOTO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_tipocliente),(Object)(_cat_cl_foto)}));
+ //BA.debugLineNum = 1982;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)}));
+ }
+};
+ //BA.debugLineNum = 1984;BA.debugLine="Listo1 = 1";
_listo1 = BA.NumberToString(1);
- //BA.debugLineNum = 1945;BA.debugLine="S_CC.Text = \"LISTO\"";
+ //BA.debugLineNum = 1985;BA.debugLine="S_CC.Text = \"LISTO\"";
_s_cc.setText(BA.ObjectToCharSequence("LISTO"));
- //BA.debugLineNum = 1947;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
+ //BA.debugLineNum = 1987;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 1949;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 1989;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 1950;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 1990;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
};
};
};
- //BA.debugLineNum = 2014;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2054;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2015;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2055;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2016;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag";
+ //BA.debugLineNum = 2056;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("hist_promos"))) {
- //BA.debugLineNum = 2017;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2057;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group273 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen273 = group273.getSize()
-;int index273 = 0;
+final anywheresoftware.b4a.BA.IterableList group289 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen289 = group289.getSize()
+;int index289 = 0;
;
-for (; index273 < groupLen273;index273++){
-_records = (Object[])(group273.Get(index273));
- //BA.debugLineNum = 2018;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col";
+for (; index289 < groupLen289;index289++){
+_records = (Object[])(group289.Get(index289));
+ //BA.debugLineNum = 2058;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col";
_hp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HP_CLIENTE"))))]);
- //BA.debugLineNum = 2019;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R";
+ //BA.debugLineNum = 2059;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R";
_hp_codigo_promocion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HP_CODIGO_PROMOCION"))))]);
- //BA.debugLineNum = 2020;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2060;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hp_cliente),(Object)(_hp_codigo_promocion)}));
}
};
- //BA.debugLineNum = 2023;BA.debugLine="If PB1.Progress = 0 Then";
+ //BA.debugLineNum = 2063;BA.debugLine="If PB1.Progress = 0 Then";
if (_pb1.getProgress()==0) {
- //BA.debugLineNum = 2024;BA.debugLine="PB1.Progress = 30";
+ //BA.debugLineNum = 2064;BA.debugLine="PB1.Progress = 30";
_pb1.setProgress((int) (30));
- //BA.debugLineNum = 2025;BA.debugLine="S_CH.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2065;BA.debugLine="S_CH.Text = \"CARGANDO\"";
_s_ch.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb1.getProgress()==30) {
- //BA.debugLineNum = 2027;BA.debugLine="PB1.Progress = 60";
+ //BA.debugLineNum = 2067;BA.debugLine="PB1.Progress = 60";
_pb1.setProgress((int) (60));
}else if(_pb1.getProgress()==60) {
- //BA.debugLineNum = 2029;BA.debugLine="PB1.Progress = 100";
+ //BA.debugLineNum = 2069;BA.debugLine="PB1.Progress = 100";
_pb1.setProgress((int) (100));
- //BA.debugLineNum = 2030;BA.debugLine="S_CH.Text = \"LISTO\"";
+ //BA.debugLineNum = 2070;BA.debugLine="S_CH.Text = \"LISTO\"";
_s_ch.setText(BA.ObjectToCharSequence("LISTO"));
};
};
};
- //BA.debugLineNum = 2035;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2075;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2036;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2076;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2037;BA.debugLine="If RESULT.Tag = \"histespecial\" Then 'query tag";
+ //BA.debugLineNum = 2077;BA.debugLine="If RESULT.Tag = \"histespecial\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("histespecial"))) {
- //BA.debugLineNum = 2038;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2078;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group292 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen292 = group292.getSize()
-;int index292 = 0;
+final anywheresoftware.b4a.BA.IterableList group308 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen308 = group308.getSize()
+;int index308 = 0;
;
-for (; index292 < groupLen292;index292++){
-_records = (Object[])(group292.Get(index292));
- //BA.debugLineNum = 2039;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column";
+for (; index308 < groupLen308;index308++){
+_records = (Object[])(group308.Get(index308));
+ //BA.debugLineNum = 2079;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column";
_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTE"))))]);
- //BA.debugLineNum = 2040;BA.debugLine="Dim PROMOCION As String = records(RESULT.Colu";
+ //BA.debugLineNum = 2080;BA.debugLine="Dim PROMOCION As String = records(RESULT.Colu";
_promocion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("PRMOCION"))))]);
- //BA.debugLineNum = 2041;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2081;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cliente),(Object)(_promocion)}));
}
};
- //BA.debugLineNum = 2044;BA.debugLine="If PB1.Progress = 0 Then";
+ //BA.debugLineNum = 2084;BA.debugLine="If PB1.Progress = 0 Then";
if (_pb1.getProgress()==0) {
- //BA.debugLineNum = 2045;BA.debugLine="PB1.Progress = 30";
+ //BA.debugLineNum = 2085;BA.debugLine="PB1.Progress = 30";
_pb1.setProgress((int) (30));
- //BA.debugLineNum = 2046;BA.debugLine="S_CH.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2086;BA.debugLine="S_CH.Text = \"CARGANDO\"";
_s_ch.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb1.getProgress()==30) {
- //BA.debugLineNum = 2048;BA.debugLine="PB1.Progress = 60";
+ //BA.debugLineNum = 2088;BA.debugLine="PB1.Progress = 60";
_pb1.setProgress((int) (60));
}else if(_pb1.getProgress()==60) {
- //BA.debugLineNum = 2050;BA.debugLine="PB1.Progress = 100";
+ //BA.debugLineNum = 2090;BA.debugLine="PB1.Progress = 100";
_pb1.setProgress((int) (100));
- //BA.debugLineNum = 2051;BA.debugLine="S_CH.Text = \"LISTO\"";
+ //BA.debugLineNum = 2091;BA.debugLine="S_CH.Text = \"LISTO\"";
_s_ch.setText(BA.ObjectToCharSequence("LISTO"));
};
};
};
- //BA.debugLineNum = 2056;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2096;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2057;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2097;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2058;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que";
+ //BA.debugLineNum = 2098;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que";
if ((_result.Tag /*Object*/ ).equals((Object)("hist_cliente_promos"))) {
- //BA.debugLineNum = 2059;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2099;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group311 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen311 = group311.getSize()
-;int index311 = 0;
+final anywheresoftware.b4a.BA.IterableList group327 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen327 = group327.getSize()
+;int index327 = 0;
;
-for (; index311 < groupLen311;index311++){
-_records = (Object[])(group311.Get(index311));
- //BA.debugLineNum = 2060;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C";
+for (; index327 < groupLen327;index327++){
+_records = (Object[])(group327.Get(index327));
+ //BA.debugLineNum = 2100;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C";
_hccp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_CLIENTE"))))]);
- //BA.debugLineNum = 2061;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col";
+ //BA.debugLineNum = 2101;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col";
_hccp_promo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_PROMO"))))]);
- //BA.debugLineNum = 2062;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu";
+ //BA.debugLineNum = 2102;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu";
_hccp_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_CANT"))))]);
- //BA.debugLineNum = 2063;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2103;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_CLIENTE_CANT_PROMOS(HCCP_CLIENTE, HCCP_PROMO, HCCP_CANT) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hccp_cliente),(Object)(_hccp_promo),(Object)(_hccp_cant)}));
}
};
};
};
- //BA.debugLineNum = 2069;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2109;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2070;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2110;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2071;BA.debugLine="If RESULT.Tag = \"promodesp\" Then 'query tag";
+ //BA.debugLineNum = 2111;BA.debugLine="If RESULT.Tag = \"promodesp\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("promodesp"))) {
- //BA.debugLineNum = 2072;BA.debugLine="For Each records() As Object In RESULT.Rows";
-{
-final anywheresoftware.b4a.BA.IterableList group322 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen322 = group322.getSize()
-;int index322 = 0;
-;
-for (; index322 < groupLen322;index322++){
-_records = (Object[])(group322.Get(index322));
- //BA.debugLineNum = 2073;BA.debugLine="Dim CAT_PD_ALMACEN As String = records(RESULT";
-_cat_pd_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_ALMACEN"))))]);
- //BA.debugLineNum = 2074;BA.debugLine="Dim CAT_PD_COD_PROMO As String = records(RESU";
-_cat_pd_cod_promo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_COD_PROMO"))))]);
- //BA.debugLineNum = 2075;BA.debugLine="Dim CAT_PD_RANGO As String = records(RESULT.C";
-_cat_pd_rango = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_RANGO"))))]);
- //BA.debugLineNum = 2076;BA.debugLine="Dim CAT_PD_RANGO2 As String = records(RESULT.";
-_cat_pd_rango2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_RANGO2"))))]);
- //BA.debugLineNum = 2077;BA.debugLine="Dim CAT_PD_VIGENCIA As String = records(RESUL";
-_cat_pd_vigencia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_VIGENCIA"))))]);
- //BA.debugLineNum = 2078;BA.debugLine="Dim CAT_PD_DESCUENTO As String = records(RESU";
-_cat_pd_descuento = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_DESCUENTO"))))]);
- //BA.debugLineNum = 2079;BA.debugLine="Dim CAT_PD_PRODUCTO As String = records(RESUL";
-_cat_pd_producto = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_PRODUCTO"))))]);
- //BA.debugLineNum = 2080;BA.debugLine="Dim CAT_PD_TIER As String = records(RESULT.Co";
-_cat_pd_tier = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_TIER"))))]);
- //BA.debugLineNum = 2081;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_PROMOS_DESCUENTOS(CAT_PD_ALMACEN, CAT_PD_COD_PROMO, CAT_PD_RANGO, CAT_PD_VIGENCIA, CAT_PD_DESCUENTO, CAT_PD_PRODUCTO, CAT_PD_TIER,CAT_PD_RANGO2) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pd_almacen),(Object)(_cat_pd_cod_promo),(Object)(_cat_pd_rango),(Object)(_cat_pd_vigencia),(Object)(_cat_pd_descuento),(Object)(_cat_pd_producto),(Object)(_cat_pd_tier),(Object)(_cat_pd_rango2)}));
- }
-};
- };
- };
- //BA.debugLineNum = 2086;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
-if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2087;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
-_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2088;BA.debugLine="If RESULT.Tag = \"HIST_PROM\" Then 'query tag";
-if ((_result.Tag /*Object*/ ).equals((Object)("HIST_PROM"))) {
- //BA.debugLineNum = 2090;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2112;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
final anywheresoftware.b4a.BA.IterableList group338 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen338 = group338.getSize()
@@ -4153,904 +4142,942 @@ final int groupLen338 = group338.getSize()
;
for (; index338 < groupLen338;index338++){
_records = (Object[])(group338.Get(index338));
- //BA.debugLineNum = 2091;BA.debugLine="Dim HVD_CLIENTE2 As String = records(RESULT.C";
+ //BA.debugLineNum = 2113;BA.debugLine="Dim CAT_PD_ALMACEN As String = records(RESULT";
+_cat_pd_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_ALMACEN"))))]);
+ //BA.debugLineNum = 2114;BA.debugLine="Dim CAT_PD_COD_PROMO As String = records(RESU";
+_cat_pd_cod_promo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_COD_PROMO"))))]);
+ //BA.debugLineNum = 2115;BA.debugLine="Dim CAT_PD_RANGO As String = records(RESULT.C";
+_cat_pd_rango = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_RANGO"))))]);
+ //BA.debugLineNum = 2116;BA.debugLine="Dim CAT_PD_RANGO2 As String = records(RESULT.";
+_cat_pd_rango2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_RANGO2"))))]);
+ //BA.debugLineNum = 2117;BA.debugLine="Dim CAT_PD_VIGENCIA As String = records(RESUL";
+_cat_pd_vigencia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_VIGENCIA"))))]);
+ //BA.debugLineNum = 2118;BA.debugLine="Dim CAT_PD_DESCUENTO As String = records(RESU";
+_cat_pd_descuento = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_DESCUENTO"))))]);
+ //BA.debugLineNum = 2119;BA.debugLine="Dim CAT_PD_PRODUCTO As String = records(RESUL";
+_cat_pd_producto = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_PRODUCTO"))))]);
+ //BA.debugLineNum = 2120;BA.debugLine="Dim CAT_PD_TIER As String = records(RESULT.Co";
+_cat_pd_tier = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PD_TIER"))))]);
+ //BA.debugLineNum = 2121;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_PROMOS_DESCUENTOS(CAT_PD_ALMACEN, CAT_PD_COD_PROMO, CAT_PD_RANGO, CAT_PD_VIGENCIA, CAT_PD_DESCUENTO, CAT_PD_PRODUCTO, CAT_PD_TIER,CAT_PD_RANGO2) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pd_almacen),(Object)(_cat_pd_cod_promo),(Object)(_cat_pd_rango),(Object)(_cat_pd_vigencia),(Object)(_cat_pd_descuento),(Object)(_cat_pd_producto),(Object)(_cat_pd_tier),(Object)(_cat_pd_rango2)}));
+ }
+};
+ };
+ };
+ //BA.debugLineNum = 2126;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+if ((_job._jobname /*String*/ ).equals("DBRequest")) {
+ //BA.debugLineNum = 2127;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
+ //BA.debugLineNum = 2128;BA.debugLine="If RESULT.Tag = \"HIST_PROM\" Then 'query tag";
+if ((_result.Tag /*Object*/ ).equals((Object)("HIST_PROM"))) {
+ //BA.debugLineNum = 2130;BA.debugLine="For Each records() As Object In RESULT.Rows";
+{
+final anywheresoftware.b4a.BA.IterableList group354 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen354 = group354.getSize()
+;int index354 = 0;
+;
+for (; index354 < groupLen354;index354++){
+_records = (Object[])(group354.Get(index354));
+ //BA.debugLineNum = 2131;BA.debugLine="Dim HVD_CLIENTE2 As String = records(RESULT.C";
_hvd_cliente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]);
- //BA.debugLineNum = 2092;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2132;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROMO_ESP(HVD_CLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente2)}));
}
};
};
};
- //BA.debugLineNum = 2098;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2138;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2099;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2139;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2100;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer";
+ //BA.debugLineNum = 2140;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer";
if ((_result.Tag /*Object*/ ).equals((Object)("HIST_MARCAS_CUOTAS"))) {
- //BA.debugLineNum = 2101;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2141;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group347 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen347 = group347.getSize()
-;int index347 = 0;
+final anywheresoftware.b4a.BA.IterableList group363 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen363 = group363.getSize()
+;int index363 = 0;
;
-for (; index347 < groupLen347;index347++){
-_records = (Object[])(group347.Get(index347));
- //BA.debugLineNum = 2102;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu";
+for (; index363 < groupLen363;index363++){
+_records = (Object[])(group363.Get(index363));
+ //BA.debugLineNum = 2142;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu";
_hmc_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HMC_MARCA"))))]);
- //BA.debugLineNum = 2103;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu";
+ //BA.debugLineNum = 2143;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu";
_hmc_total = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HMC_TOTAL"))))]);
- //BA.debugLineNum = 2104;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2144;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_MARCAS_CUOTAS(HMC_MARCA, HMC_TOTAL) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hmc_marca),(Object)(_hmc_total)}));
}
};
};
};
- //BA.debugLineNum = 2110;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2150;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2111;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2151;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2112;BA.debugLine="If RESULT.Tag = \"coordenadas\" Then 'query tag";
+ //BA.debugLineNum = 2152;BA.debugLine="If RESULT.Tag = \"coordenadas\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("coordenadas"))) {
- //BA.debugLineNum = 2113;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2153;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group357 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen357 = group357.getSize()
-;int index357 = 0;
+final anywheresoftware.b4a.BA.IterableList group373 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen373 = group373.getSize()
+;int index373 = 0;
;
-for (; index357 < groupLen357;index357++){
-_records = (Object[])(group357.Get(index357));
- //BA.debugLineNum = 2114;BA.debugLine="Dim latitud As String = records(RESULT.Column";
+for (; index373 < groupLen373;index373++){
+_records = (Object[])(group373.Get(index373));
+ //BA.debugLineNum = 2154;BA.debugLine="Dim latitud As String = records(RESULT.Column";
_latitud = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LATITUD"))))]);
- //BA.debugLineNum = 2115;BA.debugLine="Dim longitud As String = records(RESULT.Colum";
+ //BA.debugLineNum = 2155;BA.debugLine="Dim longitud As String = records(RESULT.Colum";
_longitud = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_LONGITUD"))))]);
- //BA.debugLineNum = 2116;BA.debugLine="Dim GEOCERCA As String = records(RESULT.Colum";
+ //BA.debugLineNum = 2156;BA.debugLine="Dim GEOCERCA As String = records(RESULT.Colum";
_geocerca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_GEOCERCA"))))]);
- //BA.debugLineNum = 2117;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2157;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("LATITUD"),(Object)(_latitud)}));
- //BA.debugLineNum = 2118;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2158;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("LONGITUD"),(Object)(_longitud)}));
- //BA.debugLineNum = 2119;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2159;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("GEOCERCA"),(Object)(_geocerca)}));
}
};
};
};
- //BA.debugLineNum = 2125;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2165;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2126;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2166;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2127;BA.debugLine="If RESULT.Tag = \"password\" Then 'query tag";
+ //BA.debugLineNum = 2167;BA.debugLine="If RESULT.Tag = \"password\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("password"))) {
- //BA.debugLineNum = 2128;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2168;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group370 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen370 = group370.getSize()
-;int index370 = 0;
+final anywheresoftware.b4a.BA.IterableList group386 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen386 = group386.getSize()
+;int index386 = 0;
;
-for (; index370 < groupLen370;index370++){
-_records = (Object[])(group370.Get(index370));
- //BA.debugLineNum = 2129;BA.debugLine="Dim password As String = records(RESULT.Colum";
+for (; index386 < groupLen386;index386++){
+_records = (Object[])(group386.Get(index386));
+ //BA.debugLineNum = 2169;BA.debugLine="Dim password As String = records(RESULT.Colum";
_password = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_VALOR"))))]);
- //BA.debugLineNum = 2130;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2170;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("pasword"),(Object)(_password)}));
}
};
};
};
- //BA.debugLineNum = 2136;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2176;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2137;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2177;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2138;BA.debugLine="If RESULT.Tag = \"KMT_VENTAFUTURA\" Then 'query t";
+ //BA.debugLineNum = 2178;BA.debugLine="If RESULT.Tag = \"KMT_VENTAFUTURA\" Then 'query t";
if ((_result.Tag /*Object*/ ).equals((Object)("KMT_VENTAFUTURA"))) {
- //BA.debugLineNum = 2139;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2179;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group379 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen379 = group379.getSize()
-;int index379 = 0;
+final anywheresoftware.b4a.BA.IterableList group395 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen395 = group395.getSize()
+;int index395 = 0;
;
-for (; index379 < groupLen379;index379++){
-_records = (Object[])(group379.Get(index379));
- //BA.debugLineNum = 2140;BA.debugLine="Dim CAT_RU_VENTAF As String = records(RESULT.";
+for (; index395 < groupLen395;index395++){
+_records = (Object[])(group395.Get(index395));
+ //BA.debugLineNum = 2180;BA.debugLine="Dim CAT_RU_VENTAF As String = records(RESULT.";
_cat_ru_ventaf = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_RU_VENTAF"))))]);
- //BA.debugLineNum = 2141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2181;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VENTAFUTURA"),(Object)(_cat_ru_ventaf)}));
}
};
};
};
- //BA.debugLineNum = 2148;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2188;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2149;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2189;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2150;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query";
+ //BA.debugLineNum = 2190;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query";
if ((_result.Tag /*Object*/ ).equals((Object)("hist_comp_promos"))) {
- //BA.debugLineNum = 2151;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2191;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group388 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen388 = group388.getSize()
-;int index388 = 0;
+final anywheresoftware.b4a.BA.IterableList group404 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen404 = group404.getSize()
+;int index404 = 0;
;
-for (; index388 < groupLen388;index388++){
-_records = (Object[])(group388.Get(index388));
- //BA.debugLineNum = 2152;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu";
+for (; index404 < groupLen404;index404++){
+_records = (Object[])(group404.Get(index404));
+ //BA.debugLineNum = 2192;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu";
_cat_pa_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_ID"))))]);
- //BA.debugLineNum = 2153;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT";
+ //BA.debugLineNum = 2193;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT";
_cat_pa_maxprom = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROM"))))]);
- //BA.debugLineNum = 2154;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES";
+ //BA.debugLineNum = 2194;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES";
_cat_pa_maxpromrec = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMREC"))))]);
- //BA.debugLineNum = 2155;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE";
+ //BA.debugLineNum = 2195;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE";
_cat_pa_maxpromclie = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMCLIE"))))]);
- //BA.debugLineNum = 2156;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2196;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pa_id),(Object)(_cat_pa_maxprom),(Object)(_cat_pa_maxpromrec),(Object)(_cat_pa_maxpromclie)}));
}
};
- //BA.debugLineNum = 2158;BA.debugLine="If PB1.Progress = 0 Then";
+ //BA.debugLineNum = 2198;BA.debugLine="If PB1.Progress = 0 Then";
if (_pb1.getProgress()==0) {
- //BA.debugLineNum = 2159;BA.debugLine="PB1.Progress = 30";
+ //BA.debugLineNum = 2199;BA.debugLine="PB1.Progress = 30";
_pb1.setProgress((int) (30));
- //BA.debugLineNum = 2160;BA.debugLine="S_CH.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2200;BA.debugLine="S_CH.Text = \"CARGANDO\"";
_s_ch.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb1.getProgress()==30) {
- //BA.debugLineNum = 2162;BA.debugLine="PB1.Progress = 60";
+ //BA.debugLineNum = 2202;BA.debugLine="PB1.Progress = 60";
_pb1.setProgress((int) (60));
}else if(_pb1.getProgress()==60) {
- //BA.debugLineNum = 2164;BA.debugLine="PB1.Progress = 100";
+ //BA.debugLineNum = 2204;BA.debugLine="PB1.Progress = 100";
_pb1.setProgress((int) (100));
- //BA.debugLineNum = 2165;BA.debugLine="S_CH.Text = \"LISTO\"";
+ //BA.debugLineNum = 2205;BA.debugLine="S_CH.Text = \"LISTO\"";
_s_ch.setText(BA.ObjectToCharSequence("LISTO"));
};
};
};
- //BA.debugLineNum = 2182;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2222;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2183;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2223;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2184;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag";
+ //BA.debugLineNum = 2224;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("marcas_rutas"))) {
- //BA.debugLineNum = 2185;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2225;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group409 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen409 = group409.getSize()
-;int index409 = 0;
+final anywheresoftware.b4a.BA.IterableList group425 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen425 = group425.getSize()
+;int index425 = 0;
;
-for (; index409 < groupLen409;index409++){
-_records = (Object[])(group409.Get(index409));
- //BA.debugLineNum = 2186;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu";
+for (; index425 < groupLen425;index425++){
+_records = (Object[])(group425.Get(index425));
+ //BA.debugLineNum = 2226;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu";
_hvd_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_MARCA"))))]);
- //BA.debugLineNum = 2187;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum";
+ //BA.debugLineNum = 2227;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum";
_clientes = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTES"))))]);
- //BA.debugLineNum = 2188;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2228;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO MARCAS_RUTAS(HVD_MARCA, CLIENTES) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_marca),(Object)(_clientes)}));
}
};
};
};
- //BA.debugLineNum = 2217;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2257;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2218;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2258;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2219;BA.debugLine="If RESULT.Tag = \"COMISIONES\" Then 'query tag";
+ //BA.debugLineNum = 2259;BA.debugLine="If RESULT.Tag = \"COMISIONES\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("COMISIONES"))) {
- //BA.debugLineNum = 2220;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2260;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group419 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen419 = group419.getSize()
-;int index419 = 0;
+final anywheresoftware.b4a.BA.IterableList group435 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen435 = group435.getSize()
+;int index435 = 0;
;
-for (; index419 < groupLen419;index419++){
-_records = (Object[])(group419.Get(index419));
- //BA.debugLineNum = 2221;BA.debugLine="Dim HCM_TOTAL_V As String = records(RESULT.Co";
+for (; index435 < groupLen435;index435++){
+_records = (Object[])(group435.Get(index435));
+ //BA.debugLineNum = 2261;BA.debugLine="Dim HCM_TOTAL_V As String = records(RESULT.Co";
_hcm_total_v = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_V"))))]);
- //BA.debugLineNum = 2222;BA.debugLine="Dim HCM_TOTAL_VIVE As String = records(RESULT";
+ //BA.debugLineNum = 2262;BA.debugLine="Dim HCM_TOTAL_VIVE As String = records(RESULT";
_hcm_total_vive = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_VIVE"))))]);
- //BA.debugLineNum = 2223;BA.debugLine="Dim HCM_TOTAL_GUNA As String = records(RESULT";
+ //BA.debugLineNum = 2263;BA.debugLine="Dim HCM_TOTAL_GUNA As String = records(RESULT";
_hcm_total_guna = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_GUNA"))))]);
- //BA.debugLineNum = 2224;BA.debugLine="Dim HCM_TOTAL_BEB As String = records(RESULT.";
+ //BA.debugLineNum = 2264;BA.debugLine="Dim HCM_TOTAL_BEB As String = records(RESULT.";
_hcm_total_beb = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_BEB"))))]);
- //BA.debugLineNum = 2225;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2265;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_COMISIONES_MOVIL (HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA , HCM_TOTAL_BEB) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hcm_total_v),(Object)(_hcm_total_vive),(Object)(_hcm_total_guna),(Object)(_hcm_total_beb)}));
}
};
};
};
- //BA.debugLineNum = 2230;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2270;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2231;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2271;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2232;BA.debugLine="If RESULT.Tag = \"ENCUESTA_CLIENTE\" Then 'query";
+ //BA.debugLineNum = 2272;BA.debugLine="If RESULT.Tag = \"ENCUESTA_CLIENTE\" Then 'query";
if ((_result.Tag /*Object*/ ).equals((Object)("ENCUESTA_CLIENTE"))) {
- //BA.debugLineNum = 2233;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2273;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group431 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen431 = group431.getSize()
-;int index431 = 0;
+final anywheresoftware.b4a.BA.IterableList group447 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen447 = group447.getSize()
+;int index447 = 0;
;
-for (; index431 < groupLen431;index431++){
-_records = (Object[])(group431.Get(index431));
- //BA.debugLineNum = 2234;BA.debugLine="Dim HEC_CLIENTE As String = records(RESULT.Co";
+for (; index447 < groupLen447;index447++){
+_records = (Object[])(group447.Get(index447));
+ //BA.debugLineNum = 2274;BA.debugLine="Dim HEC_CLIENTE As String = records(RESULT.Co";
_hec_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HEC_CLIENTE"))))]);
- //BA.debugLineNum = 2235;BA.debugLine="Dim HEC_MODULO As String = records(RESULT.Col";
+ //BA.debugLineNum = 2275;BA.debugLine="Dim HEC_MODULO As String = records(RESULT.Col";
_hec_modulo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HEC_MODULO"))))]);
- //BA.debugLineNum = 2236;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2276;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA_CLIENTE (HEC_CLIENTE , HEC_MODULO) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hec_cliente),(Object)(_hec_modulo)}));
}
};
};
};
- //BA.debugLineNum = 2241;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2281;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2242;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2282;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2243;BA.debugLine="If RESULT.Tag = \"promoesp\" Then 'query tag";
+ //BA.debugLineNum = 2283;BA.debugLine="If RESULT.Tag = \"promoesp\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("promoesp"))) {
- //BA.debugLineNum = 2244;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr";
+ //BA.debugLineNum = 2284;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_PROMO_ESP");
- //BA.debugLineNum = 2245;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2285;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group442 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen442 = group442.getSize()
-;int index442 = 0;
+final anywheresoftware.b4a.BA.IterableList group458 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen458 = group458.getSize()
+;int index458 = 0;
;
-for (; index442 < groupLen442;index442++){
-_records = (Object[])(group442.Get(index442));
- //BA.debugLineNum = 2246;BA.debugLine="Dim CAT_PE_ID As String = records(RESULT.Colu";
+for (; index458 < groupLen458;index458++){
+_records = (Object[])(group458.Get(index458));
+ //BA.debugLineNum = 2286;BA.debugLine="Dim CAT_PE_ID As String = records(RESULT.Colu";
_cat_pe_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PE_ID"))))]);
- //BA.debugLineNum = 2247;BA.debugLine="Dim CAT_PE_IDPROMO As String = records(RESULT";
+ //BA.debugLineNum = 2287;BA.debugLine="Dim CAT_PE_IDPROMO As String = records(RESULT";
_cat_pe_idpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PE_IDPROMO"))))]);
- //BA.debugLineNum = 2248;BA.debugLine="Dim CAT_PE_MONTO As String = records(RESULT.C";
+ //BA.debugLineNum = 2288;BA.debugLine="Dim CAT_PE_MONTO As String = records(RESULT.C";
_cat_pe_monto = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PE_MONTO"))))]);
- //BA.debugLineNum = 2249;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2289;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_PROMO_ESP(CAT_PE_ID, CAT_PE_IDPROMO, CAT_PE_MONTO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pe_id),(Object)(_cat_pe_idpromo),(Object)(_cat_pe_monto)}));
}
};
};
};
- //BA.debugLineNum = 2255;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2295;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2256;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2296;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2257;BA.debugLine="If RESULT.Tag = \"HIST_ENCUESTA2\" Then 'query ta";
+ //BA.debugLineNum = 2297;BA.debugLine="If RESULT.Tag = \"HIST_ENCUESTA2\" Then 'query ta";
if ((_result.Tag /*Object*/ ).equals((Object)("HIST_ENCUESTA2"))) {
- //BA.debugLineNum = 2258;BA.debugLine="B4XPages.MainPage.skmt.BeginTransaction";
+ //BA.debugLineNum = 2298;BA.debugLine="B4XPages.MainPage.skmt.BeginTransaction";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .BeginTransaction();
- //BA.debugLineNum = 2259;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2299;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group454 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen454 = group454.getSize()
-;int index454 = 0;
+final anywheresoftware.b4a.BA.IterableList group470 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen470 = group470.getSize()
+;int index470 = 0;
;
-for (; index454 < groupLen454;index454++){
-_records = (Object[])(group454.Get(index454));
- //BA.debugLineNum = 2260;BA.debugLine="Dim HE_CLIENTE As String = records(RESULT.Col";
+for (; index470 < groupLen470;index470++){
+_records = (Object[])(group470.Get(index470));
+ //BA.debugLineNum = 2300;BA.debugLine="Dim HE_CLIENTE As String = records(RESULT.Col";
_he_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HE_CLIENTE"))))]);
- //BA.debugLineNum = 2261;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2301;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_ENCUESTA2(HE_CLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_he_cliente)}));
}
};
- //BA.debugLineNum = 2263;BA.debugLine="B4XPages.MainPage.skmt.TransactionSuccessful";
+ //BA.debugLineNum = 2303;BA.debugLine="B4XPages.MainPage.skmt.TransactionSuccessful";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .TransactionSuccessful();
- //BA.debugLineNum = 2264;BA.debugLine="B4XPages.MainPage.skmt.EndTransaction";
+ //BA.debugLineNum = 2304;BA.debugLine="B4XPages.MainPage.skmt.EndTransaction";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .EndTransaction();
};
};
- //BA.debugLineNum = 2268;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2308;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2269;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2309;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2270;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag";
+ //BA.debugLineNum = 2310;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) {
- //BA.debugLineNum = 2271;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
+ //BA.debugLineNum = 2311;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
if (_pb2.getProgress()<30) {
_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));};
- //BA.debugLineNum = 2272;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2312;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group466 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen466 = group466.getSize()
-;int index466 = 0;
+final anywheresoftware.b4a.BA.IterableList group482 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen482 = group482.getSize()
+;int index482 = 0;
;
-for (; index466 < groupLen466;index466++){
-_records = (Object[])(group466.Get(index466));
- //BA.debugLineNum = 2273;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
+for (; index482 < groupLen482;index482++){
+_records = (Object[])(group482.Get(index482));
+ //BA.debugLineNum = 2313;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
_cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]);
- //BA.debugLineNum = 2274;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
+ //BA.debugLineNum = 2314;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
_cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]);
- //BA.debugLineNum = 2275;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
+ //BA.debugLineNum = 2315;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
_cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]);
- //BA.debugLineNum = 2276;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
+ //BA.debugLineNum = 2316;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
_cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]);
- //BA.debugLineNum = 2277;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
+ //BA.debugLineNum = 2317;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
_cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]);
- //BA.debugLineNum = 2278;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
+ //BA.debugLineNum = 2318;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
_cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]);
- //BA.debugLineNum = 2279;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
+ //BA.debugLineNum = 2319;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
_cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]);
- //BA.debugLineNum = 2280;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
+ //BA.debugLineNum = 2320;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
_cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]);
- //BA.debugLineNum = 2281;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
+ //BA.debugLineNum = 2321;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
_cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]);
- //BA.debugLineNum = 2282;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
+ //BA.debugLineNum = 2322;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]);
- //BA.debugLineNum = 2283;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
+ //BA.debugLineNum = 2323;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
_cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))]));
- //BA.debugLineNum = 2284;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col";
+ //BA.debugLineNum = 2324;BA.debugLine="Dim CAT_GP_DEV As String = records(RESULT.Col";
_cat_gp_dev = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_DEV"))))]);
- //BA.debugLineNum = 2285;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
+ //BA.debugLineNum = 2325;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))]));
- //BA.debugLineNum = 2286;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
+ //BA.debugLineNum = 2326;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
_cat_gp_iniciativa = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_INICIATIVA"))))]));
- //BA.debugLineNum = 2287;BA.debugLine="Dim CAT_LISTAPRECIO As String = records(RESUL";
+ //BA.debugLineNum = 2327;BA.debugLine="Dim CAT_LISTAPRECIO As String = records(RESUL";
_cat_listaprecio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LISTAPRECIO"))))]);
- //BA.debugLineNum = 2288;BA.debugLine="Dim CAT_GP_CONVERSION3 As String = records(RE";
+ //BA.debugLineNum = 2328;BA.debugLine="Dim CAT_GP_CONVERSION3 As String = records(RE";
_cat_gp_conversion3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CONVERSION3"))))]);
- //BA.debugLineNum = 2289;BA.debugLine="Dim CAT_GP_CONVERSION2 As String = records(RE";
+ //BA.debugLineNum = 2329;BA.debugLine="Dim CAT_GP_CONVERSION2 As String = records(RE";
_cat_gp_conversion2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CONVERSION2"))))]);
- //BA.debugLineNum = 2293;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2333;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_LISTAPRECIO, CAT_GP_DEV, CAT_GP_CONVERSION3,CAT_GP_CONVERSION2) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_listaprecio),(Object)(_cat_gp_dev),(Object)(_cat_gp_conversion3),(Object)(_cat_gp_conversion2)}));
}
};
- //BA.debugLineNum = 2295;BA.debugLine="Listo2=1";
+ //BA.debugLineNum = 2335;BA.debugLine="Listo2=1";
_listo2 = BA.NumberToString(1);
- //BA.debugLineNum = 2296;BA.debugLine="If PB2.Progress = 0 Then";
+ //BA.debugLineNum = 2336;BA.debugLine="If PB2.Progress = 0 Then";
if (_pb2.getProgress()==0) {
- //BA.debugLineNum = 2297;BA.debugLine="PB2.Progress = 30";
+ //BA.debugLineNum = 2337;BA.debugLine="PB2.Progress = 30";
_pb2.setProgress((int) (30));
- //BA.debugLineNum = 2298;BA.debugLine="S_CP.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2338;BA.debugLine="S_CP.Text = \"CARGANDO\"";
_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb2.getProgress()==30) {
- //BA.debugLineNum = 2300;BA.debugLine="PB2.Progress = 60";
+ //BA.debugLineNum = 2340;BA.debugLine="PB2.Progress = 60";
_pb2.setProgress((int) (60));
}else if(_pb2.getProgress()==60) {
- //BA.debugLineNum = 2302;BA.debugLine="PB2.Progress = 100";
+ //BA.debugLineNum = 2342;BA.debugLine="PB2.Progress = 100";
_pb2.setProgress((int) (100));
- //BA.debugLineNum = 2303;BA.debugLine="S_CP.Text = \"LISTO\"";
+ //BA.debugLineNum = 2343;BA.debugLine="S_CP.Text = \"LISTO\"";
_s_cp.setText(BA.ObjectToCharSequence("LISTO"));
};
- //BA.debugLineNum = 2306;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
+ //BA.debugLineNum = 2346;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2308;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2348;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2309;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2349;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
};
};
};
- //BA.debugLineNum = 2314;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2354;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2315;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2355;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2316;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag";
+ //BA.debugLineNum = 2356;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod2"))) {
- //BA.debugLineNum = 2317;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
+ //BA.debugLineNum = 2357;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND";
if (_pb2.getProgress()<30) {
_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));};
- //BA.debugLineNum = 2318;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2358;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group506 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen506 = group506.getSize()
-;int index506 = 0;
+final anywheresoftware.b4a.BA.IterableList group522 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen522 = group522.getSize()
+;int index522 = 0;
;
-for (; index506 < groupLen506;index506++){
-_records = (Object[])(group506.Get(index506));
- //BA.debugLineNum = 2319;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
+for (; index522 < groupLen522;index522++){
+_records = (Object[])(group522.Get(index522));
+ //BA.debugLineNum = 2359;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
_cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]);
- //BA.debugLineNum = 2320;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
+ //BA.debugLineNum = 2360;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
_cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]);
- //BA.debugLineNum = 2321;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
+ //BA.debugLineNum = 2361;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
_cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]);
- //BA.debugLineNum = 2322;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
+ //BA.debugLineNum = 2362;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
_cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]);
- //BA.debugLineNum = 2323;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
+ //BA.debugLineNum = 2363;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
_cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]);
- //BA.debugLineNum = 2324;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
+ //BA.debugLineNum = 2364;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
_cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]);
- //BA.debugLineNum = 2325;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
+ //BA.debugLineNum = 2365;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
_cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]);
- //BA.debugLineNum = 2326;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
+ //BA.debugLineNum = 2366;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
_cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]);
- //BA.debugLineNum = 2327;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
+ //BA.debugLineNum = 2367;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
_cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]);
- //BA.debugLineNum = 2328;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
+ //BA.debugLineNum = 2368;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]);
- //BA.debugLineNum = 2329;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
+ //BA.debugLineNum = 2369;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
_cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))]));
- //BA.debugLineNum = 2331;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
+ //BA.debugLineNum = 2371;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))]));
- //BA.debugLineNum = 2332;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
+ //BA.debugLineNum = 2372;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT";
_cat_gp_iniciativa = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_INICIATIVA"))))]));
- //BA.debugLineNum = 2333;BA.debugLine="Dim CAT_GP_CODPROMO As String = records(RESUL";
+ //BA.debugLineNum = 2373;BA.debugLine="Dim CAT_GP_CODPROMO As String = records(RESUL";
_cat_gp_codpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CODPROMO"))))]);
- //BA.debugLineNum = 2336;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2376;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_GP_CODPROMO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_gp_codpromo)}));
}
};
- //BA.debugLineNum = 2338;BA.debugLine="Listo2=1";
+ //BA.debugLineNum = 2378;BA.debugLine="Listo2=1";
_listo2 = BA.NumberToString(1);
- //BA.debugLineNum = 2339;BA.debugLine="If PB2.Progress = 0 Then";
+ //BA.debugLineNum = 2379;BA.debugLine="If PB2.Progress = 0 Then";
if (_pb2.getProgress()==0) {
- //BA.debugLineNum = 2340;BA.debugLine="PB2.Progress = 30";
+ //BA.debugLineNum = 2380;BA.debugLine="PB2.Progress = 30";
_pb2.setProgress((int) (30));
- //BA.debugLineNum = 2341;BA.debugLine="S_CP.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2381;BA.debugLine="S_CP.Text = \"CARGANDO\"";
_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb2.getProgress()==30) {
- //BA.debugLineNum = 2343;BA.debugLine="PB2.Progress = 60";
+ //BA.debugLineNum = 2383;BA.debugLine="PB2.Progress = 60";
_pb2.setProgress((int) (60));
}else if(_pb2.getProgress()==60) {
- //BA.debugLineNum = 2345;BA.debugLine="PB2.Progress = 100";
+ //BA.debugLineNum = 2385;BA.debugLine="PB2.Progress = 100";
_pb2.setProgress((int) (100));
- //BA.debugLineNum = 2346;BA.debugLine="S_CP.Text = \"LISTO\"";
+ //BA.debugLineNum = 2386;BA.debugLine="S_CP.Text = \"LISTO\"";
_s_cp.setText(BA.ObjectToCharSequence("LISTO"));
};
- //BA.debugLineNum = 2349;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
+ //BA.debugLineNum = 2389;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2351;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2391;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2352;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2392;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
};
};
};
- //BA.debugLineNum = 2357;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2397;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2358;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2398;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2359;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag";
+ //BA.debugLineNum = 2399;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) {
- //BA.debugLineNum = 2360;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2400;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group542 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen542 = group542.getSize()
-;int index542 = 0;
+final anywheresoftware.b4a.BA.IterableList group558 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen558 = group558.getSize()
+;int index558 = 0;
;
-for (; index542 < groupLen542;index542++){
-_records = (Object[])(group542.Get(index542));
- //BA.debugLineNum = 2361;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
+for (; index558 < groupLen558;index558++){
+_records = (Object[])(group558.Get(index558));
+ //BA.debugLineNum = 2401;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
_cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]);
- //BA.debugLineNum = 2362;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
+ //BA.debugLineNum = 2402;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
_cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]);
- //BA.debugLineNum = 2363;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
+ //BA.debugLineNum = 2403;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
_cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]);
- //BA.debugLineNum = 2364;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
+ //BA.debugLineNum = 2404;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
_cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]);
- //BA.debugLineNum = 2365;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
+ //BA.debugLineNum = 2405;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
_cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]);
- //BA.debugLineNum = 2366;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
+ //BA.debugLineNum = 2406;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
_cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]);
- //BA.debugLineNum = 2367;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
+ //BA.debugLineNum = 2407;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
_cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]);
- //BA.debugLineNum = 2368;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
+ //BA.debugLineNum = 2408;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
_cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]);
- //BA.debugLineNum = 2369;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
+ //BA.debugLineNum = 2409;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
_cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]);
- //BA.debugLineNum = 2370;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
+ //BA.debugLineNum = 2410;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]);
- //BA.debugLineNum = 2371;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
+ //BA.debugLineNum = 2411;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
_cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))]));
- //BA.debugLineNum = 2372;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
+ //BA.debugLineNum = 2412;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))]));
- //BA.debugLineNum = 2373;BA.debugLine="Dim CAT_PA_BSEGMENTA As String = records(RESU";
+ //BA.debugLineNum = 2413;BA.debugLine="Dim CAT_PA_BSEGMENTA As String = records(RESU";
_cat_pa_bsegmenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_BSEGMENTA"))))]);
- //BA.debugLineNum = 2374;BA.debugLine="Dim CAT_PA_SEGMENTAV As String = records(RESU";
+ //BA.debugLineNum = 2414;BA.debugLine="Dim CAT_PA_SEGMENTAV As String = records(RESU";
_cat_pa_segmentav = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_SEGMENTAV"))))]);
- //BA.debugLineNum = 2375;BA.debugLine="CAT_GP_TIPOPROD = \"5\"";
+ //BA.debugLineNum = 2415;BA.debugLine="CAT_GP_TIPOPROD = \"5\"";
_cat_gp_tipoprod = (int)(Double.parseDouble("5"));
- //BA.debugLineNum = 2376;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then";
+ //BA.debugLineNum = 2416;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then";
if ((_cat_gp_id).equals("PAQUNI003")) {
- //BA.debugLineNum = 2377;BA.debugLine="CAT_GP_ALMACEN = 60";
+ //BA.debugLineNum = 2417;BA.debugLine="CAT_GP_ALMACEN = 60";
_cat_gp_almacen = (int) (60);
};
- //BA.debugLineNum = 2379;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2419;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_PA_BSEGMENTA,CAT_PA_SEGMENTAV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_pa_bsegmenta),(Object)(_cat_pa_segmentav)}));
- //BA.debugLineNum = 2383;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2423;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_PA_BSEGMENTA,CAT_PA_SEGMENTAV) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_pa_bsegmenta),(Object)(_cat_pa_segmentav)}));
}
};
- //BA.debugLineNum = 2386;BA.debugLine="If PB2.Progress = 0 Then";
+ //BA.debugLineNum = 2426;BA.debugLine="If PB2.Progress = 0 Then";
if (_pb2.getProgress()==0) {
- //BA.debugLineNum = 2387;BA.debugLine="PB2.Progress = 30";
+ //BA.debugLineNum = 2427;BA.debugLine="PB2.Progress = 30";
_pb2.setProgress((int) (30));
- //BA.debugLineNum = 2388;BA.debugLine="S_CP.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2428;BA.debugLine="S_CP.Text = \"CARGANDO\"";
_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb2.getProgress()==30) {
- //BA.debugLineNum = 2390;BA.debugLine="PB2.Progress = 60";
+ //BA.debugLineNum = 2430;BA.debugLine="PB2.Progress = 60";
_pb2.setProgress((int) (60));
}else if(_pb2.getProgress()==60) {
- //BA.debugLineNum = 2392;BA.debugLine="PB2.Progress = 100";
+ //BA.debugLineNum = 2432;BA.debugLine="PB2.Progress = 100";
_pb2.setProgress((int) (100));
- //BA.debugLineNum = 2393;BA.debugLine="S_CP.Text = \"LISTO\"";
+ //BA.debugLineNum = 2433;BA.debugLine="S_CP.Text = \"LISTO\"";
_s_cp.setText(BA.ObjectToCharSequence("LISTO"));
};
- //BA.debugLineNum = 2396;BA.debugLine="Listo4=1";
+ //BA.debugLineNum = 2436;BA.debugLine="Listo4=1";
_listo4 = BA.NumberToString(1);
- //BA.debugLineNum = 2397;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
+ //BA.debugLineNum = 2437;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2399;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2439;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2400;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2440;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
}else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2403;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2443;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2404;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2444;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
};
};
};
- //BA.debugLineNum = 2409;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2449;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2410;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2450;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2411;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag";
+ //BA.debugLineNum = 2451;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodps"))) {
- //BA.debugLineNum = 2412;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2452;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group586 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen586 = group586.getSize()
-;int index586 = 0;
+final anywheresoftware.b4a.BA.IterableList group602 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen602 = group602.getSize()
+;int index602 = 0;
;
-for (; index586 < groupLen586;index586++){
-_records = (Object[])(group586.Get(index586));
- //BA.debugLineNum = 2413;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
+for (; index602 < groupLen602;index602++){
+_records = (Object[])(group602.Get(index602));
+ //BA.debugLineNum = 2453;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu";
_cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]);
- //BA.debugLineNum = 2414;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
+ //BA.debugLineNum = 2454;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT.";
_cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]);
- //BA.debugLineNum = 2415;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
+ //BA.debugLineNum = 2455;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co";
_cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]);
- //BA.debugLineNum = 2416;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
+ //BA.debugLineNum = 2456;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co";
_cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]);
- //BA.debugLineNum = 2417;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
+ //BA.debugLineNum = 2457;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT.";
_cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]);
- //BA.debugLineNum = 2418;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
+ //BA.debugLineNum = 2458;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT.";
_cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]);
- //BA.debugLineNum = 2419;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
+ //BA.debugLineNum = 2459;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col";
_cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]);
- //BA.debugLineNum = 2420;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
+ //BA.debugLineNum = 2460;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co";
_cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]);
- //BA.debugLineNum = 2421;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
+ //BA.debugLineNum = 2461;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT";
_cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]);
- //BA.debugLineNum = 2422;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
+ //BA.debugLineNum = 2462;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col";
_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]);
- //BA.debugLineNum = 2423;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
+ //BA.debugLineNum = 2463;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co";
_cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))]));
- //BA.debugLineNum = 2424;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
+ //BA.debugLineNum = 2464;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C";
_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))]));
- //BA.debugLineNum = 2425;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2465;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)}));
}
};
- //BA.debugLineNum = 2427;BA.debugLine="If PB2.Progress = 0 Then";
+ //BA.debugLineNum = 2467;BA.debugLine="If PB2.Progress = 0 Then";
if (_pb2.getProgress()==0) {
- //BA.debugLineNum = 2428;BA.debugLine="PB2.Progress = 30";
+ //BA.debugLineNum = 2468;BA.debugLine="PB2.Progress = 30";
_pb2.setProgress((int) (30));
- //BA.debugLineNum = 2429;BA.debugLine="S_CP.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2469;BA.debugLine="S_CP.Text = \"CARGANDO\"";
_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb2.getProgress()==30) {
- //BA.debugLineNum = 2432;BA.debugLine="PB2.Progress = 60";
+ //BA.debugLineNum = 2472;BA.debugLine="PB2.Progress = 60";
_pb2.setProgress((int) (60));
}else if(_pb2.getProgress()==60) {
- //BA.debugLineNum = 2434;BA.debugLine="PB2.Progress = 100";
+ //BA.debugLineNum = 2474;BA.debugLine="PB2.Progress = 100";
_pb2.setProgress((int) (100));
- //BA.debugLineNum = 2435;BA.debugLine="S_CP.Text = \"LISTO\"";
+ //BA.debugLineNum = 2475;BA.debugLine="S_CP.Text = \"LISTO\"";
_s_cp.setText(BA.ObjectToCharSequence("LISTO"));
};
- //BA.debugLineNum = 2439;BA.debugLine="Listo4=1";
+ //BA.debugLineNum = 2479;BA.debugLine="Listo4=1";
_listo4 = BA.NumberToString(1);
- //BA.debugLineNum = 2440;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
+ //BA.debugLineNum = 2480;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2442;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2482;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2443;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2483;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
}else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2446;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2486;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2447;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2487;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
};
};
};
- //BA.debugLineNum = 2452;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2492;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2453;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2493;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2454;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag";
+ //BA.debugLineNum = 2494;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) {
- //BA.debugLineNum = 2455;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2495;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group623 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen623 = group623.getSize()
-;int index623 = 0;
+final anywheresoftware.b4a.BA.IterableList group639 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen639 = group639.getSize()
+;int index639 = 0;
;
-for (; index623 < groupLen623;index623++){
-_records = (Object[])(group623.Get(index623));
- //BA.debugLineNum = 2456;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(RESUL";
+for (; index639 < groupLen639;index639++){
+_records = (Object[])(group639.Get(index639));
+ //BA.debugLineNum = 2496;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(RESUL";
_cat_dp_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ALMACEN"))))]);
- //BA.debugLineNum = 2457;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu";
+ //BA.debugLineNum = 2497;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu";
_cat_dp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_ID"))))]);
- //BA.debugLineNum = 2458;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT.";
+ //BA.debugLineNum = 2498;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT.";
_cat_dp_idprod = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_IDPROD"))))]);
- //BA.debugLineNum = 2459;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co";
+ //BA.debugLineNum = 2499;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co";
_cat_dp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_TIPO"))))]);
- //BA.debugLineNum = 2460;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co";
+ //BA.debugLineNum = 2500;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co";
_cat_dp_pzas = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PZAS"))))]);
- //BA.debugLineNum = 2461;BA.debugLine="Dim CAT_DP_USUARIO As String = records(RESUL";
+ //BA.debugLineNum = 2501;BA.debugLine="Dim CAT_DP_USUARIO As String = records(RESUL";
_cat_dp_usuario = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_USUARIO"))))]);
- //BA.debugLineNum = 2462;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C";
+ //BA.debugLineNum = 2502;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C";
_cat_dp_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_FECHA"))))]);
- //BA.debugLineNum = 2463;BA.debugLine="Dim CAT_DP_REGALO As String = records(RESULT";
+ //BA.debugLineNum = 2503;BA.debugLine="Dim CAT_DP_REGALO As String = records(RESULT";
_cat_dp_regalo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_REGALO"))))]);
- //BA.debugLineNum = 2464;BA.debugLine="Dim CAT_DP_CLASIF As String = records(RESULT";
+ //BA.debugLineNum = 2504;BA.debugLine="Dim CAT_DP_CLASIF As String = records(RESULT";
_cat_dp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CLASIF"))))]);
- //BA.debugLineNum = 2465;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT.";
+ //BA.debugLineNum = 2505;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT.";
_cat_dp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO"))))]);
- //BA.debugLineNum = 2466;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records";
+ //BA.debugLineNum = 2506;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records";
_cat_dp_precio_simptos = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO_SIMPTOS"))))]);
- //BA.debugLineNum = 2467;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2507;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_dp_almacen),(Object)(_cat_dp_id),(Object)(_cat_dp_idprod),(Object)(_cat_dp_tipo),(Object)(_cat_dp_pzas),(Object)(_cat_dp_usuario),(Object)(_cat_dp_fecha),(Object)(_cat_dp_regalo),(Object)(_cat_dp_clasif),(Object)(_cat_dp_precio),(Object)(_cat_dp_precio_simptos)}));
}
};
- //BA.debugLineNum = 2469;BA.debugLine="If PB2.Progress = 0 Then";
+ //BA.debugLineNum = 2509;BA.debugLine="If PB2.Progress = 0 Then";
if (_pb2.getProgress()==0) {
- //BA.debugLineNum = 2470;BA.debugLine="PB2.Progress = 30";
+ //BA.debugLineNum = 2510;BA.debugLine="PB2.Progress = 30";
_pb2.setProgress((int) (30));
- //BA.debugLineNum = 2471;BA.debugLine="S_CP.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2511;BA.debugLine="S_CP.Text = \"CARGANDO\"";
_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb2.getProgress()==30) {
- //BA.debugLineNum = 2473;BA.debugLine="PB2.Progress = 60";
+ //BA.debugLineNum = 2513;BA.debugLine="PB2.Progress = 60";
_pb2.setProgress((int) (60));
}else if(_pb2.getProgress()==60) {
- //BA.debugLineNum = 2475;BA.debugLine="PB2.Progress = 100";
+ //BA.debugLineNum = 2515;BA.debugLine="PB2.Progress = 100";
_pb2.setProgress((int) (100));
- //BA.debugLineNum = 2476;BA.debugLine="S_CP.Text = \"LISTO\"";
+ //BA.debugLineNum = 2516;BA.debugLine="S_CP.Text = \"LISTO\"";
_s_cp.setText(BA.ObjectToCharSequence("LISTO"));
};
- //BA.debugLineNum = 2478;BA.debugLine="Listo3 =1";
+ //BA.debugLineNum = 2518;BA.debugLine="Listo3 =1";
_listo3 = BA.NumberToString(1);
- //BA.debugLineNum = 2479;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
+ //BA.debugLineNum = 2519;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2481;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2521;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2482;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2522;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
}else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2485;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2525;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2486;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2526;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
};
};
};
- //BA.debugLineNum = 2491;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2531;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2492;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2532;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2493;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag";
+ //BA.debugLineNum = 2533;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) {
- //BA.debugLineNum = 2494;BA.debugLine="Dim cont As Int = 0";
+ //BA.debugLineNum = 2534;BA.debugLine="Dim cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 2495;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2535;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group660 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen660 = group660.getSize()
-;int index660 = 0;
+final anywheresoftware.b4a.BA.IterableList group676 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen676 = group676.getSize()
+;int index676 = 0;
;
-for (; index660 < groupLen660;index660++){
-_records = (Object[])(group660.Get(index660));
- //BA.debugLineNum = 2496;BA.debugLine="cont = cont +1";
+for (; index676 < groupLen676;index676++){
+_records = (Object[])(group676.Get(index676));
+ //BA.debugLineNum = 2536;BA.debugLine="cont = cont +1";
_cont = (int) (_cont+1);
- //BA.debugLineNum = 2497;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co";
+ //BA.debugLineNum = 2537;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co";
_hvd_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]);
- //BA.debugLineNum = 2498;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT.";
+ //BA.debugLineNum = 2538;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT.";
_hvd_pronombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PRONOMBRE"))))]);
- //BA.debugLineNum = 2499;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum";
+ //BA.debugLineNum = 2539;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum";
_hvd_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANT"))))]);
- //BA.debugLineNum = 2500;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT.";
+ //BA.debugLineNum = 2540;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT.";
_hvd_costo_tot = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_COSTO_TOT"))))]);
- //BA.debugLineNum = 2501;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu";
+ //BA.debugLineNum = 2541;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu";
_hvd_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_FECHA"))))]);
- //BA.debugLineNum = 2503;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2543;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA) VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha)}));
}
};
- //BA.debugLineNum = 2505;BA.debugLine="Listo3 =1";
+ //BA.debugLineNum = 2545;BA.debugLine="Listo3 =1";
_listo3 = BA.NumberToString(1);
- //BA.debugLineNum = 2506;BA.debugLine="If PB1.Progress = 0 Then";
+ //BA.debugLineNum = 2546;BA.debugLine="If PB1.Progress = 0 Then";
if (_pb1.getProgress()==0) {
- //BA.debugLineNum = 2507;BA.debugLine="PB1.Progress = 30";
+ //BA.debugLineNum = 2547;BA.debugLine="PB1.Progress = 30";
_pb1.setProgress((int) (30));
- //BA.debugLineNum = 2508;BA.debugLine="S_CH.Text = \"CARGANDO\"";
+ //BA.debugLineNum = 2548;BA.debugLine="S_CH.Text = \"CARGANDO\"";
_s_ch.setText(BA.ObjectToCharSequence("CARGANDO"));
}else if(_pb1.getProgress()==30) {
- //BA.debugLineNum = 2510;BA.debugLine="PB1.Progress = 60";
+ //BA.debugLineNum = 2550;BA.debugLine="PB1.Progress = 60";
_pb1.setProgress((int) (60));
}else if(_pb1.getProgress()==60) {
- //BA.debugLineNum = 2512;BA.debugLine="PB1.Progress = 100";
+ //BA.debugLineNum = 2552;BA.debugLine="PB1.Progress = 100";
_pb1.setProgress((int) (100));
- //BA.debugLineNum = 2513;BA.debugLine="S_CH.Text = \"LISTO\"";
+ //BA.debugLineNum = 2553;BA.debugLine="S_CH.Text = \"LISTO\"";
_s_ch.setText(BA.ObjectToCharSequence("LISTO"));
};
- //BA.debugLineNum = 2516;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
+ //BA.debugLineNum = 2556;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And";
if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 2518;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 2558;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 2519;BA.debugLine="EJECUTANDO=0";
+ //BA.debugLineNum = 2559;BA.debugLine="EJECUTANDO=0";
_ejecutando = BA.NumberToString(0);
};
};
};
- //BA.debugLineNum = 2524;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2564;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2525;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2565;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2526;BA.debugLine="If RESULT.Tag = \"hist_ventastodos\" Then 'query";
+ //BA.debugLineNum = 2566;BA.debugLine="If RESULT.Tag = \"hist_ventastodos\" Then 'query";
if ((_result.Tag /*Object*/ ).equals((Object)("hist_ventastodos"))) {
- //BA.debugLineNum = 2528;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2568;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group688 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen688 = group688.getSize()
-;int index688 = 0;
+final anywheresoftware.b4a.BA.IterableList group704 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen704 = group704.getSize()
+;int index704 = 0;
;
-for (; index688 < groupLen688;index688++){
-_records = (Object[])(group688.Get(index688));
- //BA.debugLineNum = 2530;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co";
+for (; index704 < groupLen704;index704++){
+_records = (Object[])(group704.Get(index704));
+ //BA.debugLineNum = 2570;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co";
_hvd_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]);
- //BA.debugLineNum = 2531;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT.";
+ //BA.debugLineNum = 2571;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT.";
_hvd_pronombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PRONOMBRE"))))]);
- //BA.debugLineNum = 2532;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum";
+ //BA.debugLineNum = 2572;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum";
_hvd_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANT"))))]);
- //BA.debugLineNum = 2533;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT.";
+ //BA.debugLineNum = 2573;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT.";
_hvd_costo_tot = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_COSTO_TOT"))))]);
- //BA.debugLineNum = 2534;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu";
+ //BA.debugLineNum = 2574;BA.debugLine="Dim HVD_FECHA As String = records(RESULT.Colu";
_hvd_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_FECHA"))))]);
- //BA.debugLineNum = 2535;BA.debugLine="Dim HVD_NUM_TICKET As String = records(RESULT";
+ //BA.debugLineNum = 2575;BA.debugLine="Dim HVD_NUM_TICKET As String = records(RESULT";
_hvd_num_ticket = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_NUM_TICKET"))))]);
- //BA.debugLineNum = 2537;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO hist_ventastodos(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_NUM_TICKET) VALUES (?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_num_ticket)}));
+ //BA.debugLineNum = 2576;BA.debugLine="Dim HVD_CODPROMO As String = records(RESULT.C";
+_hvd_codpromo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CODPROMO"))))]);
+ //BA.debugLineNum = 2578;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO hist_ventastodos(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT, HVD_FECHA, HVD_NUM_TICKET,HVD_CODPROMO) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot),(Object)(_hvd_fecha),(Object)(_hvd_num_ticket),(Object)(_hvd_codpromo)}));
}
};
};
};
- //BA.debugLineNum = 2543;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2584;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2544;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2585;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2545;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag";
+ //BA.debugLineNum = 2586;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) {
- //BA.debugLineNum = 2546;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2587;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group702 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen702 = group702.getSize()
-;int index702 = 0;
+final anywheresoftware.b4a.BA.IterableList group719 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen719 = group719.getSize()
+;int index719 = 0;
;
-for (; index702 < groupLen702;index702++){
-_records = (Object[])(group702.Get(index702));
- //BA.debugLineNum = 2547;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE";
+for (; index719 < groupLen719;index719++){
+_records = (Object[])(group719.Get(index719));
+ //BA.debugLineNum = 2588;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE";
_cat_va_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_DESCRIPCION"))))]);
- //BA.debugLineNum = 2548;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C";
+ //BA.debugLineNum = 2589;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C";
_cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_VALOR"))))]);
- //BA.debugLineNum = 2549;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2590;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_va_descripcion),(Object)(_cat_va_valor)}));
}
};
};
};
- //BA.debugLineNum = 2554;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2595;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2555;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2596;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2556;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag";
+ //BA.debugLineNum = 2597;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("CUESTIONARIO"))) {
- //BA.debugLineNum = 2557;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2598;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group712 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen712 = group712.getSize()
-;int index712 = 0;
+final anywheresoftware.b4a.BA.IterableList group729 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen729 = group729.getSize()
+;int index729 = 0;
;
-for (; index712 < groupLen712;index712++){
-_records = (Object[])(group712.Get(index712));
- //BA.debugLineNum = 2558;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C";
+for (; index729 < groupLen729;index729++){
+_records = (Object[])(group729.Get(index729));
+ //BA.debugLineNum = 2599;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C";
_cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VALOR"))))]);
- //BA.debugLineNum = 2559;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE";
+ //BA.debugLineNum = 2600;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CUESTIONARIO")}));
- //BA.debugLineNum = 2560;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2601;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CUESTIONARIO"),(Object)(_cat_va_valor)}));
}
};
};
};
- //BA.debugLineNum = 2565;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2606;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2566;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2607;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2567;BA.debugLine="If RESULT.Tag = \"carga_encuesta\" Then 'query ta";
+ //BA.debugLineNum = 2608;BA.debugLine="If RESULT.Tag = \"carga_encuesta\" Then 'query ta";
if ((_result.Tag /*Object*/ ).equals((Object)("carga_encuesta"))) {
- //BA.debugLineNum = 2568;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2609;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group722 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen722 = group722.getSize()
-;int index722 = 0;
+final anywheresoftware.b4a.BA.IterableList group739 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen739 = group739.getSize()
+;int index739 = 0;
;
-for (; index722 < groupLen722;index722++){
-_records = (Object[])(group722.Get(index722));
- //BA.debugLineNum = 2569;BA.debugLine="Dim CAT_EP_ID As String = records(RESULT.COLU";
+for (; index739 < groupLen739;index739++){
+_records = (Object[])(group739.Get(index739));
+ //BA.debugLineNum = 2610;BA.debugLine="Dim CAT_EP_ID As String = records(RESULT.COLU";
_cat_ep_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_ID"))))]);
- //BA.debugLineNum = 2570;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records";
+ //BA.debugLineNum = 2611;BA.debugLine="Dim CAT_EP_IDTIPOPREGUNTA As String = records";
_cat_ep_idtipopregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_IDTIPOPREGUNTA"))))]);
- //BA.debugLineNum = 2571;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(RE";
+ //BA.debugLineNum = 2612;BA.debugLine="Dim CAT_CE_DESCRIPCION As String = records(RE";
_cat_ce_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CE_DESCRIPCION"))))]);
- //BA.debugLineNum = 2572;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(RESUL";
+ //BA.debugLineNum = 2613;BA.debugLine="Dim CAT_EP_PREGUNTA As String = records(RESUL";
_cat_ep_pregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_PREGUNTA"))))]);
- //BA.debugLineNum = 2573;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(RESU";
+ //BA.debugLineNum = 2614;BA.debugLine="Dim CAT_EP_RES1_PRED As String = records(RESU";
_cat_ep_res1_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES1_PRED"))))]);
- //BA.debugLineNum = 2574;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(RESU";
+ //BA.debugLineNum = 2615;BA.debugLine="Dim CAT_EP_RES2_PRED As String = records(RESU";
_cat_ep_res2_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES2_PRED"))))]);
- //BA.debugLineNum = 2575;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(RESU";
+ //BA.debugLineNum = 2616;BA.debugLine="Dim CAT_EP_RES3_PRED As String = records(RESU";
_cat_ep_res3_pred = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_RES3_PRED"))))]);
- //BA.debugLineNum = 2576;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records";
+ //BA.debugLineNum = 2617;BA.debugLine="Dim CAT_EP_ORDEN_PREGUNTA As String = records";
_cat_ep_orden_pregunta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_EP_ORDEN_PREGUNTA"))))]);
- //BA.debugLineNum = 2577;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2618;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_ENCUESTA_PREGUNTA (CAT_EP_ID ,CAT_EP_IDTIPOPREGUNTA ,CAT_CE_DESCRIPCION ,CAT_EP_PREGUNTA ,CAT_EP_RES1_PRED ,CAT_EP_RES2_PRED ,CAT_EP_RES3_PRED ,CAT_EP_ORDEN_PREGUNTA ) VALUES (?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ep_id),(Object)(_cat_ep_idtipopregunta),(Object)(_cat_ce_descripcion),(Object)(_cat_ep_pregunta),(Object)(_cat_ep_res1_pred),(Object)(_cat_ep_res2_pred),(Object)(_cat_ep_res3_pred),(Object)(_cat_ep_orden_pregunta)}));
}
};
};
};
- //BA.debugLineNum = 2582;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2623;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2583;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2624;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2584;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag";
+ //BA.debugLineNum = 2625;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) {
- //BA.debugLineNum = 2585;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2626;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group738 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen738 = group738.getSize()
-;int index738 = 0;
+final anywheresoftware.b4a.BA.IterableList group755 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen755 = group755.getSize()
+;int index755 = 0;
;
-for (; index738 < groupLen738;index738++){
-_records = (Object[])(group738.Get(index738));
- //BA.debugLineNum = 2586;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns.";
+for (; index755 < groupLen755;index755++){
+_records = (Object[])(group755.Get(index755));
+ //BA.debugLineNum = 2627;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns.";
_cuantosp = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSP"))))]));
- //BA.debugLineNum = 2589;BA.debugLine="If cuantos_pedido < = CUANTOSP Then";
+ //BA.debugLineNum = 2630;BA.debugLine="If cuantos_pedido < = CUANTOSP Then";
if ((double)(Double.parseDouble(_cuantos_pedido))<=_cuantosp) {
- //BA.debugLineNum = 2591;BA.debugLine="datos_iguales = \"ok\"";
+ //BA.debugLineNum = 2632;BA.debugLine="datos_iguales = \"ok\"";
_datos_iguales = "ok";
- //BA.debugLineNum = 2592;BA.debugLine="S_CP.Text = \"INFO OK\"";
+ //BA.debugLineNum = 2633;BA.debugLine="S_CP.Text = \"INFO OK\"";
_s_cp.setText(BA.ObjectToCharSequence("INFO OK"));
- //BA.debugLineNum = 2593;BA.debugLine="B_OK_PAS.Text = \"OK\"";
+ //BA.debugLineNum = 2634;BA.debugLine="B_OK_PAS.Text = \"OK\"";
_b_ok_pas.setText(BA.ObjectToCharSequence("OK"));
}else {
- //BA.debugLineNum = 2595;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
+ //BA.debugLineNum = 2636;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
if ((_starter._marcacel /*String*/ ).equals("Sony") == false) {
__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+_cuantos_pedido),__c.True);};
- //BA.debugLineNum = 2596;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\"";
+ //BA.debugLineNum = 2637;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\"";
_s_cp.setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-2)"));
};
}
};
};
};
- //BA.debugLineNum = 2602;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2643;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2603;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2644;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2604;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta";
+ //BA.debugLineNum = 2645;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta";
if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) {
- //BA.debugLineNum = 2605;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2646;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group754 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen754 = group754.getSize()
-;int index754 = 0;
+final anywheresoftware.b4a.BA.IterableList group771 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen771 = group771.getSize()
+;int index771 = 0;
;
-for (; index754 < groupLen754;index754++){
-_records = (Object[])(group754.Get(index754));
- //BA.debugLineNum = 2606;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns.";
+for (; index771 < groupLen771;index771++){
+_records = (Object[])(group771.Get(index771));
+ //BA.debugLineNum = 2647;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns.";
_cuantosc = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSC"))))]));
- //BA.debugLineNum = 2607;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then";
+ //BA.debugLineNum = 2648;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then";
if ((_cuantos_pedidosc).equals(BA.NumberToString(_cuantosc))) {
- //BA.debugLineNum = 2609;BA.debugLine="datos_iguales = \"ok\"";
+ //BA.debugLineNum = 2650;BA.debugLine="datos_iguales = \"ok\"";
_datos_iguales = "ok";
}else {
- //BA.debugLineNum = 2611;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
+ //BA.debugLineNum = 2652;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
if ((_starter._marcacel /*String*/ ).equals("Sony") == false) {
__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+_cuantos_pedidosc),__c.True);};
};
@@ -5058,28 +5085,28 @@ __c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync N
};
};
};
- //BA.debugLineNum = 2617;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2658;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2618;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2659;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2619;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta";
+ //BA.debugLineNum = 2660;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta";
if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) {
- //BA.debugLineNum = 2620;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2661;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group767 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen767 = group767.getSize()
-;int index767 = 0;
+final anywheresoftware.b4a.BA.IterableList group784 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen784 = group784.getSize()
+;int index784 = 0;
;
-for (; index767 < groupLen767;index767++){
-_records = (Object[])(group767.Get(index767));
- //BA.debugLineNum = 2621;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns.";
+for (; index784 < groupLen784;index784++){
+_records = (Object[])(group784.Get(index784));
+ //BA.debugLineNum = 2662;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns.";
_cuantosn = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSN"))))]));
- //BA.debugLineNum = 2622;BA.debugLine="If cuantos_noventa = CUANTOSN Then";
+ //BA.debugLineNum = 2663;BA.debugLine="If cuantos_noventa = CUANTOSN Then";
if ((_cuantos_noventa).equals(BA.NumberToString(_cuantosn))) {
- //BA.debugLineNum = 2624;BA.debugLine="datos_iguales = \"ok\"";
+ //BA.debugLineNum = 2665;BA.debugLine="datos_iguales = \"ok\"";
_datos_iguales = "ok";
}else {
- //BA.debugLineNum = 2626;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
+ //BA.debugLineNum = 2667;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess";
if ((_starter._marcacel /*String*/ ).equals("Sony") == false) {
__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+_cuantos_noventa),__c.True);};
};
@@ -5087,200 +5114,157 @@ __c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync N
};
};
};
- //BA.debugLineNum = 2632;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2673;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2633;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2674;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2634;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag";
+ //BA.debugLineNum = 2675;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("ins_pedido"))) {
- //BA.debugLineNum = 2635;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2676;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group780 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen780 = group780.getSize()
-;int index780 = 0;
+final anywheresoftware.b4a.BA.IterableList group797 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen797 = group797.getSize()
+;int index797 = 0;
;
-for (; index780 < groupLen780;index780++){
-_records = (Object[])(group780.Get(index780));
- //BA.debugLineNum = 2636;BA.debugLine="PB2.Progress = PB2.Progress + 5";
+for (; index797 < groupLen797;index797++){
+_records = (Object[])(group797.Get(index797));
+ //BA.debugLineNum = 2677;BA.debugLine="PB2.Progress = PB2.Progress + 5";
_pb2.setProgress((int) (_pb2.getProgress()+5));
- //BA.debugLineNum = 2637;BA.debugLine="S_CP.Text = \"SUBIENDO\"";
+ //BA.debugLineNum = 2678;BA.debugLine="S_CP.Text = \"SUBIENDO\"";
_s_cp.setText(BA.ObjectToCharSequence("SUBIENDO"));
}
};
- //BA.debugLineNum = 2639;BA.debugLine="PB2.Progress = 100";
+ //BA.debugLineNum = 2680;BA.debugLine="PB2.Progress = 100";
_pb2.setProgress((int) (100));
- //BA.debugLineNum = 2640;BA.debugLine="S_CP.Text = \"ENVIANDO\"";
+ //BA.debugLineNum = 2681;BA.debugLine="S_CP.Text = \"ENVIANDO\"";
_s_cp.setText(BA.ObjectToCharSequence("ENVIANDO"));
};
};
- //BA.debugLineNum = 2645;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2686;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2646;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2687;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2647;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag";
+ //BA.debugLineNum = 2688;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("version"))) {
- //BA.debugLineNum = 2648;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2689;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group791 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen791 = group791.getSize()
-;int index791 = 0;
+final anywheresoftware.b4a.BA.IterableList group808 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen808 = group808.getSize()
+;int index808 = 0;
;
-for (; index791 < groupLen791;index791++){
-_records = (Object[])(group791.Get(index791));
- //BA.debugLineNum = 2649;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f";
+for (; index808 < groupLen808;index808++){
+_records = (Object[])(group808.Get(index808));
+ //BA.debugLineNum = 2690;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION");
- //BA.debugLineNum = 2650;BA.debugLine="Dim CAT_VE_VERSION As String = records(RESULT";
+ //BA.debugLineNum = 2691;BA.debugLine="Dim CAT_VE_VERSION As String = records(RESULT";
_cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]);
- //BA.debugLineNum = 2651;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2692;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)}));
}
};
};
};
- //BA.debugLineNum = 2656;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2697;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2657;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2698;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2658;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag";
+ //BA.debugLineNum = 2699;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) {
- //BA.debugLineNum = 2659;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2700;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group801 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen801 = group801.getSize()
-;int index801 = 0;
+final anywheresoftware.b4a.BA.IterableList group818 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen818 = group818.getSize()
+;int index818 = 0;
;
-for (; index801 < groupLen801;index801++){
-_records = (Object[])(group801.Get(index801));
- //BA.debugLineNum = 2660;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN";
+for (; index818 < groupLen818;index818++){
+_records = (Object[])(group818.Get(index818));
+ //BA.debugLineNum = 2701;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN";
_count_clie = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT_CLIE"))))]));
}
};
};
};
- //BA.debugLineNum = 2665;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2706;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2666;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2707;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2667;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag";
+ //BA.debugLineNum = 2708;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) {
- //BA.debugLineNum = 2668;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2709;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group809 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen809 = group809.getSize()
-;int index809 = 0;
+final anywheresoftware.b4a.BA.IterableList group826 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen826 = group826.getSize()
+;int index826 = 0;
;
-for (; index809 < groupLen809;index809++){
-_records = (Object[])(group809.Get(index809));
- //BA.debugLineNum = 2669;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns";
+for (; index826 < groupLen826;index826++){
+_records = (Object[])(group826.Get(index826));
+ //BA.debugLineNum = 2710;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns";
_valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]);
- //BA.debugLineNum = 2670;BA.debugLine="If VALIDO = \"OK\" Then";
+ //BA.debugLineNum = 2711;BA.debugLine="If VALIDO = \"OK\" Then";
if ((_valido).equals("OK")) {
- //BA.debugLineNum = 2671;BA.debugLine="cargar.Visible = True";
+ //BA.debugLineNum = 2712;BA.debugLine="cargar.Visible = True";
_cargar.setVisible(__c.True);
- //BA.debugLineNum = 2672;BA.debugLine="Subir.Visible = True";
+ //BA.debugLineNum = 2713;BA.debugLine="Subir.Visible = True";
_subir.setVisible(__c.True);
- //BA.debugLineNum = 2673;BA.debugLine="inv.Visible = True";
+ //BA.debugLineNum = 2714;BA.debugLine="inv.Visible = True";
_inv.setVisible(__c.True);
- //BA.debugLineNum = 2674;BA.debugLine="connecta.Visible = False";
+ //BA.debugLineNum = 2715;BA.debugLine="connecta.Visible = False";
_connecta.setVisible(__c.False);
- //BA.debugLineNum = 2675;BA.debugLine="If conn = \"1\" Then";
+ //BA.debugLineNum = 2716;BA.debugLine="If conn = \"1\" Then";
if ((_conn).equals("1")) {
- //BA.debugLineNum = 2676;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se";
+ //BA.debugLineNum = 2717;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se";
__c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True);
};
}else {
- //BA.debugLineNum = 2679;BA.debugLine="cargar.Visible = False";
+ //BA.debugLineNum = 2720;BA.debugLine="cargar.Visible = False";
_cargar.setVisible(__c.False);
- //BA.debugLineNum = 2680;BA.debugLine="Subir.Visible = False";
+ //BA.debugLineNum = 2721;BA.debugLine="Subir.Visible = False";
_subir.setVisible(__c.False);
- //BA.debugLineNum = 2681;BA.debugLine="inv.Visible = False";
+ //BA.debugLineNum = 2722;BA.debugLine="inv.Visible = False";
_inv.setVisible(__c.False);
- //BA.debugLineNum = 2682;BA.debugLine="connecta.Visible = False";
+ //BA.debugLineNum = 2723;BA.debugLine="connecta.Visible = False";
_connecta.setVisible(__c.False);
- //BA.debugLineNum = 2683;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)";
+ //BA.debugLineNum = 2724;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)";
__c.ToastMessageShow(BA.ObjectToCharSequence("Ruta invalida."),__c.True);
};
}
};
};
};
- //BA.debugLineNum = 2689;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2730;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2690;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2731;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2691;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag";
+ //BA.debugLineNum = 2732;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) {
- //BA.debugLineNum = 2692;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2733;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group832 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen832 = group832.getSize()
-;int index832 = 0;
+final anywheresoftware.b4a.BA.IterableList group849 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen849 = group849.getSize()
+;int index849 = 0;
;
-for (; index832 < groupLen832;index832++){
-_records = (Object[])(group832.Get(index832));
- //BA.debugLineNum = 2693;BA.debugLine="Dim name2 As String = records(RESULT.Columns.";
+for (; index849 < groupLen849;index849++){
+_records = (Object[])(group849.Get(index849));
+ //BA.debugLineNum = 2734;BA.debugLine="Dim name2 As String = records(RESULT.Columns.";
_name2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]);
}
};
- //BA.debugLineNum = 2695;BA.debugLine="If name2 = \"OK\" Then";
+ //BA.debugLineNum = 2736;BA.debugLine="If name2 = \"OK\" Then";
if ((_name2).equals("OK")) {
- //BA.debugLineNum = 2696;BA.debugLine="PASO = 1";
+ //BA.debugLineNum = 2737;BA.debugLine="PASO = 1";
_paso = BA.NumberToString(1);
};
- //BA.debugLineNum = 2698;BA.debugLine="P1.Visible = False";
+ //BA.debugLineNum = 2739;BA.debugLine="P1.Visible = False";
_p1.setVisible(__c.False);
};
};
- //BA.debugLineNum = 2702;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+ //BA.debugLineNum = 2743;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2703;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+ //BA.debugLineNum = 2744;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2704;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag";
+ //BA.debugLineNum = 2745;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) {
- //BA.debugLineNum = 2705;BA.debugLine="For Each records() As Object In RESULT.Rows";
-{
-final anywheresoftware.b4a.BA.IterableList group844 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen844 = group844.getSize()
-;int index844 = 0;
-;
-for (; index844 < groupLen844;index844++){
-_records = (Object[])(group844.Get(index844));
- //BA.debugLineNum = 2706;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu";
-_fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]);
- //BA.debugLineNum = 2707;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")}));
- //BA.debugLineNum = 2708;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)}));
- }
-};
- };
- };
- //BA.debugLineNum = 2713;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
-if ((_job._jobname /*String*/ ).equals("DBRequest")) {
- //BA.debugLineNum = 2714;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
-_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
- //BA.debugLineNum = 2723;BA.debugLine="If RESULT.Tag = \"hist_pro2265\" Then 'query tag";
-if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro2265"))) {
- //BA.debugLineNum = 2724;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO2265");
- //BA.debugLineNum = 2725;BA.debugLine="For Each records() As Object In RESULT.Rows";
-{
-final anywheresoftware.b4a.BA.IterableList group855 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen855 = group855.getSize()
-;int index855 = 0;
-;
-for (; index855 < groupLen855;index855++){
-_records = (Object[])(group855.Get(index855));
- //BA.debugLineNum = 2726;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO2265(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]}));
- }
-};
- };
- //BA.debugLineNum = 2729;BA.debugLine="If RESULT.Tag = \"hist_pro3054\" Then 'query tag";
-if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro3054"))) {
- //BA.debugLineNum = 2730;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO3054");
- //BA.debugLineNum = 2731;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2746;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
final anywheresoftware.b4a.BA.IterableList group861 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen861 = group861.getSize()
@@ -5288,31 +5272,25 @@ final int groupLen861 = group861.getSize()
;
for (; index861 < groupLen861;index861++){
_records = (Object[])(group861.Get(index861));
- //BA.debugLineNum = 2732;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO3054(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]}));
+ //BA.debugLineNum = 2747;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu";
+_fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]);
+ //BA.debugLineNum = 2748;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")}));
+ //BA.debugLineNum = 2749;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)}));
}
};
};
- //BA.debugLineNum = 2735;BA.debugLine="If RESULT.Tag = \"hist_pro3055\" Then 'query tag";
-if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro3055"))) {
- //BA.debugLineNum = 2736;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO3055");
- //BA.debugLineNum = 2737;BA.debugLine="For Each records() As Object In RESULT.Rows";
-{
-final anywheresoftware.b4a.BA.IterableList group867 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen867 = group867.getSize()
-;int index867 = 0;
-;
-for (; index867 < groupLen867;index867++){
-_records = (Object[])(group867.Get(index867));
- //BA.debugLineNum = 2738;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO3055(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]}));
- }
-};
};
- //BA.debugLineNum = 2741;BA.debugLine="If RESULT.Tag = \"traeVersion\" Then 'query tag";
-if ((_result.Tag /*Object*/ ).equals((Object)("traeVersion"))) {
- //BA.debugLineNum = 2742;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2754;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
+if ((_job._jobname /*String*/ ).equals("DBRequest")) {
+ //BA.debugLineNum = 2755;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
+_result = _b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
+ //BA.debugLineNum = 2764;BA.debugLine="If RESULT.Tag = \"hist_pro2265\" Then 'query tag";
+if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro2265"))) {
+ //BA.debugLineNum = 2765;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO2265");
+ //BA.debugLineNum = 2766;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
final anywheresoftware.b4a.BA.IterableList group872 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen872 = group872.getSize()
@@ -5320,70 +5298,75 @@ final int groupLen872 = group872.getSize()
;
for (; index872 < groupLen872;index872++){
_records = (Object[])(group872.Get(index872));
- //BA.debugLineNum = 2743;BA.debugLine="Private version As String = records(RESULT.C";
+ //BA.debugLineNum = 2767;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO2265(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]}));
+ }
+};
+ };
+ //BA.debugLineNum = 2770;BA.debugLine="If RESULT.Tag = \"hist_pro3054\" Then 'query tag";
+if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro3054"))) {
+ //BA.debugLineNum = 2771;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO3054");
+ //BA.debugLineNum = 2772;BA.debugLine="For Each records() As Object In RESULT.Rows";
+{
+final anywheresoftware.b4a.BA.IterableList group878 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen878 = group878.getSize()
+;int index878 = 0;
+;
+for (; index878 < groupLen878;index878++){
+_records = (Object[])(group878.Get(index878));
+ //BA.debugLineNum = 2773;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO3054(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]}));
+ }
+};
+ };
+ //BA.debugLineNum = 2776;BA.debugLine="If RESULT.Tag = \"hist_pro3055\" Then 'query tag";
+if ((_result.Tag /*Object*/ ).equals((Object)("hist_pro3055"))) {
+ //BA.debugLineNum = 2777;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_PR";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PRO3055");
+ //BA.debugLineNum = 2778;BA.debugLine="For Each records() As Object In RESULT.Rows";
+{
+final anywheresoftware.b4a.BA.IterableList group884 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen884 = group884.getSize()
+;int index884 = 0;
+;
+for (; index884 < groupLen884;index884++){
+_records = (Object[])(group884.Get(index884));
+ //BA.debugLineNum = 2779;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PRO3055(H_IDCLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]}));
+ }
+};
+ };
+ //BA.debugLineNum = 2782;BA.debugLine="If RESULT.Tag = \"traeVersion\" Then 'query tag";
+if ((_result.Tag /*Object*/ ).equals((Object)("traeVersion"))) {
+ //BA.debugLineNum = 2783;BA.debugLine="For Each records() As Object In RESULT.Rows";
+{
+final anywheresoftware.b4a.BA.IterableList group889 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen889 = group889.getSize()
+;int index889 = 0;
+;
+for (; index889 < groupLen889;index889++){
+_records = (Object[])(group889.Get(index889));
+ //BA.debugLineNum = 2784;BA.debugLine="Private version As String = records(RESULT.C";
_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_VERSION"))))]);
- //BA.debugLineNum = 2744;BA.debugLine="Private actualizarAplicacion As String = rec";
+ //BA.debugLineNum = 2785;BA.debugLine="Private actualizarAplicacion As String = rec";
_actualizaraplicacion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_AL_ACTUALIZACION"))))]);
}
};
- //BA.debugLineNum = 2746;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
+ //BA.debugLineNum = 2787;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA")}));
- //BA.debugLineNum = 2747;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
+ //BA.debugLineNum = 2788;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("VERSION_NUEVA"),(Object)(_version)}));
- //BA.debugLineNum = 2748;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
+ //BA.debugLineNum = 2789;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION")}));
- //BA.debugLineNum = 2749;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
+ //BA.debugLineNum = 2790;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FORZAR_ACTUALIZACION"),(Object)(_actualizaraplicacion)}));
- //BA.debugLineNum = 2750;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version";
-__c.LogImpl("73998854",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0);
+ //BA.debugLineNum = 2791;BA.debugLine="Log($\">>>> GUARDAMOS NUEVA VERSION: ${version";
+__c.LogImpl("43998873",(">>>> GUARDAMOS NUEVA VERSION: "+__c.SmartStringFormatter("",(Object)(_version))+", "+__c.SmartStringFormatter("",(Object)(_actualizaraplicacion))+""),0);
};
- //BA.debugLineNum = 2752;BA.debugLine="If RESULT.Tag = \"tipoVenta\" Then 'query tag";
+ //BA.debugLineNum = 2793;BA.debugLine="If RESULT.Tag = \"tipoVenta\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("tipoVenta"))) {
- //BA.debugLineNum = 2753;BA.debugLine="For Each records() As Object In RESULT.Rows";
-{
-final anywheresoftware.b4a.BA.IterableList group883 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen883 = group883.getSize()
-;int index883 = 0;
-;
-for (; index883 < groupLen883;index883++){
-_records = (Object[])(group883.Get(index883));
- //BA.debugLineNum = 2754;BA.debugLine="Private tipoVenta As String = records(RESULT";
-_tipoventa = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_RU_CATEGORIA"))))]);
- }
-};
- //BA.debugLineNum = 2756;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TIPO_VENTA")}));
- //BA.debugLineNum = 2757;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TIPO_VENTA"),(Object)(_tipoventa)}));
- //BA.debugLineNum = 2758;BA.debugLine="Log($\">>>> GUARDAMOS TIPO_VENTA: ${tipoVenta}";
-__c.LogImpl("73998862",(">>>> GUARDAMOS TIPO_VENTA: "+__c.SmartStringFormatter("",(Object)(_tipoventa))+""),0);
- };
- //BA.debugLineNum = 2760;BA.debugLine="If RESULT.Tag = \"planLealtad\" Then 'query tag";
-if ((_result.Tag /*Object*/ ).equals((Object)("planLealtad"))) {
- //BA.debugLineNum = 2761;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PLAN_LEALTAD WHERE DESCARGADO = 1");
- //BA.debugLineNum = 2762;BA.debugLine="For Each records() As Object In RESULT.Rows";
-{
-final anywheresoftware.b4a.BA.IterableList group892 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen892 = group892.getSize()
-;int index892 = 0;
-;
-for (; index892 < groupLen892;index892++){
-_records = (Object[])(group892.Get(index892));
- //BA.debugLineNum = 2763;BA.debugLine="Dim PL_CLIENTE As String = records(RESULT.Col";
-_pl_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_PL_CLIENTE"))))]);
- //BA.debugLineNum = 2764;BA.debugLine="Dim PL_BANDERA As String = records(RESULT.Col";
-_pl_bandera = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_PL_BANDERA"))))]);
- //BA.debugLineNum = 2765;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PLAN_LEALTAD(PL_CLIENTE, PL_BANDERA, DESCARGADO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_pl_cliente),(Object)(_pl_bandera),(Object)(1)}));
- }
-};
- };
- //BA.debugLineNum = 2769;BA.debugLine="If RESULT.Tag = \"coments\" Then 'query tag";
-if ((_result.Tag /*Object*/ ).equals((Object)("coments"))) {
- //BA.debugLineNum = 2770;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM COMENTARIOS WHERE DESCARGADO = 1");
- //BA.debugLineNum = 2771;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2794;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
final anywheresoftware.b4a.BA.IterableList group900 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen900 = group900.getSize()
@@ -5391,107 +5374,151 @@ final int groupLen900 = group900.getSize()
;
for (; index900 < groupLen900;index900++){
_records = (Object[])(group900.Get(index900));
- //BA.debugLineNum = 2772;BA.debugLine="Dim COMENTARIO As String = records(RESULT.Col";
+ //BA.debugLineNum = 2795;BA.debugLine="Private tipoVenta As String = records(RESULT";
+_tipoventa = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_RU_CATEGORIA"))))]);
+ }
+};
+ //BA.debugLineNum = 2797;BA.debugLine="Starter.skmt.ExecNonQuery2(\"delete from CAT_VA";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TIPO_VENTA")}));
+ //BA.debugLineNum = 2798;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_VA";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("TIPO_VENTA"),(Object)(_tipoventa)}));
+ //BA.debugLineNum = 2799;BA.debugLine="Log($\">>>> GUARDAMOS TIPO_VENTA: ${tipoVenta}";
+__c.LogImpl("43998881",(">>>> GUARDAMOS TIPO_VENTA: "+__c.SmartStringFormatter("",(Object)(_tipoventa))+""),0);
+ };
+ //BA.debugLineNum = 2801;BA.debugLine="If RESULT.Tag = \"planLealtad\" Then 'query tag";
+if ((_result.Tag /*Object*/ ).equals((Object)("planLealtad"))) {
+ //BA.debugLineNum = 2802;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PLAN_LEALTAD WHERE DESCARGADO = 1");
+ //BA.debugLineNum = 2803;BA.debugLine="For Each records() As Object In RESULT.Rows";
+{
+final anywheresoftware.b4a.BA.IterableList group909 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen909 = group909.getSize()
+;int index909 = 0;
+;
+for (; index909 < groupLen909;index909++){
+_records = (Object[])(group909.Get(index909));
+ //BA.debugLineNum = 2804;BA.debugLine="Dim PL_CLIENTE As String = records(RESULT.Col";
+_pl_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_PL_CLIENTE"))))]);
+ //BA.debugLineNum = 2805;BA.debugLine="Dim PL_BANDERA As String = records(RESULT.Col";
+_pl_bandera = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_PL_BANDERA"))))]);
+ //BA.debugLineNum = 2806;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PLAN_LEALTAD(PL_CLIENTE, PL_BANDERA, DESCARGADO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_pl_cliente),(Object)(_pl_bandera),(Object)(1)}));
+ }
+};
+ };
+ //BA.debugLineNum = 2810;BA.debugLine="If RESULT.Tag = \"coments\" Then 'query tag";
+if ((_result.Tag /*Object*/ ).equals((Object)("coments"))) {
+ //BA.debugLineNum = 2811;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM COMENTARIOS WHERE DESCARGADO = 1");
+ //BA.debugLineNum = 2812;BA.debugLine="For Each records() As Object In RESULT.Rows";
+{
+final anywheresoftware.b4a.BA.IterableList group917 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen917 = group917.getSize()
+;int index917 = 0;
+;
+for (; index917 < groupLen917;index917++){
+_records = (Object[])(group917.Get(index917));
+ //BA.debugLineNum = 2813;BA.debugLine="Dim COMENTARIO As String = records(RESULT.Col";
_comentario = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_COM_COMENTARIO"))))]);
- //BA.debugLineNum = 2773;BA.debugLine="Dim CLIENTECOM As String = records(RESULT.Col";
+ //BA.debugLineNum = 2814;BA.debugLine="Dim CLIENTECOM As String = records(RESULT.Col";
_clientecom = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("TMP_COM_CLIENTE"))))]);
- //BA.debugLineNum = 2774;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2815;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO COMENTARIOS(COMENTARTIO, CLIENTE, DESCARGADO) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_comentario),(Object)(_clientecom),(Object)(1)}));
}
};
};
- //BA.debugLineNum = 2778;BA.debugLine="If RESULT.Tag = \"objetivos\" Then 'query tag";
+ //BA.debugLineNum = 2819;BA.debugLine="If RESULT.Tag = \"objetivos\" Then 'query tag";
if ((_result.Tag /*Object*/ ).equals((Object)("objetivos"))) {
- //BA.debugLineNum = 2779;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
+ //BA.debugLineNum = 2820;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FR";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CAT_OBJETIVO_BAT");
- //BA.debugLineNum = 2780;BA.debugLine="For Each records() As Object In RESULT.Rows";
+ //BA.debugLineNum = 2821;BA.debugLine="For Each records() As Object In RESULT.Rows";
{
-final anywheresoftware.b4a.BA.IterableList group908 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
-final int groupLen908 = group908.getSize()
-;int index908 = 0;
+final anywheresoftware.b4a.BA.IterableList group925 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
+final int groupLen925 = group925.getSize()
+;int index925 = 0;
;
-for (; index908 < groupLen908;index908++){
-_records = (Object[])(group908.Get(index908));
- //BA.debugLineNum = 2781;BA.debugLine="Dim COB_VOLUMEN As String = records(RESULT.Co";
+for (; index925 < groupLen925;index925++){
+_records = (Object[])(group925.Get(index925));
+ //BA.debugLineNum = 2822;BA.debugLine="Dim COB_VOLUMEN As String = records(RESULT.Co";
_cob_volumen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_VOLUMEN"))))]);
- //BA.debugLineNum = 2782;BA.debugLine="Dim COB_MARCAE As String = records(RESULT.Col";
+ //BA.debugLineNum = 2823;BA.debugLine="Dim COB_MARCAE As String = records(RESULT.Col";
_cob_marcae = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_MARCAE"))))]);
- //BA.debugLineNum = 2783;BA.debugLine="Dim COB_PORTAFOLIO As String = records(RESULT";
+ //BA.debugLineNum = 2824;BA.debugLine="Dim COB_PORTAFOLIO As String = records(RESULT";
_cob_portafolio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_PORTAFOLIO"))))]);
- //BA.debugLineNum = 2784;BA.debugLine="Dim COB_OBJPP As String = records(RESULT.Colu";
+ //BA.debugLineNum = 2825;BA.debugLine="Dim COB_OBJPP As String = records(RESULT.Colu";
_cob_objpp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_OBJPP"))))]);
- //BA.debugLineNum = 2785;BA.debugLine="Dim COB_GEV As String = records(RESULT.Column";
+ //BA.debugLineNum = 2826;BA.debugLine="Dim COB_GEV As String = records(RESULT.Column";
_cob_gev = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COB_GEV"))))]);
- //BA.debugLineNum = 2786;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
+ //BA.debugLineNum = 2827;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_OBJETIVO_BAT(COB_VOLUMEN, COB_MARCAE, COB_PORTAFOLIO, COB_OBJPP, COB_GEV) VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cob_volumen),(Object)(_cob_marcae),(Object)(_cob_portafolio),(Object)(_cob_objpp),(Object)(_cob_gev)}));
}
};
};
};
};
- //BA.debugLineNum = 2792;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia";
+ //BA.debugLineNum = 2833;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia";
if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) {
- //BA.debugLineNum = 2793;BA.debugLine="LogColor($\"REQUESTS: ${B4XPages.MainPage.reqMana";
-__c.LogImpl("73998897",("REQUESTS: "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),__c.Colors.Red);
- //BA.debugLineNum = 2795;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.Size =";
+ //BA.debugLineNum = 2834;BA.debugLine="LogColor($\"REQUESTS: ${B4XPages.MainPage.reqMana";
+__c.LogImpl("43998916",("REQUESTS: "+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),__c.Colors.Red);
+ //BA.debugLineNum = 2836;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.Size =";
if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize()==0 && (_carga).equals("SUBIR")) {
- //BA.debugLineNum = 2796;BA.debugLine="t1.Enabled = False";
+ //BA.debugLineNum = 2837;BA.debugLine="t1.Enabled = False";
_t1.setEnabled(__c.False);
- //BA.debugLineNum = 2797;BA.debugLine="t1.Initialize(\"T1\", 3000) ' 1000 = 1 second";
+ //BA.debugLineNum = 2838;BA.debugLine="t1.Initialize(\"T1\", 3000) ' 1000 = 1 second";
_t1.Initialize(ba,"T1",(long) (3000));
- //BA.debugLineNum = 2799;BA.debugLine="If contadorSubir < 3 Then ' Si no hacen click e";
+ //BA.debugLineNum = 2840;BA.debugLine="If contadorSubir < 3 Then ' Si no hacen click e";
if (_contadorsubir<3) {
- //BA.debugLineNum = 2800;BA.debugLine="t1.Enabled = True";
+ //BA.debugLineNum = 2841;BA.debugLine="t1.Enabled = True";
_t1.setEnabled(__c.True);
- //BA.debugLineNum = 2801;BA.debugLine="Log(\"TIMER ENABLED\")";
-__c.LogImpl("73998905","TIMER ENABLED",0);
+ //BA.debugLineNum = 2842;BA.debugLine="Log(\"TIMER ENABLED\")";
+__c.LogImpl("43998924","TIMER ENABLED",0);
};
- //BA.debugLineNum = 2803;BA.debugLine="contadorSubir = contadorSubir + 1";
+ //BA.debugLineNum = 2844;BA.debugLine="contadorSubir = contadorSubir + 1";
_contadorsubir = (int) (_contadorsubir+1);
};
};
- //BA.debugLineNum = 2806;BA.debugLine="Job.Release";
+ //BA.debugLineNum = 2847;BA.debugLine="Job.Release";
_job._release /*String*/ ();
- //BA.debugLineNum = 2807;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2848;BA.debugLine="End Sub";
return "";
}
public String _nuevo_click() throws Exception{
- //BA.debugLineNum = 3262;BA.debugLine="Sub NUEVO_Click";
- //BA.debugLineNum = 3263;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
+ //BA.debugLineNum = 3283;BA.debugLine="Sub NUEVO_Click";
+ //BA.debugLineNum = 3284;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
_b4xpages._showpage /*String*/ (ba,"NuevoCliente");
- //BA.debugLineNum = 3264;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3285;BA.debugLine="End Sub";
return "";
}
public String _nvo_cliente_click() throws Exception{
- //BA.debugLineNum = 3753;BA.debugLine="Sub nvo_cliente_Click";
- //BA.debugLineNum = 3754;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
+ //BA.debugLineNum = 3783;BA.debugLine="Sub nvo_cliente_Click";
+ //BA.debugLineNum = 3784;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")";
_b4xpages._showpage /*String*/ (ba,"NuevoCliente");
- //BA.debugLineNum = 3755;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3785;BA.debugLine="End Sub";
return "";
}
public String _p_marcasres_click() throws Exception{
- //BA.debugLineNum = 3954;BA.debugLine="Private Sub p_marcasRes_Click";
- //BA.debugLineNum = 3956;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3984;BA.debugLine="Private Sub p_marcasRes_Click";
+ //BA.debugLineNum = 3986;BA.debugLine="End Sub";
return "";
}
public String _p_resumen_click() throws Exception{
- //BA.debugLineNum = 3290;BA.debugLine="Sub P_RESUMEN_click";
- //BA.debugLineNum = 3292;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3311;BA.debugLine="Sub P_RESUMEN_click";
+ //BA.debugLineNum = 3313;BA.debugLine="End Sub";
return "";
}
public String _p_sombra_click() throws Exception{
- //BA.debugLineNum = 3958;BA.debugLine="Private Sub p_sombra_Click";
- //BA.debugLineNum = 3960;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3988;BA.debugLine="Private Sub p_sombra_Click";
+ //BA.debugLineNum = 3990;BA.debugLine="End Sub";
return "";
}
public String _p_transparenteactualizacion_click() throws Exception{
- //BA.debugLineNum = 3962;BA.debugLine="Private Sub p_transparenteActualizacion_Click";
- //BA.debugLineNum = 3964;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3992;BA.debugLine="Private Sub p_transparenteActualizacion_Click";
+ //BA.debugLineNum = 3994;BA.debugLine="End Sub";
return "";
}
public String _p1_click() throws Exception{
- //BA.debugLineNum = 3972;BA.debugLine="Private Sub P1_Click";
- //BA.debugLineNum = 3974;BA.debugLine="End Sub";
+ //BA.debugLineNum = 4002;BA.debugLine="Private Sub P1_Click";
+ //BA.debugLineNum = 4004;BA.debugLine="End Sub";
return "";
}
public String _recalculoxcant() throws Exception{
@@ -5501,108 +5528,108 @@ int _hjh = 0;
float _recalculo = 0f;
float _recalculototal = 0f;
anywheresoftware.b4a.sql.SQL.CursorWrapper _rangosel2 = null;
- //BA.debugLineNum = 582;BA.debugLine="Sub recalculoXcant";
- //BA.debugLineNum = 584;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 584;BA.debugLine="Sub recalculoXcant";
+ //BA.debugLineNum = 586;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO WHERE PE_CEDIS = ? and PE_RECCEDIS IS NOT NULL AND PE_RECALCULADO IS NULL AND PE_DESC = '0'",new String[]{_subs._traealmacen /*String*/ (ba)})));
- //BA.debugLineNum = 585;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 587;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 586;BA.debugLine="For promespdes = 0 To c.RowCount -1";
+ //BA.debugLineNum = 588;BA.debugLine="For promespdes = 0 To c.RowCount -1";
{
final int step3 = 1;
final int limit3 = (int) (_c.getRowCount()-1);
_promespdes = (int) (0) ;
for (;_promespdes <= limit3 ;_promespdes = _promespdes + step3 ) {
- //BA.debugLineNum = 587;BA.debugLine="c.Position = promespdes";
+ //BA.debugLineNum = 589;BA.debugLine="c.Position = promespdes";
_c.setPosition(_promespdes);
- //BA.debugLineNum = 588;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt.";
+ //BA.debugLineNum = 590;BA.debugLine="Dim rangosel As Cursor= B4XPages.MainPage.skmt.";
_rangosel = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_rangosel = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? AND CAT_PD_RANGO <= ? AND CAT_PD_RANGO2 >= ?",new String[]{_c.GetString("PE_PROID"),BA.NumberToString(_c.GetInt("PE_CANT")),BA.NumberToString(_c.GetInt("PE_CANT"))})));
- //BA.debugLineNum = 589;BA.debugLine="If rangosel.RowCount > 0 Then";
+ //BA.debugLineNum = 591;BA.debugLine="If rangosel.RowCount > 0 Then";
if (_rangosel.getRowCount()>0) {
- //BA.debugLineNum = 590;BA.debugLine="For hjh = 0 To rangosel.RowCount-1";
+ //BA.debugLineNum = 592;BA.debugLine="For hjh = 0 To rangosel.RowCount-1";
{
final int step7 = 1;
final int limit7 = (int) (_rangosel.getRowCount()-1);
_hjh = (int) (0) ;
for (;_hjh <= limit7 ;_hjh = _hjh + step7 ) {
- //BA.debugLineNum = 591;BA.debugLine="rangosel.Position = hjh";
+ //BA.debugLineNum = 593;BA.debugLine="rangosel.Position = hjh";
_rangosel.setPosition(_hjh);
- //BA.debugLineNum = 592;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains";
+ //BA.debugLineNum = 594;BA.debugLine="If rangosel.GetString(\"CAT_PD_TIER\").Contains";
if (_rangosel.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) {
- //BA.debugLineNum = 593;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
-__c.LogImpl("73801099",_c.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 594;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
-__c.LogImpl("73801100",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
- //BA.debugLineNum = 595;BA.debugLine="Private recalculo As Float = c.GetString(\"PE";
+ //BA.debugLineNum = 595;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
+__c.LogImpl("43801099",_c.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 596;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
+__c.LogImpl("43801100",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
+ //BA.debugLineNum = 597;BA.debugLine="Private recalculo As Float = c.GetString(\"PE";
_recalculo = (float) ((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False))));
- //BA.debugLineNum = 596;BA.debugLine="LogColor(recalculo,Colors.Blue)";
-__c.LogImpl("73801102",BA.NumberToString(_recalculo),__c.Colors.Blue);
- //BA.debugLineNum = 597;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
-__c.LogImpl("73801103",_c.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 598;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")";
-__c.LogImpl("73801104",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
- //BA.debugLineNum = 599;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
-__c.LogImpl("73801105",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
- //BA.debugLineNum = 600;BA.debugLine="Private recalculototal As Float =c.GetString";
+ //BA.debugLineNum = 598;BA.debugLine="LogColor(recalculo,Colors.Blue)";
+__c.LogImpl("43801102",BA.NumberToString(_recalculo),__c.Colors.Blue);
+ //BA.debugLineNum = 599;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
+__c.LogImpl("43801103",_c.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 600;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\")";
+__c.LogImpl("43801104",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
+ //BA.debugLineNum = 601;BA.debugLine="Log(rangosel.GetString(\"CAT_PD_DESCUENTO\"))";
+__c.LogImpl("43801105",_rangosel.GetString("CAT_PD_DESCUENTO"),0);
+ //BA.debugLineNum = 602;BA.debugLine="Private recalculototal As Float =c.GetString";
_recalculototal = (float) ((double)(Double.parseDouble(_c.GetString("PE_CANT")))*_recalculo);
- //BA.debugLineNum = 601;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
+ //BA.debugLineNum = 603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = PE_CANT, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? and PE_FOLIO = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel.GetString("CAT_PD_COD_PROMO"),_c.GetString("PE_PROID"),_c.GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")}));
};
}
};
}else {
- //BA.debugLineNum = 605;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm";
+ //BA.debugLineNum = 607;BA.debugLine="Dim rangosel2 As Cursor= B4XPages.MainPage.skm";
_rangosel2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_rangosel2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO = ? and ? > cat_pd_rango2",new String[]{_c.GetString("PE_PROID"),BA.NumberToString(_c.GetInt("PE_CANT"))})));
- //BA.debugLineNum = 607;BA.debugLine="If rangosel2.RowCount > 0 Then";
+ //BA.debugLineNum = 609;BA.debugLine="If rangosel2.RowCount > 0 Then";
if (_rangosel2.getRowCount()>0) {
- //BA.debugLineNum = 609;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1";
+ //BA.debugLineNum = 611;BA.debugLine="For hjh = 0 To rangosel2.RowCount-1";
{
final int step24 = 1;
final int limit24 = (int) (_rangosel2.getRowCount()-1);
_hjh = (int) (0) ;
for (;_hjh <= limit24 ;_hjh = _hjh + step24 ) {
- //BA.debugLineNum = 610;BA.debugLine="rangosel2.Position = hjh";
+ //BA.debugLineNum = 612;BA.debugLine="rangosel2.Position = hjh";
_rangosel2.setPosition(_hjh);
- //BA.debugLineNum = 611;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai";
+ //BA.debugLineNum = 613;BA.debugLine="If rangosel2.GetString(\"CAT_PD_TIER\").Contai";
if (_rangosel2.GetString("CAT_PD_TIER").contains(BA.NumberToString(_subs._traetipocliente /*int*/ (ba)))) {
- //BA.debugLineNum = 612;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
-__c.LogImpl("73801118",_c.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 613;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
-__c.LogImpl("73801119",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
- //BA.debugLineNum = 614;BA.debugLine="Private recalculo As Float = c.GetString(\"P";
+ //BA.debugLineNum = 614;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
+__c.LogImpl("43801118",_c.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 615;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
+__c.LogImpl("43801119",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
+ //BA.debugLineNum = 616;BA.debugLine="Private recalculo As Float = c.GetString(\"P";
_recalculo = (float) ((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))-(double)(Double.parseDouble(__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False))));
- //BA.debugLineNum = 615;BA.debugLine="LogColor(recalculo,Colors.Blue)";
-__c.LogImpl("73801121",BA.NumberToString(_recalculo),__c.Colors.Blue);
- //BA.debugLineNum = 616;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
-__c.LogImpl("73801122",_c.GetString("PE_COSTOU"),0);
- //BA.debugLineNum = 617;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\"";
-__c.LogImpl("73801123",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
- //BA.debugLineNum = 618;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
-__c.LogImpl("73801124",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
- //BA.debugLineNum = 619;BA.debugLine="Private recalculototal As Float = rangosel2";
+ //BA.debugLineNum = 617;BA.debugLine="LogColor(recalculo,Colors.Blue)";
+__c.LogImpl("43801121",BA.NumberToString(_recalculo),__c.Colors.Blue);
+ //BA.debugLineNum = 618;BA.debugLine="Log(c.GetString(\"PE_COSTOU\"))";
+__c.LogImpl("43801122",_c.GetString("PE_COSTOU"),0);
+ //BA.debugLineNum = 619;BA.debugLine="Log(NumberFormat2(((c.GetString(\"PE_COSTOU\"";
+__c.LogImpl("43801123",__c.NumberFormat2((((double)(Double.parseDouble(_c.GetString("PE_COSTOU")))*(double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_DESCUENTO"))))/(double)100),(int) (0),(int) (2),(int) (2),__c.False),0);
+ //BA.debugLineNum = 620;BA.debugLine="Log(rangosel2.GetString(\"CAT_PD_DESCUENTO\")";
+__c.LogImpl("43801124",_rangosel2.GetString("CAT_PD_DESCUENTO"),0);
+ //BA.debugLineNum = 621;BA.debugLine="Private recalculototal As Float = rangosel2";
_recalculototal = (float) ((double)(Double.parseDouble(_rangosel2.GetString("CAT_PD_RANGO2")))*_recalculo);
- //BA.debugLineNum = 622;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDAT";
+ //BA.debugLineNum = 624;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDAT";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = ?, PE_RECALCULOTOT = ?, PE_RECCEDIS = ?, PE_RECCANT = ? , PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.NumberFormat2(_recalculo,(int) (0),(int) (2),(int) (2),__c.False),__c.NumberFormat2(_recalculototal,(int) (0),(int) (2),(int) (2),__c.False),_rangosel2.GetString("CAT_PD_COD_PROMO"),_rangosel2.GetString("CAT_PD_RANGO2"),_c.GetString("PE_PROID"),_c.GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")}));
};
}
};
}else {
- //BA.debugLineNum = 626;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
+ //BA.debugLineNum = 628;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_PROID = ? AND PE_CLIENTE = ? AND PE_CEDIS = ? AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_c.GetString("PE_PROID"),_c.GetString("PE_CLIENTE"),_subs._traealmacen /*String*/ (ba),_c.GetString("PE_FOLIO")}));
};
- //BA.debugLineNum = 628;BA.debugLine="rangosel2.Close";
+ //BA.debugLineNum = 630;BA.debugLine="rangosel2.Close";
_rangosel2.Close();
};
- //BA.debugLineNum = 630;BA.debugLine="rangosel.Close";
+ //BA.debugLineNum = 632;BA.debugLine="rangosel.Close";
_rangosel.Close();
}
};
};
- //BA.debugLineNum = 633;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE PEDI";
+ //BA.debugLineNum = 635;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE PEDI";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO set PE_RECALCULO = NULL, PE_RECALCULOTOT = NULL, PE_RECCEDIS = NULL, PE_RECCANT = NULL, PE_RECALCULADO = 1 WHERE PE_CEDIS <> ? AND PE_RECALCULADO IS NULL ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_subs._traealmacen /*String*/ (ba)}));
- //BA.debugLineNum = 634;BA.debugLine="End Sub";
+ //BA.debugLineNum = 636;BA.debugLine="End Sub";
return "";
}
public String _resdia_click() throws Exception{
@@ -5622,654 +5649,668 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _ru_s = null;
String _rusu = "";
String _cuantos_obj = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _s7 = null;
-int _totalstick = 0;
+double _totalstick = 0;
int _sfsdf = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s8 = null;
int _totaltotaltot = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _s0 = null;
- //BA.debugLineNum = 3298;BA.debugLine="Sub resdia_Click";
- //BA.debugLineNum = 3300;BA.debugLine="Btn_Ubicar.Visible=False";
+double _pp = 0;
+int _lksahdjgsad = 0;
+anywheresoftware.b4a.sql.SQL.CursorWrapper _s9 = null;
+ //BA.debugLineNum = 3319;BA.debugLine="Sub resdia_Click";
+ //BA.debugLineNum = 3321;BA.debugLine="Btn_Ubicar.Visible=False";
_btn_ubicar.setVisible(__c.False);
- //BA.debugLineNum = 3301;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews";
+ //BA.debugLineNum = 3322;BA.debugLine="SCROLL_RESDIA.Panel.RemoveAllViews";
_scroll_resdia.getPanel().RemoveAllViews();
- //BA.debugLineNum = 3302;BA.debugLine="SCROLL_RESDIA.Visible = True";
+ //BA.debugLineNum = 3323;BA.debugLine="SCROLL_RESDIA.Visible = True";
_scroll_resdia.setVisible(__c.True);
- //BA.debugLineNum = 3303;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")";
+ //BA.debugLineNum = 3324;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")";
_scroll_resdia.getPanel().LoadLayout("RESDIA",ba);
- //BA.debugLineNum = 3304;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height";
+ //BA.debugLineNum = 3325;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height";
_scroll_resdia.getPanel().setHeight(_panel4.getHeight());
- //BA.debugLineNum = 3305;BA.debugLine="Panel4.Visible = True";
+ //BA.debugLineNum = 3326;BA.debugLine="Panel4.Visible = True";
_panel4.setVisible(__c.True);
- //BA.debugLineNum = 3307;BA.debugLine="NUEVO.Visible =False";
+ //BA.debugLineNum = 3328;BA.debugLine="NUEVO.Visible =False";
_nuevo.setVisible(__c.False);
- //BA.debugLineNum = 3308;BA.debugLine="BUSCA.Visible=False";
+ //BA.debugLineNum = 3329;BA.debugLine="BUSCA.Visible=False";
_busca.setVisible(__c.False);
- //BA.debugLineNum = 3309;BA.debugLine="connecta.Visible=False";
+ //BA.debugLineNum = 3330;BA.debugLine="connecta.Visible=False";
_connecta.setVisible(__c.False);
- //BA.debugLineNum = 3310;BA.debugLine="Subir.Visible=False";
+ //BA.debugLineNum = 3331;BA.debugLine="Subir.Visible=False";
_subir.setVisible(__c.False);
- //BA.debugLineNum = 3311;BA.debugLine="cargar.Visible=False";
+ //BA.debugLineNum = 3332;BA.debugLine="cargar.Visible=False";
_cargar.setVisible(__c.False);
- //BA.debugLineNum = 3312;BA.debugLine="Resumen.Visible= False";
+ //BA.debugLineNum = 3333;BA.debugLine="Resumen.Visible= False";
_resumen.setVisible(__c.False);
- //BA.debugLineNum = 3314;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT";
+ //BA.debugLineNum = 3335;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"})));
- //BA.debugLineNum = 3315;BA.debugLine="d.Position = 0";
+ //BA.debugLineNum = 3336;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3316;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 3337;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")";
_l_encuesta.setText(BA.ObjectToCharSequence(_d.GetString("CUANTOS")));
- //BA.debugLineNum = 3317;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3338;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3319;BA.debugLine="L_MARCAS.CLEAR";
+ //BA.debugLineNum = 3340;BA.debugLine="L_MARCAS.CLEAR";
_l_marcas.Clear();
- //BA.debugLineNum = 3320;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti";
+ //BA.debugLineNum = 3341;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"})));
- //BA.debugLineNum = 3321;BA.debugLine="If D.RowCount>0 Then";
+ //BA.debugLineNum = 3342;BA.debugLine="If D.RowCount>0 Then";
if (_d.getRowCount()>0) {
- //BA.debugLineNum = 3322;BA.debugLine="For i=0 To D.RowCount -1";
+ //BA.debugLineNum = 3343;BA.debugLine="For i=0 To D.RowCount -1";
{
final int step20 = 1;
final int limit20 = (int) (_d.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit20 ;_i = _i + step20 ) {
- //BA.debugLineNum = 3323;BA.debugLine="D.Position=i";
+ //BA.debugLineNum = 3344;BA.debugLine="D.Position=i";
_d.setPosition(_i);
- //BA.debugLineNum = 3324;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select HE";
+ //BA.debugLineNum = 3345;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select HE";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select HE_RES from HIST_ENCUESTA where HE_CLIE = ? AND HE_TIPO = ?",new String[]{_d.GetString("CLIENTE"),"TELEFONO"})));
- //BA.debugLineNum = 3325;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3346;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3326;BA.debugLine="Dim label1 As Label";
+ //BA.debugLineNum = 3347;BA.debugLine="Dim label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 3327;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label";
+ //BA.debugLineNum = 3348;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label";
_label1 = _l_marcas.getTwoLinesLayout().Label;
- //BA.debugLineNum = 3328;BA.debugLine="label1.TextSize = 13";
+ //BA.debugLineNum = 3349;BA.debugLine="label1.TextSize = 13";
_label1.setTextSize((float) (13));
- //BA.debugLineNum = 3329;BA.debugLine="label1.TextColor = Colors.Black";
+ //BA.debugLineNum = 3350;BA.debugLine="label1.TextColor = Colors.Black";
_label1.setTextColor(__c.Colors.Black);
- //BA.debugLineNum = 3330;BA.debugLine="Dim Label2 As Label";
+ //BA.debugLineNum = 3351;BA.debugLine="Dim Label2 As Label";
_label2 = new anywheresoftware.b4a.objects.LabelWrapper();
- //BA.debugLineNum = 3331;BA.debugLine="Label2 = L_MARCAS.TwoLinesLayout.SecondLabel";
+ //BA.debugLineNum = 3352;BA.debugLine="Label2 = L_MARCAS.TwoLinesLayout.SecondLabel";
_label2 = _l_marcas.getTwoLinesLayout().SecondLabel;
- //BA.debugLineNum = 3332;BA.debugLine="Label2.TextSize = 13";
+ //BA.debugLineNum = 3353;BA.debugLine="Label2.TextSize = 13";
_label2.setTextSize((float) (13));
- //BA.debugLineNum = 3333;BA.debugLine="Label2.TextColor = Colors.Black";
+ //BA.debugLineNum = 3354;BA.debugLine="Label2.TextColor = Colors.Black";
_label2.setTextColor(__c.Colors.Black);
- //BA.debugLineNum = 3334;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE";
+ //BA.debugLineNum = 3355;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE";
_l_marcas.AddTwoLines(BA.ObjectToCharSequence(_d.GetString("CLIENTE")),BA.ObjectToCharSequence("TELEFONO :"+_c.GetString("HE_RES")));
- //BA.debugLineNum = 3335;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3356;BA.debugLine="c.Close";
_c.Close();
}
};
};
- //BA.debugLineNum = 3338;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3359;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3340;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
+ //BA.debugLineNum = 3361;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPO = ? )"),new String[]{"RTEC"})));
- //BA.debugLineNum = 3341;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3362;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3342;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")";
+ //BA.debugLineNum = 3363;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")";
_l_monto_k.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA")));
- //BA.debugLineNum = 3343;BA.debugLine="If l_monto_k.Text = \"null\" Then";
+ //BA.debugLineNum = 3364;BA.debugLine="If l_monto_k.Text = \"null\" Then";
if ((_l_monto_k.getText()).equals("null")) {
- //BA.debugLineNum = 3344;BA.debugLine="l_monto_k.Text = \"0\"";
+ //BA.debugLineNum = 3365;BA.debugLine="l_monto_k.Text = \"0\"";
_l_monto_k.setText(BA.ObjectToCharSequence("0"));
};
- //BA.debugLineNum = 3346;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3367;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3348;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
+ //BA.debugLineNum = 3369;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPO = ? )"),new String[]{"PING"})));
- //BA.debugLineNum = 3349;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3370;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3350;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")";
+ //BA.debugLineNum = 3371;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")";
_l_monto_kp.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA")));
- //BA.debugLineNum = 3351;BA.debugLine="If l_monto_kp.Text = \"null\" Then";
+ //BA.debugLineNum = 3372;BA.debugLine="If l_monto_kp.Text = \"null\" Then";
if ((_l_monto_kp.getText()).equals("null")) {
- //BA.debugLineNum = 3352;BA.debugLine="l_monto_kp.Text = \"0\"";
+ //BA.debugLineNum = 3373;BA.debugLine="l_monto_kp.Text = \"0\"";
_l_monto_kp.setText(BA.ObjectToCharSequence("0"));
};
- //BA.debugLineNum = 3354;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3375;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3364;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(P";
+ //BA.debugLineNum = 3385;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(P";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 ")));
- //BA.debugLineNum = 3365;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3386;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3366;BA.debugLine="l_monto_ks.Text = c.GetString(\"MONTO_DIA\")";
+ //BA.debugLineNum = 3387;BA.debugLine="l_monto_ks.Text = c.GetString(\"MONTO_DIA\")";
_l_monto_ks.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA")));
- //BA.debugLineNum = 3367;BA.debugLine="If l_monto_ks.Text = \"null\" Then";
+ //BA.debugLineNum = 3388;BA.debugLine="If l_monto_ks.Text = \"null\" Then";
if ((_l_monto_ks.getText()).equals("null")) {
- //BA.debugLineNum = 3368;BA.debugLine="l_monto_ks.Text = \"0\"";
+ //BA.debugLineNum = 3389;BA.debugLine="l_monto_ks.Text = \"0\"";
_l_monto_ks.setText(BA.ObjectToCharSequence("0"));
};
- //BA.debugLineNum = 3370;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3391;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3395;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3416;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO")));
- //BA.debugLineNum = 3397;BA.debugLine="If s3.RowCount > 0 Then";
+ //BA.debugLineNum = 3418;BA.debugLine="If s3.RowCount > 0 Then";
if (_s3.getRowCount()>0) {
- //BA.debugLineNum = 3398;BA.debugLine="Private total1 As String = 0";
+ //BA.debugLineNum = 3419;BA.debugLine="Private total1 As String = 0";
_total1 = BA.NumberToString(0);
- //BA.debugLineNum = 3399;BA.debugLine="For i = 0 To s3.RowCount - 1";
+ //BA.debugLineNum = 3420;BA.debugLine="For i = 0 To s3.RowCount - 1";
{
final int step61 = 1;
final int limit61 = (int) (_s3.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit61 ;_i = _i + step61 ) {
- //BA.debugLineNum = 3400;BA.debugLine="s3.Position = i";
+ //BA.debugLineNum = 3421;BA.debugLine="s3.Position = i";
_s3.setPosition(_i);
- //BA.debugLineNum = 3402;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3423;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan";
_total1 = BA.NumberToString((double)(Double.parseDouble(_total1))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_s3.GetString("PE_CLIENTE")))));
}
};
- //BA.debugLineNum = 3406;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)";
+ //BA.debugLineNum = 3427;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)";
_l_real.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total1)),(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3408;BA.debugLine="L_REAL.Text = 0";
+ //BA.debugLineNum = 3429;BA.debugLine="L_REAL.Text = 0";
_l_real.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3412;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3433;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO")));
- //BA.debugLineNum = 3414;BA.debugLine="If s5.RowCount > 0 Then";
+ //BA.debugLineNum = 3435;BA.debugLine="If s5.RowCount > 0 Then";
if (_s5.getRowCount()>0) {
- //BA.debugLineNum = 3415;BA.debugLine="Private total4 As String = 0";
+ //BA.debugLineNum = 3436;BA.debugLine="Private total4 As String = 0";
_total4 = BA.NumberToString(0);
- //BA.debugLineNum = 3416;BA.debugLine="For i = 0 To s5.RowCount - 1";
+ //BA.debugLineNum = 3437;BA.debugLine="For i = 0 To s5.RowCount - 1";
{
final int step72 = 1;
final int limit72 = (int) (_s5.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit72 ;_i = _i + step72 ) {
- //BA.debugLineNum = 3417;BA.debugLine="s5.Position = i";
+ //BA.debugLineNum = 3438;BA.debugLine="s5.Position = i";
_s5.setPosition(_i);
- //BA.debugLineNum = 3419;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3440;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_s5.GetString("PE_CLIENTE")))));
}
};
- //BA.debugLineNum = 3423;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,";
+ //BA.debugLineNum = 3444;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,";
_l_preacordada.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3425;BA.debugLine="l_preacordada.Text = 0";
+ //BA.debugLineNum = 3446;BA.debugLine="l_preacordada.Text = 0";
_l_preacordada.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3428;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3449;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO")));
- //BA.debugLineNum = 3430;BA.debugLine="If s6.RowCount > 0 Then";
+ //BA.debugLineNum = 3451;BA.debugLine="If s6.RowCount > 0 Then";
if (_s6.getRowCount()>0) {
- //BA.debugLineNum = 3431;BA.debugLine="Private total3 As String = 0";
+ //BA.debugLineNum = 3452;BA.debugLine="Private total3 As String = 0";
_total3 = BA.NumberToString(0);
- //BA.debugLineNum = 3432;BA.debugLine="For i = 0 To s6.RowCount - 1";
+ //BA.debugLineNum = 3453;BA.debugLine="For i = 0 To s6.RowCount - 1";
{
final int step83 = 1;
final int limit83 = (int) (_s6.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit83 ;_i = _i + step83 ) {
- //BA.debugLineNum = 3433;BA.debugLine="s6.Position = i";
+ //BA.debugLineNum = 3454;BA.debugLine="s6.Position = i";
_s6.setPosition(_i);
- //BA.debugLineNum = 3435;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3456;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan";
_total3 = BA.NumberToString((double)(Double.parseDouble(_total3))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_s6.GetString("PE_CLIENTE")))));
}
};
- //BA.debugLineNum = 3439;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa";
+ //BA.debugLineNum = 3460;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa";
_l_prevtotal.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total3)),(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3441;BA.debugLine="l_prevtotal.Text = 0";
+ //BA.debugLineNum = 3462;BA.debugLine="l_prevtotal.Text = 0";
_l_prevtotal.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3458;BA.debugLine="Private ru_o As Cursor = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 3479;BA.debugLine="Private ru_o As Cursor = B4XPages.MainPage.skmt.E";
_ru_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_ru_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT distinct pe_cliente, pe_ruta FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA IS NULL",(String[])(__c.Null))));
- //BA.debugLineNum = 3460;BA.debugLine="Log(\"##### \" & ru_o.RowCount)";
-__c.LogImpl("75046434","##### "+BA.NumberToString(_ru_o.getRowCount()),0);
- //BA.debugLineNum = 3461;BA.debugLine="Private total2 As String = 0";
+ //BA.debugLineNum = 3482;BA.debugLine="Private total2 As String = 0";
_total2 = BA.NumberToString(0);
- //BA.debugLineNum = 3462;BA.debugLine="If ru_o.RowCount > 0 Then";
+ //BA.debugLineNum = 3483;BA.debugLine="If ru_o.RowCount > 0 Then";
if (_ru_o.getRowCount()>0) {
- //BA.debugLineNum = 3463;BA.debugLine="For i2 = 0 To ru_o.RowCount - 1";
+ //BA.debugLineNum = 3484;BA.debugLine="For i2 = 0 To ru_o.RowCount - 1";
{
-final int step95 = 1;
-final int limit95 = (int) (_ru_o.getRowCount()-1);
+final int step94 = 1;
+final int limit94 = (int) (_ru_o.getRowCount()-1);
_i2 = (int) (0) ;
-for (;_i2 <= limit95 ;_i2 = _i2 + step95 ) {
- //BA.debugLineNum = 3464;BA.debugLine="ru_o.Position = i2";
+for (;_i2 <= limit94 ;_i2 = _i2 + step94 ) {
+ //BA.debugLineNum = 3485;BA.debugLine="ru_o.Position = i2";
_ru_o.setPosition(_i2);
- //BA.debugLineNum = 3466;BA.debugLine="Private rutOr As String = ru_o.GetString(\"PE_RU";
+ //BA.debugLineNum = 3487;BA.debugLine="Private rutOr As String = ru_o.GetString(\"PE_RU";
_rutor = _ru_o.GetString("PE_RUTA");
- //BA.debugLineNum = 3468;BA.debugLine="total2 = total2 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3489;BA.debugLine="total2 = total2 + Subs.calculaTotalConPromoXRan";
_total2 = BA.NumberToString((double)(Double.parseDouble(_total2))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_ru_o.GetString("PE_CLIENTE")))));
}
};
};
- //BA.debugLineNum = 3472;BA.debugLine="l_ru_pri.Text = NumberFormat2(total2,0,2,2,False)";
+ //BA.debugLineNum = 3493;BA.debugLine="l_ru_pri.Text = NumberFormat2(total2,0,2,2,False)";
_l_ru_pri.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total2)),(int) (0),(int) (2),(int) (2),__c.False)));
- //BA.debugLineNum = 3475;BA.debugLine="Private ru_s As Cursor = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 3496;BA.debugLine="Private ru_s As Cursor = B4XPages.MainPage.skmt.E";
_ru_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_ru_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT IFNULL(PE_RUTA, 0) As PE_RUTA, IFNULL(SUM(PE_COSTO_TOT), 0) As TOTAL_CLIE FROM PEDIDO LEFT JOIN RUTA_SUPLENCIA ON PE_RUTA = RS_RUTA WHERE RS_RUTA Is Not Null",(String[])(__c.Null))));
- //BA.debugLineNum = 3476;BA.debugLine="ru_s.Position = 0";
+ //BA.debugLineNum = 3497;BA.debugLine="ru_s.Position = 0";
_ru_s.setPosition((int) (0));
- //BA.debugLineNum = 3477;BA.debugLine="If ru_s.GetString(\"PE_RUTA\") = 0 Then";
+ //BA.debugLineNum = 3498;BA.debugLine="If ru_s.GetString(\"PE_RUTA\") = 0 Then";
if ((_ru_s.GetString("PE_RUTA")).equals(BA.NumberToString(0))) {
}else {
- //BA.debugLineNum = 3480;BA.debugLine="Private RuSu As String = ru_s.GetString(\"PE_RUTA";
+ //BA.debugLineNum = 3501;BA.debugLine="Private RuSu As String = ru_s.GetString(\"PE_RUTA";
_rusu = _ru_s.GetString("PE_RUTA");
- //BA.debugLineNum = 3482;BA.debugLine="ru_s.Position = 0";
+ //BA.debugLineNum = 3503;BA.debugLine="ru_s.Position = 0";
_ru_s.setPosition((int) (0));
- //BA.debugLineNum = 3483;BA.debugLine="l_ru_sup.Text = NumberFormat2(ru_s.GetDouble(\"TO";
+ //BA.debugLineNum = 3504;BA.debugLine="l_ru_sup.Text = NumberFormat2(ru_s.GetDouble(\"TO";
_l_ru_sup.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_ru_s.GetDouble("TOTAL_CLIE"),(int) (0),(int) (2),(int) (2),__c.False)));
};
- //BA.debugLineNum = 3485;BA.debugLine="ru_s.Close";
+ //BA.debugLineNum = 3506;BA.debugLine="ru_s.Close";
_ru_s.Close();
- //BA.debugLineNum = 3487;BA.debugLine="Dim cuantos_obj As String";
+ //BA.debugLineNum = 3508;BA.debugLine="Dim cuantos_obj As String";
_cuantos_obj = "";
- //BA.debugLineNum = 3488;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count";
+ //BA.debugLineNum = 3509;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) AS TOTAL from HIST_MARCAS_CUOTAS ")));
- //BA.debugLineNum = 3489;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3510;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3490;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")";
+ //BA.debugLineNum = 3511;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")";
_cuantos_obj = _c.GetString("TOTAL");
- //BA.debugLineNum = 3491;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3512;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3493;BA.debugLine="If cuantos_obj > 0 Then";
+ //BA.debugLineNum = 3514;BA.debugLine="If cuantos_obj > 0 Then";
if ((double)(Double.parseDouble(_cuantos_obj))>0) {
- //BA.debugLineNum = 3494;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM(";
+ //BA.debugLineNum = 3515;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM(";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select SUM(HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS ")));
- //BA.debugLineNum = 3495;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3516;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3496;BA.debugLine="If c.GetString(\"TOTAL\") > 0 Then";
+ //BA.debugLineNum = 3517;BA.debugLine="If c.GetString(\"TOTAL\") > 0 Then";
if ((double)(Double.parseDouble(_c.GetString("TOTAL")))>0) {
- //BA.debugLineNum = 3497;BA.debugLine="L_NES.Text = Round(c.GetString(\"TOTAL\") / 25)";
+ //BA.debugLineNum = 3518;BA.debugLine="L_NES.Text = Round(c.GetString(\"TOTAL\") / 25)";
_l_nes.setText(BA.ObjectToCharSequence(__c.Round((double)(Double.parseDouble(_c.GetString("TOTAL")))/(double)25)));
}else {
- //BA.debugLineNum = 3499;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")";
+ //BA.debugLineNum = 3520;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")";
_l_nes.setText(BA.ObjectToCharSequence(_c.GetString("TOTAL")));
};
- //BA.debugLineNum = 3501;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3522;BA.debugLine="c.Close";
_c.Close();
};
- //BA.debugLineNum = 3504;BA.debugLine="Log(L_NES.Text)";
-__c.LogImpl("75046478",_l_nes.getText(),0);
- //BA.debugLineNum = 3505;BA.debugLine="Log(L_REAL.Text)";
-__c.LogImpl("75046479",_l_real.getText(),0);
- //BA.debugLineNum = 3509;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text";
+ //BA.debugLineNum = 3525;BA.debugLine="Log(L_NES.Text)";
+__c.LogImpl("45046478",_l_nes.getText(),0);
+ //BA.debugLineNum = 3526;BA.debugLine="Log(L_REAL.Text)";
+__c.LogImpl("45046479",_l_real.getText(),0);
+ //BA.debugLineNum = 3530;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text";
_l_alcance.setText(BA.ObjectToCharSequence(__c.Round2(((double)(Double.parseDouble(_l_nes.getText()))/(double)(double)(Double.parseDouble(_l_real.getText()))+1),(int) (2))));
- //BA.debugLineNum = 3510;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text";
+ //BA.debugLineNum = 3531;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text";
_l_vplan.setText(BA.ObjectToCharSequence(_l_porvisitar.getText()));
- //BA.debugLineNum = 3511;BA.debugLine="L_VREAL.Text = L_CUANTOST.text";
+ //BA.debugLineNum = 3532;BA.debugLine="L_VREAL.Text = L_CUANTOST.text";
_l_vreal.setText(BA.ObjectToCharSequence(_l_cuantost.getText()));
- //BA.debugLineNum = 3512;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T";
+ //BA.debugLineNum = 3533;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T";
_l_efec_vis.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_vreal.getText()))/(double)(double)(Double.parseDouble(_l_vplan.getText())),(int) (2))));
- //BA.debugLineNum = 3513;BA.debugLine="L_VISITCC.Text = l_cuantosc.text";
+ //BA.debugLineNum = 3534;BA.debugLine="L_VISITCC.Text = l_cuantosc.text";
_l_visitcc.setText(BA.ObjectToCharSequence(_l_cuantosc.getText()));
- //BA.debugLineNum = 3514;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL.";
+ //BA.debugLineNum = 3535;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL.";
_l_efec_pv.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_vreal.getText())),(int) (2))));
- //BA.debugLineNum = 3515;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA";
+ //BA.debugLineNum = 3536;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA";
_l_efec_pura.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_vplan.getText())),(int) (2))));
- //BA.debugLineNum = 3516;BA.debugLine="l_preventa.Text = Subs.calculaTotalConPromoXRango";
+ //BA.debugLineNum = 3537;BA.debugLine="l_preventa.Text = Subs.calculaTotalConPromoXRango";
_l_preventa.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_subs._traecliente /*String*/ (ba))));
- //BA.debugLineNum = 3517;BA.debugLine="l_futura.Text = Subs.calculaTotalConPromoXRango1(";
+ //BA.debugLineNum = 3538;BA.debugLine="l_futura.Text = Subs.calculaTotalConPromoXRango1(";
_l_futura.setText(BA.ObjectToCharSequence(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_subs._traecliente /*String*/ (ba))));
- //BA.debugLineNum = 3518;BA.debugLine="L_LIN_TICK.Text = LPT";
+ //BA.debugLineNum = 3539;BA.debugLine="L_LIN_TICK.Text = LPT";
_l_lin_tick.setText(BA.ObjectToCharSequence(_lpt));
- //BA.debugLineNum = 3519;BA.debugLine="If l_monto_ks.Text <> \"0\" Then";
+ //BA.debugLineNum = 3540;BA.debugLine="If l_monto_ks.Text <> \"0\" Then";
if ((_l_monto_ks.getText()).equals("0") == false) {
- //BA.debugLineNum = 3520;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select COU";
+ //BA.debugLineNum = 3541;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select COU";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = ? ",new String[]{_almacen})));
- //BA.debugLineNum = 3521;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3542;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3522;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 3543;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")";
_l_cte_promo.setText(BA.ObjectToCharSequence(_c.GetString("CUANTOS")));
- //BA.debugLineNum = 3523;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3544;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3524;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
+ //BA.debugLineNum = 3545;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"PRIORITARIO"})));
- //BA.debugLineNum = 3525;BA.debugLine="d.Position = 0";
+ //BA.debugLineNum = 3546;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3534;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")";
+ //BA.debugLineNum = 3555;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")";
_l_prio.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA")));
- //BA.debugLineNum = 3535;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3556;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3537;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
+ //BA.debugLineNum = 3558;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"ESTRATEGICO"})));
- //BA.debugLineNum = 3538;BA.debugLine="d.Position = 0";
+ //BA.debugLineNum = 3559;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3539;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")";
+ //BA.debugLineNum = 3560;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")";
_l_secund.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA")));
- //BA.debugLineNum = 3540;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3561;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3542;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
+ //BA.debugLineNum = 3563;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"Select sum";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_TIPOPROD = ?) "),new String[]{"COMPLEMENTARIO"})));
- //BA.debugLineNum = 3543;BA.debugLine="d.Position = 0";
+ //BA.debugLineNum = 3564;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3544;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")";
+ //BA.debugLineNum = 3565;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")";
_l_comp.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA")));
- //BA.debugLineNum = 3545;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3566;BA.debugLine="d.Close";
_d.Close();
}else {
- //BA.debugLineNum = 3547;BA.debugLine="L_PRIO.Text = \"0\"";
+ //BA.debugLineNum = 3568;BA.debugLine="L_PRIO.Text = \"0\"";
_l_prio.setText(BA.ObjectToCharSequence("0"));
- //BA.debugLineNum = 3548;BA.debugLine="L_SECUND.Text = \"0\"";
+ //BA.debugLineNum = 3569;BA.debugLine="L_SECUND.Text = \"0\"";
_l_secund.setText(BA.ObjectToCharSequence("0"));
- //BA.debugLineNum = 3549;BA.debugLine="L_COMP.Text = \"0\"";
+ //BA.debugLineNum = 3570;BA.debugLine="L_COMP.Text = \"0\"";
_l_comp.setText(BA.ObjectToCharSequence("0"));
};
- //BA.debugLineNum = 3552;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT";
+ //BA.debugLineNum = 3573;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID ")));
- //BA.debugLineNum = 3553;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 3574;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 3554;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
+ //BA.debugLineNum = 3575;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) {
- //BA.debugLineNum = 3555;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(";
+ //BA.debugLineNum = 3576;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID ")));
- //BA.debugLineNum = 3556;BA.debugLine="d.Position = 0";
+ //BA.debugLineNum = 3577;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3557;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")";
+ //BA.debugLineNum = 3578;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")";
_l_cte_promo.setText(BA.ObjectToCharSequence(_d.GetString("CUANTOS")));
- //BA.debugLineNum = 3558;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3579;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3559;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C";
+ //BA.debugLineNum = 3580;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C";
_l_reden_promo.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_cte_promo.getText())),(int) (2))));
}else {
- //BA.debugLineNum = 3561;BA.debugLine="L_CTE_PROMO.Text = 0";
+ //BA.debugLineNum = 3582;BA.debugLine="L_CTE_PROMO.Text = 0";
_l_cte_promo.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3562;BA.debugLine="L_REDEN_PROMO.Text = 0";
+ //BA.debugLineNum = 3583;BA.debugLine="L_REDEN_PROMO.Text = 0";
_l_reden_promo.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3564;BA.debugLine="c.Close";
+ //BA.debugLineNum = 3585;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 3565;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT";
+ //BA.debugLineNum = 3586;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO ")));
- //BA.debugLineNum = 3566;BA.debugLine="d.Position = 0";
+ //BA.debugLineNum = 3587;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3567;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /";
+ //BA.debugLineNum = 3588;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /";
_l_lin_tick.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_d.GetString("CUANTOS")))/(double)(double)(Double.parseDouble(_l_visitcc.getText())),(int) (2))));
- //BA.debugLineNum = 3568;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3589;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3570;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select count";
+ //BA.debugLineNum = 3591;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select count";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from HIST_CUOTAS ")));
- //BA.debugLineNum = 3571;BA.debugLine="d.Position = 0";
+ //BA.debugLineNum = 3592;BA.debugLine="d.Position = 0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 3572;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then";
+ //BA.debugLineNum = 3593;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then";
if ((double)(Double.parseDouble(_d.GetString("CUANTOS")))>0) {
}else {
- //BA.debugLineNum = 3580;BA.debugLine="l_monto_c1.Text = 4000";
+ //BA.debugLineNum = 3601;BA.debugLine="l_monto_c1.Text = 4000";
_l_monto_c1.setText(BA.ObjectToCharSequence(4000));
- //BA.debugLineNum = 3581;BA.debugLine="l_monto_c2.Text = 2000";
+ //BA.debugLineNum = 3602;BA.debugLine="l_monto_c2.Text = 2000";
_l_monto_c2.setText(BA.ObjectToCharSequence(2000));
- //BA.debugLineNum = 3582;BA.debugLine="l_monto_c3.Text = 1000";
+ //BA.debugLineNum = 3603;BA.debugLine="l_monto_c3.Text = 1000";
_l_monto_c3.setText(BA.ObjectToCharSequence(1000));
};
- //BA.debugLineNum = 3584;BA.debugLine="d.Close";
+ //BA.debugLineNum = 3605;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 3589;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3610;BA.debugLine="Private s3 As Cursor = B4XPages.MainPage.skmt.Exe";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO")));
- //BA.debugLineNum = 3591;BA.debugLine="If s3.RowCount > 0 Then";
+ //BA.debugLineNum = 3612;BA.debugLine="If s3.RowCount > 0 Then";
if (_s3.getRowCount()>0) {
- //BA.debugLineNum = 3592;BA.debugLine="Private total1 As String = 0";
+ //BA.debugLineNum = 3613;BA.debugLine="Private total1 As String = 0";
_total1 = BA.NumberToString(0);
- //BA.debugLineNum = 3593;BA.debugLine="For i = 0 To s3.RowCount - 1";
+ //BA.debugLineNum = 3614;BA.debugLine="For i = 0 To s3.RowCount - 1";
{
-final int step189 = 1;
-final int limit189 = (int) (_s3.getRowCount()-1);
+final int step188 = 1;
+final int limit188 = (int) (_s3.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit189 ;_i = _i + step189 ) {
- //BA.debugLineNum = 3594;BA.debugLine="s3.Position = i";
+for (;_i <= limit188 ;_i = _i + step188 ) {
+ //BA.debugLineNum = 3615;BA.debugLine="s3.Position = i";
_s3.setPosition(_i);
- //BA.debugLineNum = 3596;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3617;BA.debugLine="total1 = total1 + Subs.calculaTotalConPromoXRan";
_total1 = BA.NumberToString((double)(Double.parseDouble(_total1))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango /*String*/ (ba,_s3.GetString("PE_CLIENTE")))));
}
};
- //BA.debugLineNum = 3600;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)";
+ //BA.debugLineNum = 3621;BA.debugLine="L_REAL.Text = NumberFormat2( total1,0,2,2,False)";
_l_real.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total1)),(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3602;BA.debugLine="L_REAL.Text = 0";
+ //BA.debugLineNum = 3623;BA.debugLine="L_REAL.Text = 0";
_l_real.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3606;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3627;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO")));
- //BA.debugLineNum = 3608;BA.debugLine="If s5.RowCount > 0 Then";
+ //BA.debugLineNum = 3629;BA.debugLine="If s5.RowCount > 0 Then";
if (_s5.getRowCount()>0) {
- //BA.debugLineNum = 3609;BA.debugLine="Private total4 As String = 0";
+ //BA.debugLineNum = 3630;BA.debugLine="Private total4 As String = 0";
_total4 = BA.NumberToString(0);
- //BA.debugLineNum = 3610;BA.debugLine="For i = 0 To s5.RowCount - 1";
+ //BA.debugLineNum = 3631;BA.debugLine="For i = 0 To s5.RowCount - 1";
{
-final int step200 = 1;
-final int limit200 = (int) (_s5.getRowCount()-1);
+final int step199 = 1;
+final int limit199 = (int) (_s5.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit200 ;_i = _i + step200 ) {
- //BA.debugLineNum = 3611;BA.debugLine="s5.Position = i";
+for (;_i <= limit199 ;_i = _i + step199 ) {
+ //BA.debugLineNum = 3632;BA.debugLine="s5.Position = i";
_s5.setPosition(_i);
- //BA.debugLineNum = 3613;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3634;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango1 /*String*/ (ba,_s5.GetString("PE_CLIENTE")))));
}
};
- //BA.debugLineNum = 3617;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,";
+ //BA.debugLineNum = 3638;BA.debugLine="l_preacordada.Text = NumberFormat2(total4,0,2,2,";
_l_preacordada.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3619;BA.debugLine="l_preacordada.Text = 0";
+ //BA.debugLineNum = 3640;BA.debugLine="l_preacordada.Text = 0";
_l_preacordada.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3622;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3643;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO")));
- //BA.debugLineNum = 3624;BA.debugLine="If s6.RowCount > 0 Then";
+ //BA.debugLineNum = 3645;BA.debugLine="If s6.RowCount > 0 Then";
if (_s6.getRowCount()>0) {
- //BA.debugLineNum = 3625;BA.debugLine="Private total3 As String = 0";
+ //BA.debugLineNum = 3646;BA.debugLine="Private total3 As String = 0";
_total3 = BA.NumberToString(0);
- //BA.debugLineNum = 3626;BA.debugLine="For i = 0 To s6.RowCount - 1";
+ //BA.debugLineNum = 3647;BA.debugLine="For i = 0 To s6.RowCount - 1";
{
-final int step211 = 1;
-final int limit211 = (int) (_s6.getRowCount()-1);
+final int step210 = 1;
+final int limit210 = (int) (_s6.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit211 ;_i = _i + step211 ) {
- //BA.debugLineNum = 3627;BA.debugLine="s6.Position = i";
+for (;_i <= limit210 ;_i = _i + step210 ) {
+ //BA.debugLineNum = 3648;BA.debugLine="s6.Position = i";
_s6.setPosition(_i);
- //BA.debugLineNum = 3629;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3650;BA.debugLine="total3 = total3 + Subs.calculaTotalConPromoXRan";
_total3 = BA.NumberToString((double)(Double.parseDouble(_total3))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango2 /*String*/ (ba,_s6.GetString("PE_CLIENTE")))));
}
};
- //BA.debugLineNum = 3633;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa";
+ //BA.debugLineNum = 3654;BA.debugLine="l_prevtotal.Text = NumberFormat2(total3,0,2,2,Fa";
_l_prevtotal.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total3)),(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3635;BA.debugLine="l_prevtotal.Text = 0";
+ //BA.debugLineNum = 3656;BA.debugLine="l_prevtotal.Text = 0";
_l_prevtotal.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3639;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3660;BA.debugLine="Private s7 As Cursor = B4XPages.MainPage.skmt.Exe";
_s7 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_s7 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select Ifnull(SUM(PE_CANT),0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO') GROUP BY PE_PROID")));
- //BA.debugLineNum = 3640;BA.debugLine="If s7.RowCount > 0 Then";
+_s7 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select Ifnull(PE_CANT,0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')")));
+ //BA.debugLineNum = 3661;BA.debugLine="If s7.RowCount > 0 Then";
if (_s7.getRowCount()>0) {
- //BA.debugLineNum = 3641;BA.debugLine="Dim totalstick As Int = 0";
-_totalstick = (int) (0);
- //BA.debugLineNum = 3642;BA.debugLine="For sfsdf = 0 To s7.RowCount -1";
+ //BA.debugLineNum = 3662;BA.debugLine="Dim totalstick As Double = 0";
+_totalstick = 0;
+ //BA.debugLineNum = 3663;BA.debugLine="For sfsdf = 0 To s7.RowCount -1";
{
-final int step222 = 1;
-final int limit222 = (int) (_s7.getRowCount()-1);
+final int step221 = 1;
+final int limit221 = (int) (_s7.getRowCount()-1);
_sfsdf = (int) (0) ;
-for (;_sfsdf <= limit222 ;_sfsdf = _sfsdf + step222 ) {
- //BA.debugLineNum = 3643;BA.debugLine="s7.Position= sfsdf";
+for (;_sfsdf <= limit221 ;_sfsdf = _sfsdf + step221 ) {
+ //BA.debugLineNum = 3664;BA.debugLine="s7.Position= sfsdf";
_s7.setPosition(_sfsdf);
- //BA.debugLineNum = 3644;BA.debugLine="Log(\"ENTRE AQUI\")";
-__c.LogImpl("75046618","ENTRE AQUI",0);
- //BA.debugLineNum = 3645;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ";
+ //BA.debugLineNum = 3665;BA.debugLine="Log(\"ENTRE AQUI\")";
+__c.LogImpl("45046618","ENTRE AQUI",0);
+ //BA.debugLineNum = 3666;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ";
_s8 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s8 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_s7.GetString("PE_PROID")))+"'"))));
- //BA.debugLineNum = 3646;BA.debugLine="s8.Position = 0";
+ //BA.debugLineNum = 3667;BA.debugLine="s8.Position = 0";
_s8.setPosition((int) (0));
- //BA.debugLineNum = 3647;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN";
-_totalstick = (int) (_totalstick+((double)(Double.parseDouble(_s7.GetString("PE_CANT")))*(double)(Double.parseDouble(_s8.GetString("CAT_GP_CONVERSION3")))));
+ //BA.debugLineNum = 3668;BA.debugLine="totalstick = totalstick + (s7.GetString(\"PE_CAN";
+_totalstick = _totalstick+((double)(Double.parseDouble(_s7.GetString("PE_CANT")))*(double)(Double.parseDouble(_s8.GetString("CAT_GP_CONVERSION3"))));
+ //BA.debugLineNum = 3669;BA.debugLine="Log(totalstick)";
+__c.LogImpl("45046622",BA.NumberToString(_totalstick),0);
}
};
- //BA.debugLineNum = 3649;BA.debugLine="Dim totaltotaltot As Int = totalstick/200";
+ //BA.debugLineNum = 3671;BA.debugLine="Dim totaltotaltot As Int = totalstick/200";
_totaltotaltot = (int) (_totalstick/(double)200);
- //BA.debugLineNum = 3650;BA.debugLine="l_ru_pri.Text = totaltotaltot";
+ //BA.debugLineNum = 3672;BA.debugLine="l_ru_pri.Text = totaltotaltot";
_l_ru_pri.setText(BA.ObjectToCharSequence(_totaltotaltot));
}else {
- //BA.debugLineNum = 3652;BA.debugLine="l_ru_pri.Text = 0";
+ //BA.debugLineNum = 3674;BA.debugLine="l_ru_pri.Text = 0";
_l_ru_pri.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3655;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3677;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select Ifnull(SUM(PE_CANT),0) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')")));
- //BA.debugLineNum = 3656;BA.debugLine="If s0.RowCount > 0 Then";
+_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select Ifnull(PE_CANT,0) AS PE_CANT, PE_PROID FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')")));
+ //BA.debugLineNum = 3678;BA.debugLine="If s0.RowCount > 0 Then";
if (_s0.getRowCount()>0) {
- //BA.debugLineNum = 3658;BA.debugLine="s0.Position = 0";
-_s0.setPosition((int) (0));
- //BA.debugLineNum = 3659;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))";
-__c.LogImpl("75046633",_s0.GetString("PE_CANT"),0);
- //BA.debugLineNum = 3660;BA.debugLine="L_REAL.Text = s0.GetString(\"PE_CANT\")";
-_l_real.setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT")));
+ //BA.debugLineNum = 3680;BA.debugLine="Dim pp As Double = 0";
+_pp = 0;
+ //BA.debugLineNum = 3681;BA.debugLine="For lksahdjgsad = 0 To s0.RowCount -1";
+{
+final int step237 = 1;
+final int limit237 = (int) (_s0.getRowCount()-1);
+_lksahdjgsad = (int) (0) ;
+for (;_lksahdjgsad <= limit237 ;_lksahdjgsad = _lksahdjgsad + step237 ) {
+ //BA.debugLineNum = 3682;BA.debugLine="s0.Position = lksahdjgsad";
+_s0.setPosition(_lksahdjgsad);
+ //BA.debugLineNum = 3683;BA.debugLine="Dim s9 As Cursor = B4XPages.MainPage.skmt.ExecQ";
+_s9 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_s9 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_s0.GetString("PE_PROID")))+"'"))));
+ //BA.debugLineNum = 3684;BA.debugLine="s9.Position = 0";
+_s9.setPosition((int) (0));
+ //BA.debugLineNum = 3686;BA.debugLine="pp = pp + (s0.GetString(\"PE_CANT\")* s9.GetStrin";
+_pp = _pp+((double)(Double.parseDouble(_s0.GetString("PE_CANT")))*(double)(Double.parseDouble(_s9.GetString("CAT_GP_CONVERSION3"))));
+ }
+};
+ //BA.debugLineNum = 3690;BA.debugLine="L_REAL.Text = NumberFormat2(pp,0,2,2,False)";
+_l_real.setText(BA.ObjectToCharSequence(__c.NumberFormat2(_pp,(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3662;BA.debugLine="L_REAL.Text = 0";
+ //BA.debugLineNum = 3692;BA.debugLine="L_REAL.Text = 0";
_l_real.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3665;BA.debugLine="L_NES.Text = 0";
+ //BA.debugLineNum = 3695;BA.debugLine="L_NES.Text = 0";
_l_nes.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3666;BA.debugLine="l_ru_sup.Text = 0";
+ //BA.debugLineNum = 3696;BA.debugLine="l_ru_sup.Text = 0";
_l_ru_sup.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3667;BA.debugLine="L_ALCANCE.Text = 0";
+ //BA.debugLineNum = 3697;BA.debugLine="L_ALCANCE.Text = 0";
_l_alcance.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3668;BA.debugLine="L_VPLAN.Text = 0";
+ //BA.debugLineNum = 3698;BA.debugLine="L_VPLAN.Text = 0";
_l_vplan.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3669;BA.debugLine="L_VREAL.Text = 0";
+ //BA.debugLineNum = 3699;BA.debugLine="L_VREAL.Text = 0";
_l_vreal.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3670;BA.debugLine="L_EFEC_VIS.Text = 0";
+ //BA.debugLineNum = 3700;BA.debugLine="L_EFEC_VIS.Text = 0";
_l_efec_vis.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3671;BA.debugLine="L_VISITCC.Text = 0";
+ //BA.debugLineNum = 3701;BA.debugLine="L_VISITCC.Text = 0";
_l_visitcc.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3672;BA.debugLine="L_EFEC_PV.Text = 0";
+ //BA.debugLineNum = 3702;BA.debugLine="L_EFEC_PV.Text = 0";
_l_efec_pv.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3673;BA.debugLine="L_EFEC_PURA.Text = 0";
+ //BA.debugLineNum = 3703;BA.debugLine="L_EFEC_PURA.Text = 0";
_l_efec_pura.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3674;BA.debugLine="l_preventa.Text = 0";
+ //BA.debugLineNum = 3704;BA.debugLine="l_preventa.Text = 0";
_l_preventa.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3675;BA.debugLine="l_futura.Text = 0";
+ //BA.debugLineNum = 3705;BA.debugLine="l_futura.Text = 0";
_l_futura.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3676;BA.debugLine="Label13.Text = 0";
+ //BA.debugLineNum = 3706;BA.debugLine="Label13.Text = 0";
_label13.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3677;BA.debugLine="Label19.Text = 0";
+ //BA.debugLineNum = 3707;BA.debugLine="Label19.Text = 0";
_label19.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3678;BA.debugLine="Label21.Text = 0";
+ //BA.debugLineNum = 3708;BA.debugLine="Label21.Text = 0";
_label21.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3681;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3711;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')")));
- //BA.debugLineNum = 3682;BA.debugLine="If s0.RowCount > 0 Then";
+ //BA.debugLineNum = 3712;BA.debugLine="If s0.RowCount > 0 Then";
if (_s0.getRowCount()>0) {
- //BA.debugLineNum = 3683;BA.debugLine="s0.Position = 0";
+ //BA.debugLineNum = 3713;BA.debugLine="s0.Position = 0";
_s0.setPosition((int) (0));
- //BA.debugLineNum = 3684;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))";
-__c.LogImpl("75046658",_s0.GetString("PE_CANT"),0);
- //BA.debugLineNum = 3685;BA.debugLine="Label33.Text = s0.GetString(\"PE_CANT\")";
+ //BA.debugLineNum = 3715;BA.debugLine="Label33.Text = s0.GetString(\"PE_CANT\")";
_label33.setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT")));
}else {
- //BA.debugLineNum = 3687;BA.debugLine="Label33.Text = 0";
+ //BA.debugLineNum = 3717;BA.debugLine="Label33.Text = 0";
_label33.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3690;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3720;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO")));
- //BA.debugLineNum = 3692;BA.debugLine="If s5.RowCount > 0 Then";
+ //BA.debugLineNum = 3722;BA.debugLine="If s5.RowCount > 0 Then";
if (_s5.getRowCount()>0) {
- //BA.debugLineNum = 3693;BA.debugLine="Private total4 As String = 0";
+ //BA.debugLineNum = 3723;BA.debugLine="Private total4 As String = 0";
_total4 = BA.NumberToString(0);
- //BA.debugLineNum = 3694;BA.debugLine="For i = 0 To s5.RowCount - 1";
+ //BA.debugLineNum = 3724;BA.debugLine="For i = 0 To s5.RowCount - 1";
{
-final int step267 = 1;
-final int limit267 = (int) (_s5.getRowCount()-1);
+final int step271 = 1;
+final int limit271 = (int) (_s5.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit267 ;_i = _i + step267 ) {
- //BA.debugLineNum = 3695;BA.debugLine="s5.Position = i";
+for (;_i <= limit271 ;_i = _i + step271 ) {
+ //BA.debugLineNum = 3725;BA.debugLine="s5.Position = i";
_s5.setPosition(_i);
- //BA.debugLineNum = 3697;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3727;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango5 /*String*/ (ba,_s5.GetString("PE_CLIENTE")))));
}
};
- //BA.debugLineNum = 3701;BA.debugLine="Label35.Text = NumberFormat2(total4,0,2,2,False)";
+ //BA.debugLineNum = 3731;BA.debugLine="Label35.Text = NumberFormat2(total4,0,2,2,False)";
_label35.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3703;BA.debugLine="Label35.Text = 0";
+ //BA.debugLineNum = 3733;BA.debugLine="Label35.Text = 0";
_label35.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3706;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3736;BA.debugLine="Private s0 As Cursor = B4XPages.MainPage.skmt.Exe";
_s0 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s0 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(distinct(PE_CLIENTE)) AS PE_CANT FROM PEDIDO WHERE PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP')")));
- //BA.debugLineNum = 3707;BA.debugLine="If s0.RowCount > 0 Then";
+ //BA.debugLineNum = 3737;BA.debugLine="If s0.RowCount > 0 Then";
if (_s0.getRowCount()>0) {
- //BA.debugLineNum = 3708;BA.debugLine="s0.Position = 0";
+ //BA.debugLineNum = 3738;BA.debugLine="s0.Position = 0";
_s0.setPosition((int) (0));
- //BA.debugLineNum = 3709;BA.debugLine="Log(s0.GetString(\"PE_CANT\"))";
-__c.LogImpl("75046683",_s0.GetString("PE_CANT"),0);
- //BA.debugLineNum = 3710;BA.debugLine="Label43.Text = s0.GetString(\"PE_CANT\")";
+ //BA.debugLineNum = 3740;BA.debugLine="Label43.Text = s0.GetString(\"PE_CANT\")";
_label43.setText(BA.ObjectToCharSequence(_s0.GetString("PE_CANT")));
}else {
- //BA.debugLineNum = 3712;BA.debugLine="Label43.Text = 0";
+ //BA.debugLineNum = 3742;BA.debugLine="Label43.Text = 0";
_label43.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3715;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3745;BA.debugLine="Private s5 As Cursor = B4XPages.MainPage.skmt.Exe";
_s5 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s5 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct(pe_cliente) FROM PEDIDO")));
- //BA.debugLineNum = 3717;BA.debugLine="If s5.RowCount > 0 Then";
+ //BA.debugLineNum = 3747;BA.debugLine="If s5.RowCount > 0 Then";
if (_s5.getRowCount()>0) {
- //BA.debugLineNum = 3718;BA.debugLine="Private total4 As String = 0";
+ //BA.debugLineNum = 3748;BA.debugLine="Private total4 As String = 0";
_total4 = BA.NumberToString(0);
- //BA.debugLineNum = 3719;BA.debugLine="For i = 0 To s5.RowCount - 1";
+ //BA.debugLineNum = 3749;BA.debugLine="For i = 0 To s5.RowCount - 1";
{
-final int step286 = 1;
-final int limit286 = (int) (_s5.getRowCount()-1);
+final int step289 = 1;
+final int limit289 = (int) (_s5.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit286 ;_i = _i + step286 ) {
- //BA.debugLineNum = 3720;BA.debugLine="s5.Position = i";
+for (;_i <= limit289 ;_i = _i + step289 ) {
+ //BA.debugLineNum = 3750;BA.debugLine="s5.Position = i";
_s5.setPosition(_i);
- //BA.debugLineNum = 3722;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
+ //BA.debugLineNum = 3752;BA.debugLine="total4 = total4 + Subs.calculaTotalConPromoXRan";
_total4 = BA.NumberToString((double)(Double.parseDouble(_total4))+(double)(Double.parseDouble(_subs._calculatotalconpromoxrango6 /*String*/ (ba,_s5.GetString("PE_CLIENTE")))));
}
};
- //BA.debugLineNum = 3726;BA.debugLine="Label51.Text = NumberFormat2(total4,0,2,2,False)";
+ //BA.debugLineNum = 3756;BA.debugLine="Label51.Text = NumberFormat2(total4,0,2,2,False)";
_label51.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_total4)),(int) (0),(int) (2),(int) (2),__c.False)));
}else {
- //BA.debugLineNum = 3728;BA.debugLine="Label51.Text = 0";
+ //BA.debugLineNum = 3758;BA.debugLine="Label51.Text = 0";
_label51.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3731;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 3761;BA.debugLine="Private s6 As Cursor = B4XPages.MainPage.skmt.Exe";
_s6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(COB_VOLUMEN,0) AS COB_VOLUMEN, IFNULL(COB_MARCAE,0) AS COB_MARCAE, IFNULL(COB_PORTAFOLIO,0) AS COB_PORTAFOLIO, IFNULL(COB_OBJPP,0) AS COB_OBJPP, IFNULL(COB_GEV,0) as COB_GEV FROM CAT_OBJETIVO_BAT")));
- //BA.debugLineNum = 3732;BA.debugLine="If s6.RowCount > 0 Then";
+ //BA.debugLineNum = 3762;BA.debugLine="If s6.RowCount > 0 Then";
if (_s6.getRowCount()>0) {
- //BA.debugLineNum = 3733;BA.debugLine="s6.Position = 0";
+ //BA.debugLineNum = 3763;BA.debugLine="s6.Position = 0";
_s6.setPosition((int) (0));
- //BA.debugLineNum = 3734;BA.debugLine="L_NES.Text = NumberFormat2(s6.GetString(\"COB_VOL";
+ //BA.debugLineNum = 3764;BA.debugLine="L_NES.Text = NumberFormat2(s6.GetString(\"COB_VOL";
_l_nes.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_VOLUMEN"))),(int) (0),(int) (0),(int) (0),__c.False)));
- //BA.debugLineNum = 3735;BA.debugLine="L_EFEC_PURA.Text = NumberFormat2(s6.GetString(\"C";
+ //BA.debugLineNum = 3765;BA.debugLine="L_EFEC_PURA.Text = NumberFormat2(s6.GetString(\"C";
_l_efec_pura.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_MARCAE"))),(int) (0),(int) (0),(int) (0),__c.False)));
- //BA.debugLineNum = 3736;BA.debugLine="L_VISITCC.Text = NumberFormat2(s6.GetString(\"COB";
+ //BA.debugLineNum = 3766;BA.debugLine="L_VISITCC.Text = NumberFormat2(s6.GetString(\"COB";
_l_visitcc.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_PORTAFOLIO"))),(int) (0),(int) (0),(int) (0),__c.False)));
- //BA.debugLineNum = 3737;BA.debugLine="l_ru_sup.Text = NumberFormat2(s6.GetString(\"COB_";
+ //BA.debugLineNum = 3767;BA.debugLine="l_ru_sup.Text = NumberFormat2(s6.GetString(\"COB_";
_l_ru_sup.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_OBJPP"))),(int) (0),(int) (0),(int) (0),__c.False)));
- //BA.debugLineNum = 3738;BA.debugLine="l_futura.Text = NumberFormat2(s6.GetString(\"COB_";
+ //BA.debugLineNum = 3768;BA.debugLine="l_futura.Text = NumberFormat2(s6.GetString(\"COB_";
_l_futura.setText(BA.ObjectToCharSequence(__c.NumberFormat2((double)(Double.parseDouble(_s6.GetString("COB_GEV"))),(int) (0),(int) (0),(int) (0),__c.False)));
}else {
- //BA.debugLineNum = 3740;BA.debugLine="L_NES.Text = 0";
+ //BA.debugLineNum = 3770;BA.debugLine="L_NES.Text = 0";
_l_nes.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3741;BA.debugLine="L_EFEC_PURA.Text = 0";
+ //BA.debugLineNum = 3771;BA.debugLine="L_EFEC_PURA.Text = 0";
_l_efec_pura.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3742;BA.debugLine="L_VISITCC.Text = 0";
+ //BA.debugLineNum = 3772;BA.debugLine="L_VISITCC.Text = 0";
_l_visitcc.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3743;BA.debugLine="l_ru_sup.Text = 0";
+ //BA.debugLineNum = 3773;BA.debugLine="l_ru_sup.Text = 0";
_l_ru_sup.setText(BA.ObjectToCharSequence(0));
- //BA.debugLineNum = 3744;BA.debugLine="l_futura.Text = 0";
+ //BA.debugLineNum = 3774;BA.debugLine="l_futura.Text = 0";
_l_futura.setText(BA.ObjectToCharSequence(0));
};
- //BA.debugLineNum = 3747;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3777;BA.debugLine="End Sub";
return "";
}
public String _resumen_click() throws Exception{
- //BA.debugLineNum = 3279;BA.debugLine="Sub Resumen_Click";
- //BA.debugLineNum = 3280;BA.debugLine="P_RESUMEN.Visible = True";
+ //BA.debugLineNum = 3300;BA.debugLine="Sub Resumen_Click";
+ //BA.debugLineNum = 3301;BA.debugLine="P_RESUMEN.Visible = True";
_p_resumen.setVisible(__c.True);
- //BA.debugLineNum = 3288;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3309;BA.debugLine="End Sub";
return "";
}
public String _subir_click() throws Exception{
@@ -6287,1043 +6328,1070 @@ String _rutaactual = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _x1 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _x2 = null;
- //BA.debugLineNum = 636;BA.debugLine="Sub Subir_Click";
- //BA.debugLineNum = 637;BA.debugLine="checaPedido";
+ //BA.debugLineNum = 638;BA.debugLine="Sub Subir_Click";
+ //BA.debugLineNum = 639;BA.debugLine="checaPedido";
_checapedido();
- //BA.debugLineNum = 638;BA.debugLine="CARGA = \"SUBIR\"";
+ //BA.debugLineNum = 640;BA.debugLine="CARGA = \"SUBIR\"";
_carga = "SUBIR";
- //BA.debugLineNum = 639;BA.debugLine="P1.Visible = True";
+ //BA.debugLineNum = 641;BA.debugLine="P1.Visible = True";
_p1.setVisible(__c.True);
- //BA.debugLineNum = 640;BA.debugLine="P1.BringToFront";
+ //BA.debugLineNum = 642;BA.debugLine="P1.BringToFront";
_p1.BringToFront();
- //BA.debugLineNum = 642;BA.debugLine="NUEVO.Visible =False";
+ //BA.debugLineNum = 644;BA.debugLine="NUEVO.Visible =False";
_nuevo.setVisible(__c.False);
- //BA.debugLineNum = 643;BA.debugLine="BUSCA.Visible=False";
+ //BA.debugLineNum = 645;BA.debugLine="BUSCA.Visible=False";
_busca.setVisible(__c.False);
- //BA.debugLineNum = 644;BA.debugLine="connecta.Visible=False";
+ //BA.debugLineNum = 646;BA.debugLine="connecta.Visible=False";
_connecta.setVisible(__c.False);
- //BA.debugLineNum = 645;BA.debugLine="Subir.Visible=False";
+ //BA.debugLineNum = 647;BA.debugLine="Subir.Visible=False";
_subir.setVisible(__c.False);
- //BA.debugLineNum = 646;BA.debugLine="cargar.Visible=False";
+ //BA.debugLineNum = 648;BA.debugLine="cargar.Visible=False";
_cargar.setVisible(__c.False);
- //BA.debugLineNum = 647;BA.debugLine="L_P_1.Visible = False";
+ //BA.debugLineNum = 649;BA.debugLine="L_P_1.Visible = False";
_l_p_1.setVisible(__c.False);
- //BA.debugLineNum = 648;BA.debugLine="S_CC.Visible = False";
+ //BA.debugLineNum = 650;BA.debugLine="S_CC.Visible = False";
_s_cc.setVisible(__c.False);
- //BA.debugLineNum = 649;BA.debugLine="L_P_3.Visible = False";
+ //BA.debugLineNum = 651;BA.debugLine="L_P_3.Visible = False";
_l_p_3.setVisible(__c.False);
- //BA.debugLineNum = 650;BA.debugLine="S_CH.Visible = False";
+ //BA.debugLineNum = 652;BA.debugLine="S_CH.Visible = False";
_s_ch.setVisible(__c.False);
- //BA.debugLineNum = 651;BA.debugLine="PB1.Visible = False";
+ //BA.debugLineNum = 653;BA.debugLine="PB1.Visible = False";
_pb1.setVisible(__c.False);
- //BA.debugLineNum = 652;BA.debugLine="Resumen.Visible= False";
+ //BA.debugLineNum = 654;BA.debugLine="Resumen.Visible= False";
_resumen.setVisible(__c.False);
- //BA.debugLineNum = 653;BA.debugLine="l_visitartotal.Visible = False";
+ //BA.debugLineNum = 655;BA.debugLine="l_visitartotal.Visible = False";
_l_visitartotal.setVisible(__c.False);
- //BA.debugLineNum = 654;BA.debugLine="de.Visible = False";
+ //BA.debugLineNum = 656;BA.debugLine="de.Visible = False";
_de.setVisible(__c.False);
- //BA.debugLineNum = 655;BA.debugLine="l_faltan.Visible = False";
+ //BA.debugLineNum = 657;BA.debugLine="l_faltan.Visible = False";
_l_faltan.setVisible(__c.False);
- //BA.debugLineNum = 656;BA.debugLine="l_visitas.Visible = False";
+ //BA.debugLineNum = 658;BA.debugLine="l_visitas.Visible = False";
_l_visitas.setVisible(__c.False);
- //BA.debugLineNum = 658;BA.debugLine="p_principal.Visible = False";
+ //BA.debugLineNum = 660;BA.debugLine="p_principal.Visible = False";
_p_principal.setVisible(__c.False);
- //BA.debugLineNum = 659;BA.debugLine="Subs.panelVisible(P1, 0, 0)";
+ //BA.debugLineNum = 661;BA.debugLine="Subs.panelVisible(P1, 0, 0)";
_subs._panelvisible /*String*/ (ba,_p1,(int) (0),(int) (0));
- //BA.debugLineNum = 660;BA.debugLine="Subs.centraPanel(P1, Root.Width)";
+ //BA.debugLineNum = 662;BA.debugLine="Subs.centraPanel(P1, Root.Width)";
_subs._centrapanel /*String*/ (ba,_p1,_root.getWidth());
- //BA.debugLineNum = 661;BA.debugLine="Subs.centraPanelV(P1, Root.Height)";
+ //BA.debugLineNum = 663;BA.debugLine="Subs.centraPanelV(P1, Root.Height)";
_subs._centrapanelv /*String*/ (ba,_p1,_root.getHeight());
- //BA.debugLineNum = 662;BA.debugLine="B4XPages.MainPage.reqManager.trackInit";
+ //BA.debugLineNum = 664;BA.debugLine="B4XPages.MainPage.reqManager.trackInit";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._trackinit /*String*/ ();
- //BA.debugLineNum = 664;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\"";
+ //BA.debugLineNum = 666;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\"";
_l_p_2.setText(BA.ObjectToCharSequence("Envio de Pedidos"));
- //BA.debugLineNum = 665;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\"";
+ //BA.debugLineNum = 667;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\"";
_l_p_3.setText(BA.ObjectToCharSequence("Envio de Pedidos"));
- //BA.debugLineNum = 666;BA.debugLine="S_CH.Text = \"EN PROCESO\"";
+ //BA.debugLineNum = 668;BA.debugLine="S_CH.Text = \"EN PROCESO\"";
_s_ch.setText(BA.ObjectToCharSequence("EN PROCESO"));
- //BA.debugLineNum = 667;BA.debugLine="S_CP.Text = \"EN PROCESO\"";
+ //BA.debugLineNum = 669;BA.debugLine="S_CP.Text = \"EN PROCESO\"";
_s_cp.setText(BA.ObjectToCharSequence("EN PROCESO"));
- //BA.debugLineNum = 668;BA.debugLine="B_OK_PAS.Text = \"ENVIANDO\"";
+ //BA.debugLineNum = 670;BA.debugLine="B_OK_PAS.Text = \"ENVIANDO\"";
_b_ok_pas.setText(BA.ObjectToCharSequence("ENVIANDO"));
- //BA.debugLineNum = 669;BA.debugLine="PB1.Progress = 0";
+ //BA.debugLineNum = 671;BA.debugLine="PB1.Progress = 0";
_pb1.setProgress((int) (0));
- //BA.debugLineNum = 670;BA.debugLine="PB2.Progress = 0";
+ //BA.debugLineNum = 672;BA.debugLine="PB2.Progress = 0";
_pb2.setProgress((int) (0));
- //BA.debugLineNum = 676;BA.debugLine="PASO = 1";
+ //BA.debugLineNum = 678;BA.debugLine="PASO = 1";
_paso = BA.NumberToString(1);
- //BA.debugLineNum = 678;BA.debugLine="If PASO =1 Then";
+ //BA.debugLineNum = 680;BA.debugLine="If PASO =1 Then";
if ((_paso).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 679;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 681;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)");
- //BA.debugLineNum = 680;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar";
+ //BA.debugLineNum = 682;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa")));
- //BA.debugLineNum = 681;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 683;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 682;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 684;BA.debugLine="usuario = c.GetString(\"USUARIO\")";
_usuario = _c.GetString("USUARIO");
- //BA.debugLineNum = 683;BA.debugLine="c.Close";
+ //BA.debugLineNum = 685;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 684;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT";
+ //BA.debugLineNum = 686;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS")));
- //BA.debugLineNum = 685;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 687;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 686;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 688;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step41 = 1;
final int limit41 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit41 ;_i = _i + step41 ) {
- //BA.debugLineNum = 687;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 689;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 688;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 690;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 689;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 691;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 690;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS\"";
+ //BA.debugLineNum = 692;BA.debugLine="cmd.Name = \"UPDATE_GUNA_ACTUAL2_GPS\"";
_cmd.Name /*String*/ = "UPDATE_GUNA_ACTUAL2_GPS";
- //BA.debugLineNum = 691;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2";
+ //BA.debugLineNum = 693;BA.debugLine="cmd.Parameters = Array As Object(NumberFormat2";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(__c.NumberFormat2((double)(Double.parseDouble(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ )),(int) (0),(int) (2),(int) (2),__c.False)),(Object)(_l_cuantost.getText()),(Object)(_l_cuantosc.getText()),(Object)(_l_porvisitar.getText()),(Object)(_c.GetString("hglat")),(Object)(_c.GetString("hglon")),(Object)(_batterystatus[(int) (0)]),(Object)(_lpt),(Object)(_steyin),(Object)(_steyout),(Object)(_almacen),(Object)(_l_ruta.getText())};
- //BA.debugLineNum = 692;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 694;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_visitas"));
}
};
};
- //BA.debugLineNum = 695;BA.debugLine="c.Close";
+ //BA.debugLineNum = 697;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 698;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_CL";
+ //BA.debugLineNum = 700;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_CL";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE ")));
- //BA.debugLineNum = 699;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
+ //BA.debugLineNum = 701;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE ")));
- //BA.debugLineNum = 700;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 702;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 701;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 703;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step54 = 1;
final int limit54 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit54 ;_i = _i + step54 ) {
- //BA.debugLineNum = 702;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 704;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 703;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 705;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 704;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 706;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 705;BA.debugLine="cmd.Name = \"insert_pedidos_GV3\"";
+ //BA.debugLineNum = 707;BA.debugLine="cmd.Name = \"insert_pedidos_GV3\"";
_cmd.Name /*String*/ = "insert_pedidos_GV3";
- //BA.debugLineNum = 706;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+ //BA.debugLineNum = 708;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CLIENTE")),(Object)(_c.GetString("PC_FECHA")),(Object)(_c.GetString("PC_USER")),(Object)(_c.GetString("PC_NOART")),(Object)(_c.GetString("PC_MONTO")),(Object)(_c.GetString("PC_LON")),(Object)(_c.GetString("PC_LAT")),(Object)(_almacen),(Object)(_l_ruta.getText()),(Object)(_c.GetString("PC_COSTO_SIN")),(Object)(_c.GetString("PC_FACTURA"))};
- //BA.debugLineNum = 707;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 709;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedidos"));
}
};
};
- //BA.debugLineNum = 710;BA.debugLine="c.Close";
+ //BA.debugLineNum = 712;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 711;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 713;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 712;BA.debugLine="cuantos_pedidosc = D.GetString(\"CUANTOS_PEDIDOSC";
+ //BA.debugLineNum = 714;BA.debugLine="cuantos_pedidosc = D.GetString(\"CUANTOS_PEDIDOSC";
_cuantos_pedidosc = _d.GetString("CUANTOS_PEDIDOSC");
- //BA.debugLineNum = 713;BA.debugLine="d.Close";
+ //BA.debugLineNum = 715;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 717;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CODIG";
+ //BA.debugLineNum = 719;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CODIG";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGOKMTS, CODIGOB, LAT, LON FROM HIST_CODIGO_BARRAS")));
- //BA.debugLineNum = 718;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 720;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 719;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 721;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step69 = 1;
final int limit69 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit69 ;_i = _i + step69 ) {
- //BA.debugLineNum = 720;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 722;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 721;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 723;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 722;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 724;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 723;BA.debugLine="cmd.Name = \"insert_QR_2_GV2\"";
+ //BA.debugLineNum = 725;BA.debugLine="cmd.Name = \"insert_QR_2_GV2\"";
_cmd.Name /*String*/ = "insert_QR_2_GV2";
- //BA.debugLineNum = 724;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+ //BA.debugLineNum = 726;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CODIGOKMTS")),(Object)(_c.GetString("CODIGOB")),(Object)(_c.GetString("LON")),(Object)(_c.GetString("LAT")),(Object)(_almacen),(Object)(_l_ruta.getText())};
- //BA.debugLineNum = 725;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 727;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_QR2"));
}
};
};
- //BA.debugLineNum = 728;BA.debugLine="c.Close";
+ //BA.debugLineNum = 730;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 731;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO";
+ //BA.debugLineNum = 733;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PLAN_LEALTAD WHERE DESCARGADO IS NULL")));
- //BA.debugLineNum = 732;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 734;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 733;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 735;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step81 = 1;
final int limit81 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit81 ;_i = _i + step81 ) {
- //BA.debugLineNum = 734;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 736;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 735;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 737;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 736;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 738;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 737;BA.debugLine="cmd.Name = \"insert_plan_lealtad_GUNA\"";
+ //BA.debugLineNum = 739;BA.debugLine="cmd.Name = \"insert_plan_lealtad_GUNA\"";
_cmd.Name /*String*/ = "insert_plan_lealtad_GUNA";
- //BA.debugLineNum = 738;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+ //BA.debugLineNum = 740;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PL_BANDERA")),(Object)(_c.GetString("PL_CLIENTE")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))};
- //BA.debugLineNum = 739;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 741;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insPlanLealtad"));
}
};
};
- //BA.debugLineNum = 742;BA.debugLine="c.Close";
+ //BA.debugLineNum = 744;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 745;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM COMENTARIOS WHERE DESCARGADO IS NULL")));
- //BA.debugLineNum = 746;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 747;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ENCUESTAS_BAT")));
+ //BA.debugLineNum = 748;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 747;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 749;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step93 = 1;
final int limit93 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit93 ;_i = _i + step93 ) {
- //BA.debugLineNum = 748;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 750;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 749;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 751;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 750;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 752;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 751;BA.debugLine="cmd.Name = \"insert_coments_GUNA2\"";
-_cmd.Name /*String*/ = "insert_coments_GUNA2";
- //BA.debugLineNum = 752;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("COMENTARTIO")),(Object)(_c.GetString("CLIENTE")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_c.GetInt("comentario_tmp"))};
- //BA.debugLineNum = 753;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INS_coment"));
+ //BA.debugLineNum = 753;BA.debugLine="cmd.Name = \"insert_encuestas_bat_guna\"";
+_cmd.Name /*String*/ = "insert_encuestas_bat_guna";
+ //BA.debugLineNum = 754;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CLIENTE")),(Object)(_c.GetString("RUTA")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("FECHA")),(Object)(_c.GetString("P1")),(Object)(_c.GetString("P2")),(Object)(_c.GetString("P3")),(Object)(_c.GetString("P4")),(Object)(_c.GetString("P5")),(Object)(_c.GetString("P6")),(Object)(_c.GetString("P7")),(Object)(_c.GetString("P8")),(Object)(_c.GetString("P9")),(Object)(_c.GetString("P10"))};
+ //BA.debugLineNum = 755;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INSENCUESTAS"));
}
};
};
- //BA.debugLineNum = 756;BA.debugLine="c.Close";
+ //BA.debugLineNum = 758;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 758;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT * FROM CLIENTES";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CLIENTES_NUEVOS")));
- //BA.debugLineNum = 759;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 761;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM COMENTARIOS WHERE DESCARGADO IS NULL")));
+ //BA.debugLineNum = 762;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 760;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 763;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step105 = 1;
final int limit105 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit105 ;_i = _i + step105 ) {
- //BA.debugLineNum = 761;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 764;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 762;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim";
-_dia = __c.DateTime.GetDayOfWeek(__c.DateTime.getNow());
- //BA.debugLineNum = 763;BA.debugLine="If dia = 2 Then";
-if (_dia==2) {
- //BA.debugLineNum = 764;BA.debugLine="Dim dialetra As String = \"LUNES\"";
-_dialetra = "LUNES";
- }else if(_dia==3) {
- //BA.debugLineNum = 766;BA.debugLine="Dim dialetra As String = \"MARTES\"";
-_dialetra = "MARTES";
- }else if(_dia==4) {
- //BA.debugLineNum = 768;BA.debugLine="Dim dialetra As String = \"MIERCOLES\"";
-_dialetra = "MIERCOLES";
- }else if(_dia==5) {
- //BA.debugLineNum = 770;BA.debugLine="Dim dialetra As String = \"JUEVES\"";
-_dialetra = "JUEVES";
- }else if(_dia==6) {
- //BA.debugLineNum = 772;BA.debugLine="Dim dialetra As String = \"VIERNES\"";
-_dialetra = "VIERNES";
- }else if(_dia==7) {
- //BA.debugLineNum = 774;BA.debugLine="Dim dialetra As String = \"SABADO\"";
-_dialetra = "SABADO";
- };
- //BA.debugLineNum = 776;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 765;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 777;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 766;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 778;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA2\"";
-_cmd.Name /*String*/ = "insert_clientesnuevos_GUNA2";
- //BA.debugLineNum = 779;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString(";
-__c.LogImpl("73866767",_c.GetString("CN_ID")+" ,"+_c.GetString("CN_FECHA")+" ,"+_c.GetString("CN_USER")+" ,"+_c.GetString("CN_LAT")+" ,"+_c.GetString("CN_LON")+" ,"+_c.GetString("CN_NOMBRE")+" ,"+_c.GetString("CN_DIRECCION")+" ,"+_almacen+_c.GetString("CN_RUTA")+" ,"+"En espera"+_c.GetString("CN_GIRO")+" ,"+_dialetra+_c.GetString("CN_SOLICITA")+" ,"+_c.GetString("CN_COLONIA")+" ,"+_c.GetString("CN_TELEFONO")+" ,"+_c.GetString("CN_CALLE1")+" ,"+_c.GetString("CN_CALLE2"),0);
- //BA.debugLineNum = 780;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CN_ID")),(Object)(_c.GetString("CN_FECHA")),(Object)(_c.GetString("CN_USER")),(Object)(_c.GetString("CN_LAT")),(Object)(_c.GetString("CN_LON")),(Object)(_c.GetString("CN_NOMBRE")),(Object)(_c.GetString("CN_DIRECCION")),(Object)(_almacen),(Object)(_c.GetString("CN_RUTA")),(Object)("En espera"),(Object)(_c.GetString("CN_GIRO")),(Object)(_dialetra),(Object)(_c.GetString("CN_SOLICITA")),(Object)(_c.GetString("CN_COLONIA")),(Object)(_c.GetString("CN_TELEFONO")),(Object)(_c.GetString("CN_CP")),(Object)(_c.GetString("CN_CALLE1")),(Object)(_c.GetString("CN_CALLE2")),(Object)(_c.GetString("CN_NUMEROINT")),(Object)(_c.GetString("CN_NUMEROEXT")),(Object)(_c.GetString("CN_REFERENCIA"))};
- //BA.debugLineNum = 781;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_clientesn"));
- }
-};
- };
- //BA.debugLineNum = 784;BA.debugLine="c.Close";
-_c.Close();
- //BA.debugLineNum = 786;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQu";
-_fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM kmt_info3 where foto is not NULL")));
- //BA.debugLineNum = 787;BA.debugLine="If fotomostrar1.RowCount>0 Then";
-if (_fotomostrar1.getRowCount()>0) {
- //BA.debugLineNum = 788;BA.debugLine="For i=0 To fotomostrar1.RowCount -1";
-{
-final int step132 = 1;
-final int limit132 = (int) (_fotomostrar1.getRowCount()-1);
-_i = (int) (0) ;
-for (;_i <= limit132 ;_i = _i + step132 ) {
- //BA.debugLineNum = 789;BA.debugLine="fotomostrar1.Position=i";
-_fotomostrar1.setPosition(_i);
- //BA.debugLineNum = 790;BA.debugLine="Dim fotoenvio() As Byte = fotomostrar1.GetBlob";
-_fotoenvio = _fotomostrar1.GetBlob("foto");
- //BA.debugLineNum = 791;BA.debugLine="Dim cmd As DBCommand";
-_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 792;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 793;BA.debugLine="cmd.Name = \"UPDATE_FOTO_GUNA\"";
-_cmd.Name /*String*/ = "UPDATE_FOTO_GUNA";
- //BA.debugLineNum = 794;BA.debugLine="cmd.Parameters = Array As Object(fotoenvio,fot";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_fotoenvio),(Object)(_fotomostrar1.GetString("CAT_CL_CODIGO")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))};
- //BA.debugLineNum = 795;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 767;BA.debugLine="cmd.Name = \"insert_coments_GUNA2\"";
+_cmd.Name /*String*/ = "insert_coments_GUNA2";
+ //BA.debugLineNum = 768;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("COMENTARTIO")),(Object)(_c.GetString("CLIENTE")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_c.GetInt("comentario_tmp"))};
+ //BA.debugLineNum = 769;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INS_coment"));
}
};
};
- //BA.debugLineNum = 798;BA.debugLine="fotomostrar1.Close";
-_fotomostrar1.Close();
- //BA.debugLineNum = 800;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_C";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_NUM_SERIEFISICO,CAT_CL_CODIGO ,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info3 where CAT_CL_NUM_SERIEFISICO IS NOT NULL and gestion <> '0'")));
- //BA.debugLineNum = 801;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 772;BA.debugLine="c.Close";
+_c.Close();
+ //BA.debugLineNum = 774;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT * FROM CLIENTES";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM CLIENTES_NUEVOS")));
+ //BA.debugLineNum = 775;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 802;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 776;BA.debugLine="For i = 0 To c.RowCount - 1";
{
-final int step145 = 1;
-final int limit145 = (int) (_c.getRowCount()-1);
+final int step117 = 1;
+final int limit117 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit145 ;_i = _i + step145 ) {
- //BA.debugLineNum = 803;BA.debugLine="c.Position=i";
+for (;_i <= limit117 ;_i = _i + step117 ) {
+ //BA.debugLineNum = 777;BA.debugLine="c.Position = i";
_c.setPosition(_i);
- //BA.debugLineNum = 806;BA.debugLine="foto1 = c.GetBlob(\"CAT_CL_FOTO\")";
-_foto1 = _c.GetBlob("CAT_CL_FOTO");
+ //BA.debugLineNum = 778;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim";
+_dia = __c.DateTime.GetDayOfWeek(__c.DateTime.getNow());
+ //BA.debugLineNum = 779;BA.debugLine="If dia = 2 Then";
+if (_dia==2) {
+ //BA.debugLineNum = 780;BA.debugLine="Dim dialetra As String = \"LUNES\"";
+_dialetra = "LUNES";
+ }else if(_dia==3) {
+ //BA.debugLineNum = 782;BA.debugLine="Dim dialetra As String = \"MARTES\"";
+_dialetra = "MARTES";
+ }else if(_dia==4) {
+ //BA.debugLineNum = 784;BA.debugLine="Dim dialetra As String = \"MIERCOLES\"";
+_dialetra = "MIERCOLES";
+ }else if(_dia==5) {
+ //BA.debugLineNum = 786;BA.debugLine="Dim dialetra As String = \"JUEVES\"";
+_dialetra = "JUEVES";
+ }else if(_dia==6) {
+ //BA.debugLineNum = 788;BA.debugLine="Dim dialetra As String = \"VIERNES\"";
+_dialetra = "VIERNES";
+ }else if(_dia==7) {
+ //BA.debugLineNum = 790;BA.debugLine="Dim dialetra As String = \"SABADO\"";
+_dialetra = "SABADO";
+ };
+ //BA.debugLineNum = 792;BA.debugLine="Dim cmd As DBCommand";
+_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
+ //BA.debugLineNum = 793;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 794;BA.debugLine="cmd.Name = \"insert_clientesnuevos_GUNA2\"";
+_cmd.Name /*String*/ = "insert_clientesnuevos_GUNA2";
+ //BA.debugLineNum = 795;BA.debugLine="Log(c.GetString(\"CN_ID\")&\" ,\"& c.GetString(";
+__c.LogImpl("43866781",_c.GetString("CN_ID")+" ,"+_c.GetString("CN_FECHA")+" ,"+_c.GetString("CN_USER")+" ,"+_c.GetString("CN_LAT")+" ,"+_c.GetString("CN_LON")+" ,"+_c.GetString("CN_NOMBRE")+" ,"+_c.GetString("CN_DIRECCION")+" ,"+_almacen+_c.GetString("CN_RUTA")+" ,"+"En espera"+_c.GetString("CN_GIRO")+" ,"+_dialetra+_c.GetString("CN_SOLICITA")+" ,"+_c.GetString("CN_COLONIA")+" ,"+_c.GetString("CN_TELEFONO")+" ,"+_c.GetString("CN_CALLE1")+" ,"+_c.GetString("CN_CALLE2"),0);
+ //BA.debugLineNum = 796;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CN_ID")),(Object)(_c.GetString("CN_FECHA")),(Object)(_c.GetString("CN_USER")),(Object)(_c.GetString("CN_LAT")),(Object)(_c.GetString("CN_LON")),(Object)(_c.GetString("CN_NOMBRE")),(Object)(_c.GetString("CN_DIRECCION")),(Object)(_almacen),(Object)(_c.GetString("CN_RUTA")),(Object)("En espera"),(Object)(_c.GetString("CN_GIRO")),(Object)(_dialetra),(Object)(_c.GetString("CN_SOLICITA")),(Object)(_c.GetString("CN_COLONIA")),(Object)(_c.GetString("CN_TELEFONO")),(Object)(_c.GetString("CN_CP")),(Object)(_c.GetString("CN_CALLE1")),(Object)(_c.GetString("CN_CALLE2")),(Object)(_c.GetString("CN_NUMEROINT")),(Object)(_c.GetString("CN_NUMEROEXT")),(Object)(_c.GetString("CN_REFERENCIA"))};
+ //BA.debugLineNum = 797;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_clientesn"));
+ }
+};
+ };
+ //BA.debugLineNum = 800;BA.debugLine="c.Close";
+_c.Close();
+ //BA.debugLineNum = 802;BA.debugLine="Dim fotomostrar1 As Cursor = Starter.skmt.ExecQu";
+_fotomostrar1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_fotomostrar1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM kmt_info3 where foto is not NULL")));
+ //BA.debugLineNum = 803;BA.debugLine="If fotomostrar1.RowCount>0 Then";
+if (_fotomostrar1.getRowCount()>0) {
+ //BA.debugLineNum = 804;BA.debugLine="For i=0 To fotomostrar1.RowCount -1";
+{
+final int step144 = 1;
+final int limit144 = (int) (_fotomostrar1.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit144 ;_i = _i + step144 ) {
+ //BA.debugLineNum = 805;BA.debugLine="fotomostrar1.Position=i";
+_fotomostrar1.setPosition(_i);
+ //BA.debugLineNum = 806;BA.debugLine="Dim fotoenvio() As Byte = fotomostrar1.GetBlob";
+_fotoenvio = _fotomostrar1.GetBlob("foto");
//BA.debugLineNum = 807;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
//BA.debugLineNum = 808;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 809;BA.debugLine="cmd.Name = \"insert_QR_GV2\"";
-_cmd.Name /*String*/ = "insert_QR_GV2";
- //BA.debugLineNum = 810;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_NUM_SERIEFISICO")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_c.GetString("CAT_CL_LONG")),(Object)(_c.GetString("CAT_CL_LAT")),(Object)(_almacen),(Object)(_l_ruta.getText()),(Object)(_foto1)};
+ //BA.debugLineNum = 809;BA.debugLine="cmd.Name = \"UPDATE_FOTO_GUNA\"";
+_cmd.Name /*String*/ = "UPDATE_FOTO_GUNA";
+ //BA.debugLineNum = 810;BA.debugLine="cmd.Parameters = Array As Object(fotoenvio,fot";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_fotoenvio),(Object)(_fotomostrar1.GetString("CAT_CL_CODIGO")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))};
//BA.debugLineNum = 811;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("INS_coment"));
+ }
+};
+ };
+ //BA.debugLineNum = 814;BA.debugLine="fotomostrar1.Close";
+_fotomostrar1.Close();
+ //BA.debugLineNum = 816;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_C";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_NUM_SERIEFISICO,CAT_CL_CODIGO ,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info3 where CAT_CL_NUM_SERIEFISICO IS NOT NULL and gestion <> '0'")));
+ //BA.debugLineNum = 817;BA.debugLine="If c.RowCount>0 Then";
+if (_c.getRowCount()>0) {
+ //BA.debugLineNum = 818;BA.debugLine="For i=0 To c.RowCount -1";
+{
+final int step157 = 1;
+final int limit157 = (int) (_c.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit157 ;_i = _i + step157 ) {
+ //BA.debugLineNum = 819;BA.debugLine="c.Position=i";
+_c.setPosition(_i);
+ //BA.debugLineNum = 822;BA.debugLine="foto1 = c.GetBlob(\"CAT_CL_FOTO\")";
+_foto1 = _c.GetBlob("CAT_CL_FOTO");
+ //BA.debugLineNum = 823;BA.debugLine="Dim cmd As DBCommand";
+_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
+ //BA.debugLineNum = 824;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 825;BA.debugLine="cmd.Name = \"insert_QR_GV2\"";
+_cmd.Name /*String*/ = "insert_QR_GV2";
+ //BA.debugLineNum = 826;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_NUM_SERIEFISICO")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_c.GetString("CAT_CL_LONG")),(Object)(_c.GetString("CAT_CL_LAT")),(Object)(_almacen),(Object)(_l_ruta.getText()),(Object)(_foto1)};
+ //BA.debugLineNum = 827;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_QR"));
}
};
};
- //BA.debugLineNum = 814;BA.debugLine="c.Close";
+ //BA.debugLineNum = 830;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 817;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C";
+ //BA.debugLineNum = 833;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_CL_ATIENDE1, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)")));
- //BA.debugLineNum = 818;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 834;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 819;BA.debugLine="For i=0 To c.RowCount -1";
-{
-final int step158 = 1;
-final int limit158 = (int) (_c.getRowCount()-1);
-_i = (int) (0) ;
-for (;_i <= limit158 ;_i = _i + step158 ) {
- //BA.debugLineNum = 820;BA.debugLine="c.Position=i";
-_c.setPosition(_i);
- //BA.debugLineNum = 821;BA.debugLine="Dim cmd As DBCommand";
-_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 822;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 823;BA.debugLine="cmd.Name = \"update_atiende_guna\"";
-_cmd.Name /*String*/ = "update_atiende_guna";
- //BA.debugLineNum = 824;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_ATIENDE1")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CAT_CL_CODIGO")))};
- //BA.debugLineNum = 825;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("up_coordenadas"));
- }
-};
- };
- //BA.debugLineNum = 828;BA.debugLine="c.Close";
-_c.Close();
- //BA.debugLineNum = 832;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select * fro";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CODIGOS_CREDITO where BANDERA = 1")));
- //BA.debugLineNum = 833;BA.debugLine="If c.RowCount>0 Then";
-if (_c.getRowCount()>0) {
- //BA.debugLineNum = 834;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 835;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step170 = 1;
final int limit170 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit170 ;_i = _i + step170 ) {
- //BA.debugLineNum = 835;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 836;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 836;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 837;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 837;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 838;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 838;BA.debugLine="cmd.Name = \"update_ventacredito_guna\"";
-_cmd.Name /*String*/ = "update_ventacredito_guna";
- //BA.debugLineNum = 839;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("BANDERA")),(Object)(_c.GetString("CLIENTE")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CLIENTE")))};
- //BA.debugLineNum = 840;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 839;BA.debugLine="cmd.Name = \"update_atiende_guna\"";
+_cmd.Name /*String*/ = "update_atiende_guna";
+ //BA.debugLineNum = 840;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_ATIENDE1")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CAT_CL_CODIGO")))};
+ //BA.debugLineNum = 841;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("up_coordenadas"));
}
};
};
- //BA.debugLineNum = 843;BA.debugLine="c.Close";
+ //BA.debugLineNum = 844;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 846;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_CL_TELEFONO, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)")));
- //BA.debugLineNum = 847;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 848;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select * fro";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CODIGOS_CREDITO where BANDERA = 1")));
+ //BA.debugLineNum = 849;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 848;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 850;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step182 = 1;
final int limit182 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit182 ;_i = _i + step182 ) {
- //BA.debugLineNum = 849;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 851;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 850;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 852;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 851;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 853;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 852;BA.debugLine="cmd.Name = \"update_telefono_guna\"";
-_cmd.Name /*String*/ = "update_telefono_guna";
- //BA.debugLineNum = 853;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_TELEFONO")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CAT_CL_CODIGO")))};
- //BA.debugLineNum = 854;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 854;BA.debugLine="cmd.Name = \"update_ventacredito_guna\"";
+_cmd.Name /*String*/ = "update_ventacredito_guna";
+ //BA.debugLineNum = 855;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("BANDERA")),(Object)(_c.GetString("CLIENTE")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CLIENTE")))};
+ //BA.debugLineNum = 856;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("up_coordenadas"));
}
};
};
- //BA.debugLineNum = 857;BA.debugLine="c.Close";
+ //BA.debugLineNum = 859;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 860;BA.debugLine="Private h As ResultSet = B4XPages.MainPage.skmt.";
-_h = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
-_h = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from bitacoraGPS"))));
- //BA.debugLineNum = 861;BA.debugLine="Do While h.nextrow";
-while (_h.NextRow()) {
- //BA.debugLineNum = 862;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 863;BA.debugLine="Private eventob As String = h.GetString(\"evento";
-_eventob = _h.GetString("eventob");
- //BA.debugLineNum = 864;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\"";
-_cmd.Name /*String*/ = "mandaBitacora3_GUNA";
- //BA.debugLineNum = 866;BA.debugLine="Private clienteb As String = h.GetString(\"clien";
-_clienteb = _h.GetString("clienteb");
- //BA.debugLineNum = 867;BA.debugLine="Private finb As String = h.GetString(\"finb\")";
-_finb = _h.GetString("finb");
- //BA.debugLineNum = 868;BA.debugLine="Private nombreCliente As String =Subs. traeNomb";
-_nombrecliente = _subs._traenombrecliente /*String*/ (ba,_h.GetString("clienteb"));
- //BA.debugLineNum = 869;BA.debugLine="If eventob = \"Llega a almacen\" Then";
-if ((_eventob).equals("Llega a almacen")) {
- //BA.debugLineNum = 870;BA.debugLine="nombreCliente = \"BOLETA\"";
-_nombrecliente = "BOLETA";
- //BA.debugLineNum = 871;BA.debugLine="clienteb = \"\"";
-_clienteb = "";
- //BA.debugLineNum = 872;BA.debugLine="finb = h.GetString(\"iniciob\")";
-_finb = _h.GetString("iniciob");
- };
- //BA.debugLineNum = 876;BA.debugLine="If eventob = \"Salida almacen\" Then nombreClient";
-if ((_eventob).equals("Salida almacen")) {
-_nombrecliente = "CHECKLIST";};
- //BA.debugLineNum = 877;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FI";
-if ((_eventob).equals("Fin Día")) {
-_nombrecliente = "FIN DIA";};
- //BA.debugLineNum = 878;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \"";
-if ((_eventob).equals("Carga día")) {
-_nombrecliente = "CARGA DIA";};
- //BA.debugLineNum = 879;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreC";
-if ((_eventob).equals("Carga día suplencia")) {
-_nombrecliente = _subs._traerutassup /*String*/ (ba);};
- //BA.debugLineNum = 883;BA.debugLine="cmd.Parameters = Array As Object(h.GetString(\"a";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_h.GetString("almacenb")),(Object)(_h.GetString("usuariob")),(Object)(_h.GetString("rutab")),(Object)(_eventob),(Object)(_clienteb),(Object)(_nombrecliente),(Object)(_h.GetString("iniciob")),(Object)(_finb),(Object)(_h.GetString("latitudb")),(Object)(_h.GetString("longitudb")),(Object)(_h.GetString("precision")),(Object)(_h.GetString("motivonoventa")),(Object)(_h.GetString("motivonovisita")),(Object)(_h.GetString("fechab")),(Object)(_h.GetString("BAN_GEOB"))};
- //BA.debugLineNum = 884;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("mandaBitacora"));
- }
-;
- //BA.debugLineNum = 886;BA.debugLine="Log(\"MANDAMOS BITACORA\")";
-__c.LogImpl("73866874","MANDAMOS BITACORA",0);
- //BA.debugLineNum = 888;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT HE_CL";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON, HE_FOTO FROM HIST_ENCUESTA")));
- //BA.debugLineNum = 889;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 862;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_C";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_CL_TELEFONO, CAT_CL_CODIGO from kmt_info3 where CAT_CL_CODIGO IN (SELECT CLIENTE FROM ATIENDE)")));
+ //BA.debugLineNum = 863;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 890;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 864;BA.debugLine="For i=0 To c.RowCount -1";
{
-final int step215 = 1;
-final int limit215 = (int) (_c.getRowCount()-1);
+final int step194 = 1;
+final int limit194 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit215 ;_i = _i + step215 ) {
- //BA.debugLineNum = 891;BA.debugLine="c.Position=i";
+for (;_i <= limit194 ;_i = _i + step194 ) {
+ //BA.debugLineNum = 865;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 892;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 866;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 893;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 867;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 894;BA.debugLine="cmd.Name = \"insert_encuesta2_GUNA\"";
-_cmd.Name /*String*/ = "insert_encuesta2_GUNA";
- //BA.debugLineNum = 896;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HE_CLIE")),(Object)(_c.GetString("HE_RES")),(Object)(_c.GetString("HE_FECHA")),(Object)(_c.GetString("HE_TIPO")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_c.GetString("HE_LAT")),(Object)(_c.GetString("HE_LON")),(Object)(""),(Object)(_c.GetBlob("HE_FOTO"))};
- //BA.debugLineNum = 897;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_encuesta"));
+ //BA.debugLineNum = 868;BA.debugLine="cmd.Name = \"update_telefono_guna\"";
+_cmd.Name /*String*/ = "update_telefono_guna";
+ //BA.debugLineNum = 869;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_TELEFONO")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("CAT_CL_CODIGO")))};
+ //BA.debugLineNum = 870;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("up_coordenadas"));
}
};
};
- //BA.debugLineNum = 900;BA.debugLine="c.Close";
+ //BA.debugLineNum = 873;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 903;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_C";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"})));
- //BA.debugLineNum = 904;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
-_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO")));
+ //BA.debugLineNum = 876;BA.debugLine="Private h As ResultSet = B4XPages.MainPage.skmt.";
+_h = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
+_h = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from bitacoraGPS"))));
+ //BA.debugLineNum = 877;BA.debugLine="Do While h.nextrow";
+while (_h.NextRow()) {
+ //BA.debugLineNum = 878;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 879;BA.debugLine="Private eventob As String = h.GetString(\"evento";
+_eventob = _h.GetString("eventob");
+ //BA.debugLineNum = 880;BA.debugLine="cmd.Name = \"mandaBitacora3_GUNA\"";
+_cmd.Name /*String*/ = "mandaBitacora3_GUNA";
+ //BA.debugLineNum = 882;BA.debugLine="Private clienteb As String = h.GetString(\"clien";
+_clienteb = _h.GetString("clienteb");
+ //BA.debugLineNum = 883;BA.debugLine="Private finb As String = h.GetString(\"finb\")";
+_finb = _h.GetString("finb");
+ //BA.debugLineNum = 884;BA.debugLine="Private nombreCliente As String =Subs. traeNomb";
+_nombrecliente = _subs._traenombrecliente /*String*/ (ba,_h.GetString("clienteb"));
+ //BA.debugLineNum = 885;BA.debugLine="If eventob = \"Llega a almacen\" Then";
+if ((_eventob).equals("Llega a almacen")) {
+ //BA.debugLineNum = 886;BA.debugLine="nombreCliente = \"BOLETA\"";
+_nombrecliente = "BOLETA";
+ //BA.debugLineNum = 887;BA.debugLine="clienteb = \"\"";
+_clienteb = "";
+ //BA.debugLineNum = 888;BA.debugLine="finb = h.GetString(\"iniciob\")";
+_finb = _h.GetString("iniciob");
+ };
+ //BA.debugLineNum = 892;BA.debugLine="If eventob = \"Salida almacen\" Then nombreClient";
+if ((_eventob).equals("Salida almacen")) {
+_nombrecliente = "CHECKLIST";};
+ //BA.debugLineNum = 893;BA.debugLine="If eventob = \"Fin Día\" Then nombreCliente = \"FI";
+if ((_eventob).equals("Fin Día")) {
+_nombrecliente = "FIN DIA";};
+ //BA.debugLineNum = 894;BA.debugLine="If eventob = \"Carga día\" Then nombreCliente = \"";
+if ((_eventob).equals("Carga día")) {
+_nombrecliente = "CARGA DIA";};
+ //BA.debugLineNum = 895;BA.debugLine="If eventob = \"Carga día suplencia\" Then nombreC";
+if ((_eventob).equals("Carga día suplencia")) {
+_nombrecliente = _subs._traerutassup /*String*/ (ba);};
+ //BA.debugLineNum = 899;BA.debugLine="cmd.Parameters = Array As Object(h.GetString(\"a";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_h.GetString("almacenb")),(Object)(_h.GetString("usuariob")),(Object)(_h.GetString("rutab")),(Object)(_eventob),(Object)(_clienteb),(Object)(_nombrecliente),(Object)(_h.GetString("iniciob")),(Object)(_finb),(Object)(_h.GetString("latitudb")),(Object)(_h.GetString("longitudb")),(Object)(_h.GetString("precision")),(Object)(_h.GetString("motivonoventa")),(Object)(_h.GetString("motivonovisita")),(Object)(_h.GetString("fechab")),(Object)(_h.GetString("BAN_GEOB"))};
+ //BA.debugLineNum = 900;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("mandaBitacora"));
+ }
+;
+ //BA.debugLineNum = 902;BA.debugLine="Log(\"MANDAMOS BITACORA\")";
+__c.LogImpl("43866888","MANDAMOS BITACORA",0);
+ //BA.debugLineNum = 904;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT HE_CL";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT HE_CLIE, HE_RES, HE_FECHA, HE_TIPO, HE_LAT, HE_LON, HE_FOTO FROM HIST_ENCUESTA")));
//BA.debugLineNum = 905;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
//BA.debugLineNum = 906;BA.debugLine="For i=0 To c.RowCount -1";
{
-final int step228 = 1;
-final int limit228 = (int) (_c.getRowCount()-1);
+final int step227 = 1;
+final int limit227 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit228 ;_i = _i + step228 ) {
+for (;_i <= limit227 ;_i = _i + step227 ) {
//BA.debugLineNum = 907;BA.debugLine="c.Position=i";
_c.setPosition(_i);
//BA.debugLineNum = 908;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
//BA.debugLineNum = 909;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 910;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 910;BA.debugLine="cmd.Name = \"insert_encuesta2_GUNA\"";
+_cmd.Name /*String*/ = "insert_encuesta2_GUNA";
+ //BA.debugLineNum = 912;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HE_CLIE")),(Object)(_c.GetString("HE_RES")),(Object)(_c.GetString("HE_FECHA")),(Object)(_c.GetString("HE_TIPO")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba)),(Object)(_c.GetString("HE_LAT")),(Object)(_c.GetString("HE_LON")),(Object)(""),(Object)(_c.GetBlob("HE_FOTO"))};
+ //BA.debugLineNum = 913;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_encuesta"));
+ }
+};
+ };
+ //BA.debugLineNum = 916;BA.debugLine="c.Close";
+_c.Close();
+ //BA.debugLineNum = 919;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_C";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM PEDIDO WHERE (PE_RECALCULO = ? or PE_RECALCULO = ? or PE_RECALCULO IS NULL)",new String[]{"","null"})));
+ //BA.debugLineNum = 920;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
+_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO")));
+ //BA.debugLineNum = 921;BA.debugLine="If c.RowCount>0 Then";
+if (_c.getRowCount()>0) {
+ //BA.debugLineNum = 922;BA.debugLine="For i=0 To c.RowCount -1";
+{
+final int step240 = 1;
+final int limit240 = (int) (_c.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit240 ;_i = _i + step240 ) {
+ //BA.debugLineNum = 923;BA.debugLine="c.Position=i";
+_c.setPosition(_i);
+ //BA.debugLineNum = 924;BA.debugLine="Dim cmd As DBCommand";
+_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
+ //BA.debugLineNum = 925;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 926;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 911;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+ //BA.debugLineNum = 927;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 912;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 928;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
}
};
};
- //BA.debugLineNum = 915;BA.debugLine="c.Close";
+ //BA.debugLineNum = 931;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 916;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 932;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 918;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")";
+ //BA.debugLineNum = 934;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")";
_cuantos_pedido = _d.GetString("CUANTOS_PEDIDO");
- //BA.debugLineNum = 919;BA.debugLine="d.Close";
+ //BA.debugLineNum = 935;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 922;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_R";
+ //BA.debugLineNum = 938;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT PE_R";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_RECALCULO,PE_RECALCULOTOT,ifnull(PE_RECCEDIS,'') as PE_RECCEDIS,PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,ifnull(PE_CANT,0) as PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, IFNULL(PE_RECCANT,0) AS PE_RECCANT FROM PEDIDO WHERE PE_RECALCULO <> ? or PE_RECALCULO <> ? or PE_RECALCULO IS NOT NULL",new String[]{"","null"})));
- //BA.debugLineNum = 923;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUN";
+ //BA.debugLineNum = 939;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery($\"SELECT COUN";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO where PE_RUTA = '"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"'"))));
- //BA.debugLineNum = 924;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 940;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 925;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 941;BA.debugLine="For i=0 To c.RowCount -1";
{
-final int step244 = 1;
-final int limit244 = (int) (_c.getRowCount()-1);
+final int step256 = 1;
+final int limit256 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit244 ;_i = _i + step244 ) {
- //BA.debugLineNum = 926;BA.debugLine="c.Position=i";
+for (;_i <= limit256 ;_i = _i + step256 ) {
+ //BA.debugLineNum = 942;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 927;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then";
+ //BA.debugLineNum = 943;BA.debugLine="If c.GetString(\"PE_RECCEDIS\") = \"\" Then";
if ((_c.GetString("PE_RECCEDIS")).equals("")) {
- //BA.debugLineNum = 928;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 944;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 929;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 945;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 930;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 946;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 931;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
+ //BA.debugLineNum = 947;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 932;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
+ //BA.debugLineNum = 948;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(c";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
}else {
- //BA.debugLineNum = 934;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"P";
+ //BA.debugLineNum = 950;BA.debugLine="If c.GetString(\"PE_RECCANT\") = c.GetString(\"P";
if ((_c.GetString("PE_RECCANT")).equals(_c.GetString("PE_CANT"))) {
- //BA.debugLineNum = 935;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 951;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 936;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 952;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 937;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 953;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 938;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
+ //BA.debugLineNum = 954;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_RECCEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 939;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
+ //BA.debugLineNum = 955;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
}else {
- //BA.debugLineNum = 942;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 958;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 943;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 959;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 944;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 960;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 945;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
+ //BA.debugLineNum = 961;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_RECCEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_RECALCULOTOT")),(Object)(_c.GetString("PE_RECALCULO")),(Object)(_c.GetString("PE_RECCANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 946;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
+ //BA.debugLineNum = 962;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
- //BA.debugLineNum = 948;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 964;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 949;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 965;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 950;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
+ //BA.debugLineNum = 966;BA.debugLine="cmd.Name = \"insert_pedido_GV2\"";
_cmd.Name /*String*/ = "insert_pedido_GV2";
- //BA.debugLineNum = 951;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
+ //BA.debugLineNum = 967;BA.debugLine="cmd.Parameters = Array As Object(C.GetString";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(__c.NumberFormat2(((double)(Double.parseDouble(_c.GetString("PE_CANT")))-(double)(Double.parseDouble(_c.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU"))),(int) (1),(int) (2),(int) (2),__c.False)),(Object)(_c.GetString("PE_COSTOU")),(Object)(((double)(Double.parseDouble(_c.GetString("PE_CANT")))-(double)(Double.parseDouble(_c.GetString("PE_RECCANT"))))),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO"))};
- //BA.debugLineNum = 952;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
+ //BA.debugLineNum = 968;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_pedido"));
};
};
}
};
};
- //BA.debugLineNum = 957;BA.debugLine="c.Close";
+ //BA.debugLineNum = 973;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 958;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 974;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 959;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")";
+ //BA.debugLineNum = 975;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")";
_cuantos_pedido = _d.GetString("CUANTOS_PEDIDO");
- //BA.debugLineNum = 960;BA.debugLine="d.Close";
+ //BA.debugLineNum = 976;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 982;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select *";
+ //BA.debugLineNum = 998;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select *";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from cuestionario"))));
- //BA.debugLineNum = 983;BA.debugLine="Private rutaActual As String = Subs.traeRuta";
+ //BA.debugLineNum = 999;BA.debugLine="Private rutaActual As String = Subs.traeRuta";
_rutaactual = _subs._traeruta /*String*/ (ba);
- //BA.debugLineNum = 984;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1000;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 985;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 1001;BA.debugLine="For i = 0 To c.RowCount - 1";
{
-final int step281 = 1;
-final int limit281 = (int) (_c.getRowCount()-1);
+final int step293 = 1;
+final int limit293 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit281 ;_i = _i + step281 ) {
- //BA.debugLineNum = 986;BA.debugLine="c.Position = i";
+for (;_i <= limit293 ;_i = _i + step293 ) {
+ //BA.debugLineNum = 1002;BA.debugLine="c.Position = i";
_c.setPosition(_i);
- //BA.debugLineNum = 987;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1003;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 988;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1004;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 989;BA.debugLine="cmd.Name = \"insert_CUESTIONARIO_GUNA\"";
+ //BA.debugLineNum = 1005;BA.debugLine="cmd.Name = \"insert_CUESTIONARIO_GUNA\"";
_cmd.Name /*String*/ = "insert_CUESTIONARIO_GUNA";
- //BA.debugLineNum = 990;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
+ //BA.debugLineNum = 1006;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("Q_IDCLIENTE")),(Object)(_rutaactual),(Object)(_almacen),(Object)(_c.GetString("Q_FECHA")),(Object)(_c.GetString("Q_IDPREGUNTA")),(Object)(_c.GetString("Q_PREGUNTA")),(Object)(_c.GetString("Q_IDRESPUESTA")),(Object)(_c.GetString("Q_RESPUESTA"))};
- //BA.debugLineNum = 991;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 1007;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("ins_cuestionario"));
}
};
};
- //BA.debugLineNum = 994;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1010;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 997;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_CL";
+ //BA.debugLineNum = 1013;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_CL";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA")));
- //BA.debugLineNum = 998;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
+ //BA.debugLineNum = 1014;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT";
_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA")));
- //BA.debugLineNum = 999;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 1015;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1000;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 1016;BA.debugLine="For i=0 To c.RowCount -1";
{
-final int step294 = 1;
-final int limit294 = (int) (_c.getRowCount()-1);
+final int step306 = 1;
+final int limit306 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit294 ;_i = _i + step294 ) {
- //BA.debugLineNum = 1001;BA.debugLine="c.Position=i";
+for (;_i <= limit306 ;_i = _i + step306 ) {
+ //BA.debugLineNum = 1017;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 1002;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1018;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1003;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1019;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1004;BA.debugLine="cmd.Name = \"insert_noventa_GV2\"";
+ //BA.debugLineNum = 1020;BA.debugLine="cmd.Name = \"insert_noventa_GV2\"";
_cmd.Name /*String*/ = "insert_noventa_GV2";
- //BA.debugLineNum = 1005;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+ //BA.debugLineNum = 1021;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("NV_CLIENTE")),(Object)(_c.GetString("NV_FECHA")),(Object)(_c.GetString("NV_USER")),(Object)(_c.GetString("NV_MOTIVO")),(Object)(_c.GetString("NV_COMM")),(Object)(_c.GetString("NV_LAT")),(Object)(_c.GetString("NV_LON")),(Object)(_almacen),(Object)(_l_ruta.getText())};
- //BA.debugLineNum = 1006;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+ //BA.debugLineNum = 1022;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_noventa"));
}
};
};
- //BA.debugLineNum = 1009;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1025;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1010;BA.debugLine="d.Position=0";
+ //BA.debugLineNum = 1026;BA.debugLine="d.Position=0";
_d.setPosition((int) (0));
- //BA.debugLineNum = 1011;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")";
+ //BA.debugLineNum = 1027;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")";
_cuantos_noventa = _d.GetString("CUANTOS_NOVENTA");
- //BA.debugLineNum = 1012;BA.debugLine="d.Close";
+ //BA.debugLineNum = 1028;BA.debugLine="d.Close";
_d.Close();
- //BA.debugLineNum = 1030;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HGCLI";
+ //BA.debugLineNum = 1046;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HGCLI";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HGCLIENTE, HGDATE, HGLAT, HGLON from HIST_GEOCERCA")));
- //BA.debugLineNum = 1031;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 1047;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1032;BA.debugLine="For i=0 To c.RowCount -1";
-{
-final int step309 = 1;
-final int limit309 = (int) (_c.getRowCount()-1);
-_i = (int) (0) ;
-for (;_i <= limit309 ;_i = _i + step309 ) {
- //BA.debugLineNum = 1033;BA.debugLine="c.Position=i";
-_c.setPosition(_i);
- //BA.debugLineNum = 1034;BA.debugLine="Dim cmd As DBCommand";
-_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1035;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1036;BA.debugLine="cmd.Name = \"insert_geocerca_GV2\"";
-_cmd.Name /*String*/ = "insert_geocerca_GV2";
- //BA.debugLineNum = 1037;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HGCLIENTE")),(Object)(_c.GetString("HGDATE")),(Object)(_c.GetString("HGLAT")),(Object)(_c.GetString("HGLON"))};
- //BA.debugLineNum = 1038;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_hist_geo"));
- }
-};
- };
- //BA.debugLineNum = 1041;BA.debugLine="c.Close";
-_c.Close();
- //BA.debugLineNum = 1044;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HFCLI";
-_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN from HIST_FACE")));
- //BA.debugLineNum = 1045;BA.debugLine="If c.RowCount>0 Then";
-if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1046;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 1048;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step321 = 1;
final int limit321 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit321 ;_i = _i + step321 ) {
- //BA.debugLineNum = 1047;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 1049;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 1048;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1050;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1049;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1051;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1050;BA.debugLine="cmd.Name = \"insert_face_like_GV2\"";
-_cmd.Name /*String*/ = "insert_face_like_GV2";
- //BA.debugLineNum = 1051;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HFCLIENTE")),(Object)(_c.GetString("HFALIAS")),(Object)(_c.GetString("HFRUTA")),(Object)(_c.GetString("HFALMACEN"))};
- //BA.debugLineNum = 1052;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_hist_face"));
+ //BA.debugLineNum = 1052;BA.debugLine="cmd.Name = \"insert_geocerca_GV2\"";
+_cmd.Name /*String*/ = "insert_geocerca_GV2";
+ //BA.debugLineNum = 1053;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HGCLIENTE")),(Object)(_c.GetString("HGDATE")),(Object)(_c.GetString("HGLAT")),(Object)(_c.GetString("HGLON"))};
+ //BA.debugLineNum = 1054;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_hist_geo"));
}
};
};
- //BA.debugLineNum = 1055;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1057;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1058;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second";
-_t1.Initialize(ba,"T1",(long) (30000));
- //BA.debugLineNum = 1059;BA.debugLine="t1.Enabled = True";
-_t1.setEnabled(__c.True);
- //BA.debugLineNum = 1060;BA.debugLine="Dim sDate,sTime As String";
-_sdate = "";
-_stime = "";
- //BA.debugLineNum = 1061;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
-__c.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 1062;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
-_sdate = __c.DateTime.Date(__c.DateTime.getNow());
- //BA.debugLineNum = 1063;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
-_stime = __c.DateTime.Time(__c.DateTime.getNow());
+ //BA.debugLineNum = 1060;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HFCLI";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN from HIST_FACE")));
+ //BA.debugLineNum = 1061;BA.debugLine="If c.RowCount>0 Then";
+if (_c.getRowCount()>0) {
+ //BA.debugLineNum = 1062;BA.debugLine="For i=0 To c.RowCount -1";
+{
+final int step333 = 1;
+final int limit333 = (int) (_c.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit333 ;_i = _i + step333 ) {
+ //BA.debugLineNum = 1063;BA.debugLine="c.Position=i";
+_c.setPosition(_i);
//BA.debugLineNum = 1064;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
//BA.debugLineNum = 1065;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1066;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\"";
+ //BA.debugLineNum = 1066;BA.debugLine="cmd.Name = \"insert_face_like_GV2\"";
+_cmd.Name /*String*/ = "insert_face_like_GV2";
+ //BA.debugLineNum = 1067;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HFCLIENTE")),(Object)(_c.GetString("HFALIAS")),(Object)(_c.GetString("HFRUTA")),(Object)(_c.GetString("HFALMACEN"))};
+ //BA.debugLineNum = 1068;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cm";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_hist_face"));
+ }
+};
+ };
+ //BA.debugLineNum = 1071;BA.debugLine="c.Close";
+_c.Close();
+ //BA.debugLineNum = 1074;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second";
+_t1.Initialize(ba,"T1",(long) (30000));
+ //BA.debugLineNum = 1075;BA.debugLine="t1.Enabled = True";
+_t1.setEnabled(__c.True);
+ //BA.debugLineNum = 1076;BA.debugLine="Dim sDate,sTime As String";
+_sdate = "";
+_stime = "";
+ //BA.debugLineNum = 1077;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+__c.DateTime.setDateFormat("MM/dd/yyyy");
+ //BA.debugLineNum = 1078;BA.debugLine="sDate=DateTime.Date(DateTime.Now)";
+_sdate = __c.DateTime.Date(__c.DateTime.getNow());
+ //BA.debugLineNum = 1079;BA.debugLine="sTime=DateTime.Time(DateTime.Now)";
+_stime = __c.DateTime.Time(__c.DateTime.getNow());
+ //BA.debugLineNum = 1080;BA.debugLine="Dim cmd As DBCommand";
+_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
+ //BA.debugLineNum = 1081;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1082;BA.debugLine="cmd.Name =\"insert_drop_GV2_3\"";
_cmd.Name /*String*/ = "insert_drop_GV2_3";
- //BA.debugLineNum = 1067;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta.";
+ //BA.debugLineNum = 1083;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta.";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_l_ruta.getText()),(Object)(_sdate+_stime),(Object)(_l_porvisitar.getText()),(Object)(_l_drop.getText()),(Object)(_l_efectiva.getText()),(Object)(_l_cuantosc.getText()),(Object)(_l_cuantosn.getText()),(Object)(__c.NumberFormat2((double)(Double.parseDouble(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ )),(int) (0),(int) (2),(int) (2),__c.False)),(Object)("ENVIO"),(Object)(_almacen),(Object)(__c.Application.getVersionName())};
- //BA.debugLineNum = 1068;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+ //BA.debugLineNum = 1084;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("inst_drop"));
- //BA.debugLineNum = 1069;BA.debugLine="img2.Visible =False";
+ //BA.debugLineNum = 1085;BA.debugLine="img2.Visible =False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 1070;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant";
+ //BA.debugLineNum = 1086;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant";
_porcentaje = BA.NumberToString(__c.Round(100/(double)((double)(Double.parseDouble(_cuantos_noventa))+(double)(Double.parseDouble(_cuantos_pedido))+(double)(Double.parseDouble(_cuantos_pedidosc))+1)));
- //BA.debugLineNum = 1071;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
+ //BA.debugLineNum = 1087;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS";
if ((_starter._marcacel /*String*/ ).equals("Sony") == false) {
__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "+_l_ruta.getText()),__c.True);};
};
- //BA.debugLineNum = 1074;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1090;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO1")));
- //BA.debugLineNum = 1075;BA.debugLine="If x.RowCount>0 Then";
+ //BA.debugLineNum = 1091;BA.debugLine="If x.RowCount>0 Then";
if (_x.getRowCount()>0) {
- //BA.debugLineNum = 1076;BA.debugLine="For i=0 To x.RowCount -1";
+ //BA.debugLineNum = 1092;BA.debugLine="For i=0 To x.RowCount -1";
{
-final int step348 = 1;
-final int limit348 = (int) (_x.getRowCount()-1);
+final int step360 = 1;
+final int limit360 = (int) (_x.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit348 ;_i = _i + step348 ) {
- //BA.debugLineNum = 1077;BA.debugLine="x.Position=i";
+for (;_i <= limit360 ;_i = _i + step360 ) {
+ //BA.debugLineNum = 1093;BA.debugLine="x.Position=i";
_x.setPosition(_i);
- //BA.debugLineNum = 1078;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1094;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1079;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1095;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1080;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO1\"";
+ //BA.debugLineNum = 1096;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO1\"";
_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO1";
- //BA.debugLineNum = 1081;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
+ //BA.debugLineNum = 1097;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8")),(Object)(_x.GetString("P9"))};
- //BA.debugLineNum = 1082;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+ //BA.debugLineNum = 1098;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO1"));
}
};
};
- //BA.debugLineNum = 1085;BA.debugLine="x.Close";
+ //BA.debugLineNum = 1101;BA.debugLine="x.Close";
_x.Close();
- //BA.debugLineNum = 1087;BA.debugLine="Private x1 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 1103;BA.debugLine="Private x1 As Cursor = B4XPages.MainPage.skmt.Exe";
_x1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_x1 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6 from ENCUESTA_MODULO2")));
- //BA.debugLineNum = 1088;BA.debugLine="If x1.RowCount>0 Then";
+ //BA.debugLineNum = 1104;BA.debugLine="If x1.RowCount>0 Then";
if (_x1.getRowCount()>0) {
- //BA.debugLineNum = 1089;BA.debugLine="For i=0 To x1.RowCount -1";
+ //BA.debugLineNum = 1105;BA.debugLine="For i=0 To x1.RowCount -1";
{
-final int step360 = 1;
-final int limit360 = (int) (_x1.getRowCount()-1);
+final int step372 = 1;
+final int limit372 = (int) (_x1.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit360 ;_i = _i + step360 ) {
- //BA.debugLineNum = 1090;BA.debugLine="x1.Position=i";
+for (;_i <= limit372 ;_i = _i + step372 ) {
+ //BA.debugLineNum = 1106;BA.debugLine="x1.Position=i";
_x1.setPosition(_i);
- //BA.debugLineNum = 1091;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1107;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1092;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1108;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1093;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO2\"";
+ //BA.debugLineNum = 1109;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO2\"";
_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO2";
- //BA.debugLineNum = 1094;BA.debugLine="cmd.Parameters = Array As Object(x1.GetString(\"";
+ //BA.debugLineNum = 1110;BA.debugLine="cmd.Parameters = Array As Object(x1.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x1.GetString("CLIENTE")),(Object)(_x1.GetString("ALMACEN")),(Object)(_x1.GetString("P1")),(Object)(_x1.GetString("P2")),(Object)(_x1.GetString("P3")),(Object)(_x1.GetString("P4")),(Object)(_x1.GetString("P5")),(Object)(_x1.GetString("P6"))};
- //BA.debugLineNum = 1095;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+ //BA.debugLineNum = 1111;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO2"));
}
};
};
- //BA.debugLineNum = 1098;BA.debugLine="x1.Close";
+ //BA.debugLineNum = 1114;BA.debugLine="x1.Close";
_x1.Close();
- //BA.debugLineNum = 1099;BA.debugLine="Private x2 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 1115;BA.debugLine="Private x2 As Cursor = B4XPages.MainPage.skmt.Exe";
_x2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_x2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 from ENCUESTA_MODULO3")));
- //BA.debugLineNum = 1100;BA.debugLine="If x2.RowCount>0 Then";
+ //BA.debugLineNum = 1116;BA.debugLine="If x2.RowCount>0 Then";
if (_x2.getRowCount()>0) {
- //BA.debugLineNum = 1101;BA.debugLine="For i=0 To x2.RowCount -1";
+ //BA.debugLineNum = 1117;BA.debugLine="For i=0 To x2.RowCount -1";
{
-final int step372 = 1;
-final int limit372 = (int) (_x2.getRowCount()-1);
+final int step384 = 1;
+final int limit384 = (int) (_x2.getRowCount()-1);
_i = (int) (0) ;
-for (;_i <= limit372 ;_i = _i + step372 ) {
- //BA.debugLineNum = 1102;BA.debugLine="x2.Position=i";
+for (;_i <= limit384 ;_i = _i + step384 ) {
+ //BA.debugLineNum = 1118;BA.debugLine="x2.Position=i";
_x2.setPosition(_i);
- //BA.debugLineNum = 1104;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1120;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1105;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1121;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1106;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO3\"";
+ //BA.debugLineNum = 1122;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO3\"";
_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO3";
- //BA.debugLineNum = 1107;BA.debugLine="cmd.Parameters = Array As Object(x2.GetString(\"";
+ //BA.debugLineNum = 1123;BA.debugLine="cmd.Parameters = Array As Object(x2.GetString(\"";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x2.GetString("CLIENTE")),(Object)(_x2.GetString("ALMACEN")),(Object)(_x2.GetString("P1")),(Object)(_x2.GetString("P2")),(Object)(_x2.GetString("P3")),(Object)(_x2.GetString("P4")),(Object)(_x2.GetString("P5")),(Object)(_x2.GetString("P6")),(Object)(_x2.GetString("P7")),(Object)(_x2.GetString("P8")),(Object)(_x2.GetString("P9")),(Object)(_x2.GetString("P10")),(Object)(_x2.GetString("P11"))};
- //BA.debugLineNum = 1108;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+ //BA.debugLineNum = 1124;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO3"));
}
};
};
- //BA.debugLineNum = 1111;BA.debugLine="x2.Close";
+ //BA.debugLineNum = 1127;BA.debugLine="x2.Close";
_x2.Close();
- //BA.debugLineNum = 1112;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1128;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8 from ENCUESTA_MODULO4")));
- //BA.debugLineNum = 1113;BA.debugLine="If x.RowCount>0 Then";
+ //BA.debugLineNum = 1129;BA.debugLine="If x.RowCount>0 Then";
if (_x.getRowCount()>0) {
- //BA.debugLineNum = 1114;BA.debugLine="For i=0 To x.RowCount -1";
-{
-final int step384 = 1;
-final int limit384 = (int) (_x.getRowCount()-1);
-_i = (int) (0) ;
-for (;_i <= limit384 ;_i = _i + step384 ) {
- //BA.debugLineNum = 1115;BA.debugLine="x.Position=i";
-_x.setPosition(_i);
- //BA.debugLineNum = 1116;BA.debugLine="Dim cmd As DBCommand";
-_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1117;BA.debugLine="cmd.Initialize";
-_cmd.Initialize();
- //BA.debugLineNum = 1118;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO4\"";
-_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO4";
- //BA.debugLineNum = 1119;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
-_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8"))};
- //BA.debugLineNum = 1120;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO4"));
- }
-};
- };
- //BA.debugLineNum = 1123;BA.debugLine="x.Close";
-_x.Close();
- //BA.debugLineNum = 1124;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
-_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO5")));
- //BA.debugLineNum = 1125;BA.debugLine="If x.RowCount>0 Then";
-if (_x.getRowCount()>0) {
- //BA.debugLineNum = 1126;BA.debugLine="For i=0 To x.RowCount -1";
+ //BA.debugLineNum = 1130;BA.debugLine="For i=0 To x.RowCount -1";
{
final int step396 = 1;
final int limit396 = (int) (_x.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit396 ;_i = _i + step396 ) {
- //BA.debugLineNum = 1127;BA.debugLine="x.Position=i";
+ //BA.debugLineNum = 1131;BA.debugLine="x.Position=i";
_x.setPosition(_i);
- //BA.debugLineNum = 1128;BA.debugLine="Dim cmd As DBCommand";
+ //BA.debugLineNum = 1132;BA.debugLine="Dim cmd As DBCommand";
_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
- //BA.debugLineNum = 1129;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 1133;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 1130;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO5\"";
+ //BA.debugLineNum = 1134;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO4\"";
+_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO4";
+ //BA.debugLineNum = 1135;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
+_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8"))};
+ //BA.debugLineNum = 1136;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO4"));
+ }
+};
+ };
+ //BA.debugLineNum = 1139;BA.debugLine="x.Close";
+_x.Close();
+ //BA.debugLineNum = 1140;BA.debugLine="Private x As Cursor = B4XPages.MainPage.skmt.Exec";
+_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CLIENTE, ALMACEN, P1, P2, P3, P4, P5, P6, P7, P8, P9 from ENCUESTA_MODULO5")));
+ //BA.debugLineNum = 1141;BA.debugLine="If x.RowCount>0 Then";
+if (_x.getRowCount()>0) {
+ //BA.debugLineNum = 1142;BA.debugLine="For i=0 To x.RowCount -1";
+{
+final int step408 = 1;
+final int limit408 = (int) (_x.getRowCount()-1);
+_i = (int) (0) ;
+for (;_i <= limit408 ;_i = _i + step408 ) {
+ //BA.debugLineNum = 1143;BA.debugLine="x.Position=i";
+_x.setPosition(_i);
+ //BA.debugLineNum = 1144;BA.debugLine="Dim cmd As DBCommand";
+_cmd = new gunav2.keymon.com.mx.dbrequestmanager._dbcommand();
+ //BA.debugLineNum = 1145;BA.debugLine="cmd.Initialize";
+_cmd.Initialize();
+ //BA.debugLineNum = 1146;BA.debugLine="cmd.Name = \"insert_ENCUESTA_MODULO5\"";
_cmd.Name /*String*/ = "insert_ENCUESTA_MODULO5";
- //BA.debugLineNum = 1131;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
+ //BA.debugLineNum = 1147;BA.debugLine="cmd.Parameters = Array As Object(x.GetString(\"C";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_x.GetString("CLIENTE")),(Object)(_x.GetString("ALMACEN")),(Object)(_x.GetString("P1")),(Object)(_x.GetString("P2")),(Object)(_x.GetString("P3")),(Object)(_x.GetString("P4")),(Object)(_x.GetString("P5")),(Object)(_x.GetString("P6")),(Object)(_x.GetString("P7")),(Object)(_x.GetString("P8")),(Object)(_x.GetString("P9"))};
- //BA.debugLineNum = 1132;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
+ //BA.debugLineNum = 1148;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteCommand(cmd";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executecommand /*String*/ (_cmd,(Object)("insert_ENCUESTA_MODULO5"));
}
};
};
- //BA.debugLineNum = 1135;BA.debugLine="x.Close";
+ //BA.debugLineNum = 1151;BA.debugLine="x.Close";
_x.Close();
- //BA.debugLineNum = 1136;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1152;BA.debugLine="End Sub";
return "";
}
public String _t1_tick() throws Exception{
- //BA.debugLineNum = 3091;BA.debugLine="Sub t1_tick";
- //BA.debugLineNum = 3093;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3112;BA.debugLine="Sub t1_tick";
+ //BA.debugLineNum = 3114;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3094;BA.debugLine="cmd.Name = \"select_cuantos_pedido_GV2\"";
+ //BA.debugLineNum = 3115;BA.debugLine="cmd.Name = \"select_cuantos_pedido_GV2\"";
_cmd.Name /*String*/ = "select_cuantos_pedido_GV2";
- //BA.debugLineNum = 3095;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
+ //BA.debugLineNum = 3116;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())};
- //BA.debugLineNum = 3096;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
+ //BA.debugLineNum = 3117;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedido"));
- //BA.debugLineNum = 3098;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3119;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3099;BA.debugLine="cmd.Name = \"select_cuantos_noventa_GV2\"";
+ //BA.debugLineNum = 3120;BA.debugLine="cmd.Name = \"select_cuantos_noventa_GV2\"";
_cmd.Name /*String*/ = "select_cuantos_noventa_GV2";
- //BA.debugLineNum = 3100;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
+ //BA.debugLineNum = 3121;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())};
- //BA.debugLineNum = 3101;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
+ //BA.debugLineNum = 3122;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_noventa"));
- //BA.debugLineNum = 3103;BA.debugLine="cmd.Initialize";
+ //BA.debugLineNum = 3124;BA.debugLine="cmd.Initialize";
_cmd.Initialize();
- //BA.debugLineNum = 3104;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_GV2\"";
+ //BA.debugLineNum = 3125;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_GV2\"";
_cmd.Name /*String*/ = "select_cuantos_pedidoc_GV2";
- //BA.debugLineNum = 3105;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
+ //BA.debugLineNum = 3126;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t";
_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())};
- //BA.debugLineNum = 3106;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
+ //BA.debugLineNum = 3127;BA.debugLine="B4XPages.MainPage.reqManager.ExecuteQuery(cmd , 0";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedidoc"));
- //BA.debugLineNum = 3108;BA.debugLine="If PB2.Progress = 0 Then";
+ //BA.debugLineNum = 3129;BA.debugLine="If PB2.Progress = 0 Then";
if (_pb2.getProgress()==0) {
- //BA.debugLineNum = 3109;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\"";
+ //BA.debugLineNum = 3130;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\"";
_s_cp.setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-1)"));
};
- //BA.debugLineNum = 3111;BA.debugLine="Log(\"TIMER DISABLED\")";
-__c.LogImpl("74587540","TIMER DISABLED",0);
- //BA.debugLineNum = 3112;BA.debugLine="img2.Visible=False";
+ //BA.debugLineNum = 3132;BA.debugLine="Log(\"TIMER DISABLED\")";
+__c.LogImpl("44587540","TIMER DISABLED",0);
+ //BA.debugLineNum = 3133;BA.debugLine="img2.Visible=False";
_img2.setVisible(__c.False);
- //BA.debugLineNum = 3113;BA.debugLine="t1.Enabled = False";
+ //BA.debugLineNum = 3134;BA.debugLine="t1.Enabled = False";
_t1.setEnabled(__c.False);
- //BA.debugLineNum = 3116;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3137;BA.debugLine="End Sub";
return "";
}
public String _t2_tick() throws Exception{
- //BA.debugLineNum = 2960;BA.debugLine="Sub t2_tick";
- //BA.debugLineNum = 2962;BA.debugLine="Log(\"--------> BORRAMOS\")";
-__c.LogImpl("74390914","--------> BORRAMOS",0);
- //BA.debugLineNum = 2963;BA.debugLine="If B4XPages.MainPage.productos.lv_catalogos.IsIni";
+ //BA.debugLineNum = 2981;BA.debugLine="Sub t2_tick";
+ //BA.debugLineNum = 2983;BA.debugLine="Log(\"--------> BORRAMOS\")";
+__c.LogImpl("44390914","--------> BORRAMOS",0);
+ //BA.debugLineNum = 2984;BA.debugLine="If B4XPages.MainPage.productos.lv_catalogos.IsIni";
if (_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .IsInitialized()) {
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._productos /*gunav2.keymon.com.mx.c_productos*/ ._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .Clear();};
- //BA.debugLineNum = 2964;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2985;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente");
- //BA.debugLineNum = 2965;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2986;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido");
- //BA.debugLineNum = 2966;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2987;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa");
- //BA.debugLineNum = 2967;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2988;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from COMENTARIOS");
- //BA.debugLineNum = 2968;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2989;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_PROMOS_DESCUENTOS");
- //BA.debugLineNum = 2969;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2990;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from TELEFONO");
- //BA.debugLineNum = 2970;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2991;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from ATIENDE");
- //BA.debugLineNum = 2971;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2992;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PLAN_LEALTAD");
- //BA.debugLineNum = 2972;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2993;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act");
- //BA.debugLineNum = 2973;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 2994;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info3");
- //BA.debugLineNum = 2974;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CLIENTES_NUEVOS");
- //BA.debugLineNum = 2975;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\")";
-_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_GIRO");
- //BA.debugLineNum = 2976;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod");
- //BA.debugLineNum = 2977;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2");
- //BA.debugLineNum = 2978;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ");
- //BA.debugLineNum = 2979;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS");
- //BA.debugLineNum = 2980;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VERIFICACION");
- //BA.debugLineNum = 2981;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA");
- //BA.debugLineNum = 2982;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA2");
- //BA.debugLineNum = 2983;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_OUT");
- //BA.debugLineNum = 2984;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS");
- //BA.debugLineNum = 2985;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE from";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE from CODIGOS_CREDITO");
- //BA.debugLineNum = 2986;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_FACE");
- //BA.debugLineNum = 2987;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INTO";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)");
- //BA.debugLineNum = 2988;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_CODIGO_BARRAS");
- //BA.debugLineNum = 2989;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO1");
- //BA.debugLineNum = 2990;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO2");
- //BA.debugLineNum = 2991;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO3");
- //BA.debugLineNum = 2992;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO4");
- //BA.debugLineNum = 2993;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO5");
- //BA.debugLineNum = 2994;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
-_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BITACORAGPS");
//BA.debugLineNum = 2995;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CLIENTES_NUEVOS");
+ //BA.debugLineNum = 2996;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\")";
+_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_GIRO");
+ //BA.debugLineNum = 2997;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod");
+ //BA.debugLineNum = 2998;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2");
+ //BA.debugLineNum = 2999;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ");
+ //BA.debugLineNum = 3000;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS");
+ //BA.debugLineNum = 3001;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VERIFICACION");
+ //BA.debugLineNum = 3002;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA");
+ //BA.debugLineNum = 3003;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA2");
+ //BA.debugLineNum = 3004;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_OUT");
+ //BA.debugLineNum = 3005;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS");
+ //BA.debugLineNum = 3006;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE from";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE from CODIGOS_CREDITO");
+ //BA.debugLineNum = 3007;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_FACE");
+ //BA.debugLineNum = 3008;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INTO";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)");
+ //BA.debugLineNum = 3009;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_CODIGO_BARRAS");
+ //BA.debugLineNum = 3010;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO1");
+ //BA.debugLineNum = 3011;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO2");
+ //BA.debugLineNum = 3012;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO3");
+ //BA.debugLineNum = 3013;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO4");
+ //BA.debugLineNum = 3014;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENCUESTA_MODULO5");
+ //BA.debugLineNum = 3015;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM BITACORAGPS");
+ //BA.debugLineNum = 3016;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTA_SUPLENCIA");
- //BA.debugLineNum = 2996;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 3017;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM TICKET_IMPRESO");
- //BA.debugLineNum = 2997;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
+ //BA.debugLineNum = 3018;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"CARGA_DIA"}));
- //BA.debugLineNum = 2998;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
+ //BA.debugLineNum = 3019;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"VENTAFUTURA"}));
- //BA.debugLineNum = 2999;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
+ //BA.debugLineNum = 3020;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"pasword"}));
- //BA.debugLineNum = 3000;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
+ //BA.debugLineNum = 3021;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"LATITUD"}));
- //BA.debugLineNum = 3001;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
+ //BA.debugLineNum = 3022;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"LONGITUD"}));
- //BA.debugLineNum = 3002;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
+ //BA.debugLineNum = 3023;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE FROM";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"RUTA"}));
- //BA.debugLineNum = 3005;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
+ //BA.debugLineNum = 3026;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE GPS";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE GPS SET HABILITADO = (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(0)}));
- //BA.debugLineNum = 3006;BA.debugLine="Subs.deleteFolder(Starter.fFileProvider.SharedFol";
+ //BA.debugLineNum = 3027;BA.debugLine="Subs.deleteFolder(Starter.fFileProvider.SharedFol";
_subs._deletefolder /*String*/ (ba,_starter._ffileprovider /*gunav2.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ );
- //BA.debugLineNum = 3008;BA.debugLine="E_RUTA2.Visible = False";
+ //BA.debugLineNum = 3029;BA.debugLine="E_RUTA2.Visible = False";
_e_ruta2.setVisible(__c.False);
- //BA.debugLineNum = 3010;BA.debugLine="b_abordo.Visible = False";
+ //BA.debugLineNum = 3031;BA.debugLine="b_abordo.Visible = False";
_b_abordo.setVisible(__c.False);
- //BA.debugLineNum = 3011;BA.debugLine="cargar.Visible = False";
+ //BA.debugLineNum = 3032;BA.debugLine="cargar.Visible = False";
_cargar.setVisible(__c.False);
- //BA.debugLineNum = 3012;BA.debugLine="Subir.Visible = False";
+ //BA.debugLineNum = 3033;BA.debugLine="Subir.Visible = False";
_subir.setVisible(__c.False);
- //BA.debugLineNum = 3013;BA.debugLine="connecta.Visible = True";
+ //BA.debugLineNum = 3034;BA.debugLine="connecta.Visible = True";
_connecta.setVisible(__c.True);
- //BA.debugLineNum = 3019;BA.debugLine="t2.Enabled = False";
+ //BA.debugLineNum = 3040;BA.debugLine="t2.Enabled = False";
_t2.setEnabled(__c.False);
- //BA.debugLineNum = 3020;BA.debugLine="e_ruta.Text = \"\"";
+ //BA.debugLineNum = 3041;BA.debugLine="e_ruta.Text = \"\"";
_e_ruta.setText(BA.ObjectToCharSequence(""));
- //BA.debugLineNum = 3021;BA.debugLine="B4XPage_Appear";
+ //BA.debugLineNum = 3042;BA.debugLine="B4XPage_Appear";
_b4xpage_appear();
- //BA.debugLineNum = 3022;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3043;BA.debugLine="End Sub";
return "";
}
public String _tickets_dia_click() throws Exception{
- //BA.debugLineNum = 3757;BA.debugLine="Sub tickets_dia_Click";
- //BA.debugLineNum = 3758;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")";
+ //BA.debugLineNum = 3787;BA.debugLine="Sub tickets_dia_Click";
+ //BA.debugLineNum = 3788;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")";
_b4xpages._showpage /*String*/ (ba,"TicketsDia");
- //BA.debugLineNum = 3759;BA.debugLine="End Sub";
+ //BA.debugLineNum = 3789;BA.debugLine="End Sub";
return "";
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_productos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_productos.java
index fe66c71..183ebcd 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_productos.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_productos.java
@@ -127,9 +127,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -137,10 +137,10 @@ public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null;
public gunav2.keymon.com.mx.httputils2service _httputils2service = null;
public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null;
public String _b_acep_dev_click() throws Exception{
- //BA.debugLineNum = 2444;BA.debugLine="Private Sub b_acep_dev_Click";
- //BA.debugLineNum = 2445;BA.debugLine="p_devo.Visible = False";
+ //BA.debugLineNum = 2448;BA.debugLine="Private Sub b_acep_dev_Click";
+ //BA.debugLineNum = 2449;BA.debugLine="p_devo.Visible = False";
_p_devo.setVisible(__c.False);
- //BA.debugLineNum = 2446;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2450;BA.debugLine="End Sub";
return "";
}
public String _b_aceptar_click() throws Exception{
@@ -156,13 +156,13 @@ public String _b_continuar_click() throws Exception{
anywheresoftware.b4a.objects.collections.Map _m = null;
//BA.debugLineNum = 1273;BA.debugLine="Private Sub b_continuar_Click";
//BA.debugLineNum = 1274;BA.debugLine="Log(\"b_continuar_Click\")";
-__c.LogImpl("730474241","b_continuar_Click",0);
+__c.LogImpl("441025537","b_continuar_Click",0);
//BA.debugLineNum = 1275;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 1277;BA.debugLine="Log($\"prodsMap=${prodsMap}\"$)";
-__c.LogImpl("730474244",("prodsMap="+__c.SmartStringFormatter("",(Object)(_prodsmap.getObject()))+""),0);
+__c.LogImpl("441025540",("prodsMap="+__c.SmartStringFormatter("",(Object)(_prodsmap.getObject()))+""),0);
//BA.debugLineNum = 1285;BA.debugLine="Log(\"promos-inv, prods-inv, cat-vis\")";
-__c.LogImpl("730474252","promos-inv, prods-inv, cat-vis",0);
+__c.LogImpl("441025548","promos-inv, prods-inv, cat-vis",0);
//BA.debugLineNum = 1286;BA.debugLine="lv_promos.Visible = False";
_lv_promos.setVisible(__c.False);
//BA.debugLineNum = 1287;BA.debugLine="clv_prods_ll.AsView.Visible = False";
@@ -174,7 +174,7 @@ _lv_tipo.setVisible(__c.False);
//BA.debugLineNum = 1290;BA.debugLine="lv_catalogos.Visible = True";
_lv_catalogos.setVisible(__c.True);
//BA.debugLineNum = 1291;BA.debugLine="Log(\"Continuar\")";
-__c.LogImpl("730474258","Continuar",0);
+__c.LogImpl("441025554","Continuar",0);
//BA.debugLineNum = 1292;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual";
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba);
@@ -188,70 +188,70 @@ return "";
public String _b_devmas_click() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c6 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _dev2 = null;
- //BA.debugLineNum = 2465;BA.debugLine="Private Sub b_devmas_Click";
- //BA.debugLineNum = 2467;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQue";
+ //BA.debugLineNum = 2469;BA.debugLine="Private Sub b_devmas_Click";
+ //BA.debugLineNum = 2471;BA.debugLine="Dim c6 As Cursor = B4XPages.MainPage.skmt.ExecQue";
_c6 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c6 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) and PE_CEDIS <> 'DUR' ")));
- //BA.debugLineNum = 2468;BA.debugLine="If c6.RowCount > 0 Then";
+ //BA.debugLineNum = 2472;BA.debugLine="If c6.RowCount > 0 Then";
if (_c6.getRowCount()>0) {
- //BA.debugLineNum = 2469;BA.debugLine="c6.Position = 0";
+ //BA.debugLineNum = 2473;BA.debugLine="c6.Position = 0";
_c6.setPosition((int) (0));
- //BA.debugLineNum = 2473;BA.debugLine="Log(((l_cantdev.Text + 1)* preciodev))";
-__c.LogImpl("731850504",BA.NumberToString((((double)(Double.parseDouble(_l_cantdev.getText()))+1)*_preciodev)),0);
- //BA.debugLineNum = 2474;BA.debugLine="If c6.GetString(\"PC_MONTO\")- ((l_cantdev.Text +";
+ //BA.debugLineNum = 2477;BA.debugLine="Log(((l_cantdev.Text + 1)* preciodev))";
+__c.LogImpl("442401800",BA.NumberToString((((double)(Double.parseDouble(_l_cantdev.getText()))+1)*_preciodev)),0);
+ //BA.debugLineNum = 2478;BA.debugLine="If c6.GetString(\"PC_MONTO\")- ((l_cantdev.Text +";
if ((double)(Double.parseDouble(_c6.GetString("PC_MONTO")))-(((double)(Double.parseDouble(_l_cantdev.getText()))+1)*_preciodev)>=0) {
- //BA.debugLineNum = 2475;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 2479;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exe";
_dev2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_dev2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_nombredev))+"'"))));
- //BA.debugLineNum = 2476;BA.debugLine="dev2.Position = 0";
+ //BA.debugLineNum = 2480;BA.debugLine="dev2.Position = 0";
_dev2.setPosition((int) (0));
- //BA.debugLineNum = 2477;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text";
+ //BA.debugLineNum = 2481;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text";
_l_cantdev.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_l_cantdev.getText()))+1),(int) (0),(int) (0),(int) (0),__c.False)));
- //BA.debugLineNum = 2479;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT";
+ //BA.debugLineNum = 2483;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT";
if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) {
- //BA.debugLineNum = 2481;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1";
+ //BA.debugLineNum = 2485;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1";
_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((_preciodev*-1)),_l_cantdev.getText(),_nombredev,_dev2.GetString("CAT_GP_ID"),_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(1),BA.NumberToString(1));
}else {
- //BA.debugLineNum = 2483;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1";
+ //BA.debugLineNum = 2487;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1";
_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((_preciodev*-1)),_l_cantdev.getText(),_nombredev,_dev2.GetString("CAT_GP_ID"),_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(0),BA.NumberToString(1));
};
}else {
- //BA.debugLineNum = 2489;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al prec";
+ //BA.debugLineNum = 2493;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al prec";
__c.MsgboxAsync(BA.ObjectToCharSequence("El monto de venta es menor al precio de este producto"),BA.ObjectToCharSequence("Atención"),ba);
};
};
- //BA.debugLineNum = 2500;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2504;BA.debugLine="End Sub";
return "";
}
public String _b_devmenos_click() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _dev2 = null;
- //BA.debugLineNum = 2448;BA.debugLine="Private Sub b_devmenos_Click";
- //BA.debugLineNum = 2449;BA.debugLine="If NumberFormat2((l_cantdev.Text - 1),0,0,0, Fals";
+ //BA.debugLineNum = 2452;BA.debugLine="Private Sub b_devmenos_Click";
+ //BA.debugLineNum = 2453;BA.debugLine="If NumberFormat2((l_cantdev.Text - 1),0,0,0, Fals";
if ((double)(Double.parseDouble(__c.NumberFormat2(((double)(Double.parseDouble(_l_cantdev.getText()))-1),(int) (0),(int) (0),(int) (0),__c.False)))>=0) {
- //BA.debugLineNum = 2451;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 2455;BA.debugLine="Dim dev2 As Cursor = B4XPages.MainPage.skmt.Exec";
_dev2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_dev2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_nombredev))+"'"))));
- //BA.debugLineNum = 2452;BA.debugLine="dev2.Position = 0";
+ //BA.debugLineNum = 2456;BA.debugLine="dev2.Position = 0";
_dev2.setPosition((int) (0));
- //BA.debugLineNum = 2453;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text -";
+ //BA.debugLineNum = 2457;BA.debugLine="l_cantdev.Text = NumberFormat2((l_cantdev.Text -";
_l_cantdev.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_l_cantdev.getText()))-1),(int) (0),(int) (0),(int) (0),__c.False)));
- //BA.debugLineNum = 2454;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU";
+ //BA.debugLineNum = 2458;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU";
if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) {
- //BA.debugLineNum = 2456;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)";
+ //BA.debugLineNum = 2460;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)";
_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((_preciodev*-1)),_l_cantdev.getText(),_nombredev,_dev2.GetString("CAT_GP_ID"),_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(1),BA.NumberToString(1));
}else {
- //BA.debugLineNum = 2458;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)";
+ //BA.debugLineNum = 2462;BA.debugLine="Subs.actualizaProducto( \"DUR\", (preciodev * -1)";
_subs._actualizaproducto /*String*/ (ba,"DUR",BA.NumberToString((_preciodev*-1)),_l_cantdev.getText(),_nombredev,_dev2.GetString("CAT_GP_ID"),_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(1),BA.NumberToString(0),BA.NumberToString(1));
};
};
- //BA.debugLineNum = 2463;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2467;BA.debugLine="End Sub";
return "";
}
public String _b_okpromodesc_click() throws Exception{
- //BA.debugLineNum = 2357;BA.debugLine="Private Sub b_okpromodesc_Click";
- //BA.debugLineNum = 2358;BA.debugLine="p_promodesc.Visible = False";
+ //BA.debugLineNum = 2361;BA.debugLine="Private Sub b_okpromodesc_Click";
+ //BA.debugLineNum = 2362;BA.debugLine="p_promodesc.Visible = False";
_p_promodesc.setVisible(__c.False);
- //BA.debugLineNum = 2359;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2363;BA.debugLine="End Sub";
return "";
}
public String _b_prodmas_click() throws Exception{
@@ -307,14 +307,14 @@ _inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywher
//BA.debugLineNum = 910;BA.debugLine="Private existencias As String = clv_prods_ll.GetV";
_existencias = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen")));
//BA.debugLineNum = 911;BA.debugLine="Log($\"Existencias: ${existencias}\"$)";
-__c.LogImpl("730146580",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0);
+__c.LogImpl("440697876",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0);
//BA.debugLineNum = 912;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0";
if ((_lacant.getText()).equals("")) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 913;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)";
_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id")));
//BA.debugLineNum = 930;BA.debugLine="LogColor(laCant.Text,Colors.Red)";
-__c.LogImpl("730146599",_lacant.getText(),__c.Colors.Red);
+__c.LogImpl("440697895",_lacant.getText(),__c.Colors.Red);
//BA.debugLineNum = 932;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text <";
if ((double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))>0 && ((double)(Double.parseDouble(_lacant.getText()))<=((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))))) {
//BA.debugLineNum = 934;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almace";
@@ -329,19 +329,19 @@ _nombrex = _subs._traeprodnombre /*String*/ (ba,_id);
//BA.debugLineNum = 949;BA.debugLine="If cb_des.Checked Then";
if (_cb_des.getChecked()) {
//BA.debugLineNum = 950;BA.debugLine="Log(\" descuento igual a True\")";
-__c.LogImpl("730146619"," descuento igual a True",0);
+__c.LogImpl("440697915"," descuento igual a True",0);
//BA.debugLineNum = 951;BA.debugLine="aplicades = \"1\"";
_aplicades = "1";
}else {
//BA.debugLineNum = 953;BA.debugLine="Log(\"descuento igual a false\")";
-__c.LogImpl("730146622","descuento igual a false",0);
+__c.LogImpl("440697918","descuento igual a false",0);
//BA.debugLineNum = 954;BA.debugLine="aplicades = \"0\"";
_aplicades = "0";
};
//BA.debugLineNum = 957;BA.debugLine="LogColor(laCant.Text,Colors.Red)";
-__c.LogImpl("730146626",_lacant.getText(),__c.Colors.Red);
+__c.LogImpl("440697922",_lacant.getText(),__c.Colors.Red);
//BA.debugLineNum = 963;BA.debugLine="Log(B4XPages.MainPage.tipo_venta)";
-__c.LogImpl("730146632",_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,0);
+__c.LogImpl("440697928",_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,0);
//BA.debugLineNum = 964;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR";
if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) {
//BA.debugLineNum = 966;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,";
@@ -380,7 +380,7 @@ if (_c.getRowCount()>0) {
//BA.debugLineNum = 996;BA.debugLine="C.Position = 0";
_c.setPosition((int) (0));
//BA.debugLineNum = 997;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr";
-__c.LogImpl("730146666",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
+__c.LogImpl("440697962",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
//BA.debugLineNum = 998;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_NO";
_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART")));
//BA.debugLineNum = 999;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MONT";
@@ -470,7 +470,7 @@ _tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Obje
//BA.debugLineNum = 761;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i";
_nombrex = _subs._traeprodnombre /*String*/ (ba,_id);
//BA.debugLineNum = 762;BA.debugLine="LogColor(tmpMap1,Colors.Magenta)";
-__c.LogImpl("730081050",BA.ObjectToString(_tmpmap1),__c.Colors.Magenta);
+__c.LogImpl("440632346",BA.ObjectToString(_tmpmap1),__c.Colors.Magenta);
//BA.debugLineNum = 763;BA.debugLine="prodsMap.Put(id, tmpMap)";
_prodsmap.Put((Object)(_id),(Object)(_tmpmap.getObject()));
//BA.debugLineNum = 764;BA.debugLine="If laCant.Text = 0 Then prodsMap.Remove(id)";
@@ -479,19 +479,19 @@ _prodsmap.Remove((Object)(_id));};
//BA.debugLineNum = 777;BA.debugLine="If cb_des.Checked Then";
if (_cb_des.getChecked()) {
//BA.debugLineNum = 778;BA.debugLine="Log(\" descuento igual a True\")";
-__c.LogImpl("730081066"," descuento igual a True",0);
+__c.LogImpl("440632362"," descuento igual a True",0);
//BA.debugLineNum = 779;BA.debugLine="aplicades = \"1\"";
_aplicades = "1";
}else {
//BA.debugLineNum = 781;BA.debugLine="Log(\"descuento igual a false\")";
-__c.LogImpl("730081069","descuento igual a false",0);
+__c.LogImpl("440632365","descuento igual a false",0);
//BA.debugLineNum = 782;BA.debugLine="aplicades = \"0\"";
_aplicades = "0";
};
//BA.debugLineNum = 785;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)";
-__c.LogImpl("730081073","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue);
+__c.LogImpl("440632369","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue);
//BA.debugLineNum = 787;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant.te";
-__c.LogImpl("730081075",(""+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_precio))+", "+__c.SmartStringFormatter("",(Object)(_lacant.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeprodnombre /*String*/ (ba,_id)))+", "+__c.SmartStringFormatter("",(Object)(_id))+", "+__c.SmartStringFormatter("",(Object)(_clienteid))+""),0);
+__c.LogImpl("440632371",(""+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_precio))+", "+__c.SmartStringFormatter("",(Object)(_lacant.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeprodnombre /*String*/ (ba,_id)))+", "+__c.SmartStringFormatter("",(Object)(_id))+", "+__c.SmartStringFormatter("",(Object)(_clienteid))+""),0);
//BA.debugLineNum = 788;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR";
if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) {
//BA.debugLineNum = 789;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,";
@@ -503,9 +503,9 @@ _subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_prec
//BA.debugLineNum = 793;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 794;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)";
-__c.LogImpl("730081082","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue);
+__c.LogImpl("440632378","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue);
//BA.debugLineNum = 795;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $";
-__c.LogImpl("730081083",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);
+__c.LogImpl("440632379",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);
//BA.debugLineNum = 796;BA.debugLine="If 1 = 1 Then";
if (1==1) {
//BA.debugLineNum = 797;BA.debugLine="Private cs As CSBuilder";
@@ -540,7 +540,7 @@ if (_c.getRowCount()>0) {
//BA.debugLineNum = 851;BA.debugLine="C.Position = 0";
_c.setPosition((int) (0));
//BA.debugLineNum = 852;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr";
-__c.LogImpl("730081140",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
+__c.LogImpl("440632436",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
//BA.debugLineNum = 853;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_NO";
_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART")));
//BA.debugLineNum = 854;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MONT";
@@ -573,7 +573,7 @@ _c6.setPosition((int) (0));
_totalprod = (double)(Double.parseDouble(_c6.GetString("PC_MONTO")));
};
//BA.debugLineNum = 878;BA.debugLine="Log(totaldev &\" \" & totalprod)";
-__c.LogImpl("730081166",BA.NumberToString(_totaldev)+" "+BA.NumberToString(_totalprod),0);
+__c.LogImpl("440632462",BA.NumberToString(_totaldev)+" "+BA.NumberToString(_totalprod),0);
//BA.debugLineNum = 879;BA.debugLine="If totalprod = 0 Then";
if (_totalprod==0) {
//BA.debugLineNum = 880;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
@@ -644,12 +644,12 @@ _prodsmap.Initialize();
//BA.debugLineNum = 1369;BA.debugLine="clv_prods_ll.Clear";
_clv_prods_ll._clear();
//BA.debugLineNum = 1370;BA.debugLine="Log(\"Positivo\")";
-__c.LogImpl("730867466","Positivo",0);
+__c.LogImpl("441418762","Positivo",0);
//BA.debugLineNum = 1371;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
_b4xpages._showpage /*String*/ (ba,"Cliente");
}else {
//BA.debugLineNum = 1373;BA.debugLine="Log(\"NO Positivo\")";
-__c.LogImpl("730867469","NO Positivo",0);
+__c.LogImpl("441418765","NO Positivo",0);
//BA.debugLineNum = 1374;BA.debugLine="p_vistaPreviaTrans.Visible = False";
_p_vistapreviatrans.setVisible(__c.False);
};
@@ -847,7 +847,7 @@ case 8:
this.state = 9;
;
//BA.debugLineNum = 165;BA.debugLine="Log(Starter.tabla)";
-parent.__c.LogImpl("729491209",parent._starter._tabla /*String*/ ,0);
+parent.__c.LogImpl("440042505",parent._starter._tabla /*String*/ ,0);
//BA.debugLineNum = 166;BA.debugLine="clienteId = Subs.traeCliente";
parent._clienteid = parent._subs._traecliente /*String*/ (ba);
//BA.debugLineNum = 167;BA.debugLine="rutaUsuario = Subs.traeRuta";
@@ -999,7 +999,7 @@ this.state = 25;
//BA.debugLineNum = 212;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select CA";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,parent._tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),new String[]{"PROMOS","PROMOS"})));
//BA.debugLineNum = 213;BA.debugLine="LogColor($\"select CAT_GP_ID, CAT_GP_NOMBRE, CAT_";
-parent.__c.LogImpl("729491257",("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,parent._tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),parent.__c.Colors.Cyan);
+parent.__c.LogImpl("440042553",("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, IFNULL(CAT_GP_IMG,0) AS CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traetablaprods /*String*/ (ba,parent._tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa))"),parent.__c.Colors.Cyan);
//BA.debugLineNum = 215;BA.debugLine="Private hayPromos As Boolean = False";
_haypromos = parent.__c.False;
//BA.debugLineNum = 216;BA.debugLine="If c2.RowCount > 0 Then";
@@ -1018,7 +1018,7 @@ case 27:
//C
this.state = 28;
//BA.debugLineNum = 217;BA.debugLine="Log(\"Esto es un conteo --->\"&c2.RowCount) 'Isaa";
-parent.__c.LogImpl("729491261","Esto es un conteo --->"+BA.NumberToString(parent._c2.getRowCount()),0);
+parent.__c.LogImpl("440042557","Esto es un conteo --->"+BA.NumberToString(parent._c2.getRowCount()),0);
//BA.debugLineNum = 218;BA.debugLine="For i=0 To c2.RowCount -1";
if (true) break;
@@ -1049,7 +1049,7 @@ this.state = 31;
//BA.debugLineNum = 219;BA.debugLine="c2.Position = i";
parent._c2.setPosition(_i);
//BA.debugLineNum = 220;BA.debugLine="Log(\"Esto es i----->\"& i)'Isaac";
-parent.__c.LogImpl("729491264","Esto es i----->"+BA.NumberToString(_i),0);
+parent.__c.LogImpl("440042560","Esto es i----->"+BA.NumberToString(_i),0);
//BA.debugLineNum = 221;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G";
_tm = new anywheresoftware.b4a.objects.collections.Map();
_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,parent._c2.GetString("CAT_GP_ID"),parent._clienteid);
@@ -1102,7 +1102,7 @@ case 42:
//C
this.state = 43;
//BA.debugLineNum = 228;BA.debugLine="Log(\"NO HAY PROMOS\")";
-parent.__c.LogImpl("729491272","NO HAY PROMOS",0);
+parent.__c.LogImpl("440042568","NO HAY PROMOS",0);
if (true) break;
case 43:
@@ -1268,7 +1268,7 @@ this.state = 16;
//BA.debugLineNum = 638;BA.debugLine="l_info.Visible = False";
parent._l_info.setVisible(parent.__c.False);
//BA.debugLineNum = 639;BA.debugLine="Log(\"AQUI\")";
-parent.__c.LogImpl("729884421","AQUI",0);
+parent.__c.LogImpl("440435717","AQUI",0);
//BA.debugLineNum = 640;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
@@ -1280,7 +1280,7 @@ this.state = 16;
//BA.debugLineNum = 642;BA.debugLine="p_vistaPreviaTrans.Visible = False";
parent._p_vistapreviatrans.setVisible(parent.__c.False);
//BA.debugLineNum = 643;BA.debugLine="Log(\"AQUI\")";
-parent.__c.LogImpl("729884425","AQUI",0);
+parent.__c.LogImpl("440435721","AQUI",0);
//BA.debugLineNum = 644;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
@@ -1300,7 +1300,7 @@ parent._l_total.setVisible(parent.__c.False);
//BA.debugLineNum = 650;BA.debugLine="l_totProds.Visible = False";
parent._l_totprods.setVisible(parent.__c.False);
//BA.debugLineNum = 651;BA.debugLine="Log(\"AQUI\")";
-parent.__c.LogImpl("729884433","AQUI",0);
+parent.__c.LogImpl("440435729","AQUI",0);
//BA.debugLineNum = 652;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
@@ -1324,7 +1324,7 @@ parent._l_totprods.setVisible(parent.__c.False);
//BA.debugLineNum = 660;BA.debugLine="lv_catalogos.Visible = True";
parent._lv_catalogos.setVisible(parent.__c.True);
//BA.debugLineNum = 661;BA.debugLine="Log(\"AQUI\")";
-parent.__c.LogImpl("729884443","AQUI",0);
+parent.__c.LogImpl("440435739","AQUI",0);
//BA.debugLineNum = 662;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
@@ -1334,7 +1334,7 @@ case 11:
//C
this.state = 16;
//BA.debugLineNum = 675;BA.debugLine="Log(\"AQUI\")";
-parent.__c.LogImpl("729884457","AQUI",0);
+parent.__c.LogImpl("440435753","AQUI",0);
//BA.debugLineNum = 677;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
parent._b4xpages._showpage /*String*/ (ba,"Cliente");
//BA.debugLineNum = 678;BA.debugLine="Return True";
@@ -1348,7 +1348,7 @@ this.state = 16;
//BA.debugLineNum = 680;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
parent._b4xpages._showpage /*String*/ (ba,"Cliente");
//BA.debugLineNum = 681;BA.debugLine="Log(\"AQUI\")";
-parent.__c.LogImpl("729884463","AQUI",0);
+parent.__c.LogImpl("440435759","AQUI",0);
//BA.debugLineNum = 682;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
@@ -1360,7 +1360,7 @@ this.state = 16;
//BA.debugLineNum = 684;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
parent._b4xpages._showpage /*String*/ (ba,"Cliente");
//BA.debugLineNum = 685;BA.debugLine="Log(\"AQUI\")";
-parent.__c.LogImpl("729884467","AQUI",0);
+parent.__c.LogImpl("440435763","AQUI",0);
//BA.debugLineNum = 686;BA.debugLine="Return False";
if (true) {
parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;};
@@ -1423,7 +1423,7 @@ for (;_i <= limit18 ;_i = _i + step18 ) {
//BA.debugLineNum = 136;BA.debugLine="c.Position=i";
_c.setPosition(_i);
//BA.debugLineNum = 137;BA.debugLine="Log(\"ENTRE AQUI EN PROMOS create\")";
-__c.LogImpl("729425686","ENTRE AQUI EN PROMOS create",0);
+__c.LogImpl("439976982","ENTRE AQUI EN PROMOS create",0);
//BA.debugLineNum = 138;BA.debugLine="lv_tipo.AddSingleLine(c.GetString(\"CAT_GP_TIPO\"";
_lv_tipo.AddSingleLine(BA.ObjectToCharSequence(_c.GetString("CAT_GP_TIPO")));
}
@@ -1472,7 +1472,7 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 1804;BA.debugLine="If Not(clv_prods_ll.AsView.Visible) Then clv_prod";
+ //BA.debugLineNum = 1808;BA.debugLine="If Not(clv_prods_ll.AsView.Visible) Then clv_prod";
if (true) break;
case 1:
@@ -1492,7 +1492,7 @@ case 6:
//C
this.state = 7;
;
- //BA.debugLineNum = 1805;BA.debugLine="If (New.Length = 1 Or New.Length = 2) And Not(for";
+ //BA.debugLineNum = 1809;BA.debugLine="If (New.Length = 1 Or New.Length = 2) And Not(for";
if (true) break;
case 7:
@@ -1512,15 +1512,15 @@ case 12:
//C
this.state = -1;
;
- //BA.debugLineNum = 1806;BA.debugLine="forzarBusqueda = False";
+ //BA.debugLineNum = 1810;BA.debugLine="forzarBusqueda = False";
parent._forzarbusqueda = parent.__c.False;
- //BA.debugLineNum = 1807;BA.debugLine="clv_prods_ll.Clear";
+ //BA.debugLineNum = 1811;BA.debugLine="clv_prods_ll.Clear";
parent._clv_prods_ll._clear();
- //BA.debugLineNum = 1808;BA.debugLine="listaProds.Initialize";
+ //BA.debugLineNum = 1812;BA.debugLine="listaProds.Initialize";
parent._listaprods.Initialize();
- //BA.debugLineNum = 1809;BA.debugLine="listaHints.Initialize";
+ //BA.debugLineNum = 1813;BA.debugLine="listaHints.Initialize";
parent._listahints.Initialize();
- //BA.debugLineNum = 1810;BA.debugLine="Sleep(0)";
+ //BA.debugLineNum = 1814;BA.debugLine="Sleep(0)";
parent.__c.Sleep(ba,this,(int) (0));
this.state = 13;
return;
@@ -1528,14 +1528,14 @@ case 13:
//C
this.state = -1;
;
- //BA.debugLineNum = 1815;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1819;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exec";
_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_LISTAPRECIO from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%"+parent.__c.SmartStringFormatter("",(Object)(_new))+"%' AND CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' AND CAT_GP_TIPO <> 'PROMOCION' union all select DISTINCT CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_LISTAPRECIO from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2"))));
- //BA.debugLineNum = 1817;BA.debugLine="Log(\"Llamamos LlenaProdsLL\")";
-parent.__c.LogImpl("731260687","Llamamos LlenaProdsLL",0);
- //BA.debugLineNum = 1818;BA.debugLine="LlenaProdsLL(p)";
+ //BA.debugLineNum = 1821;BA.debugLine="Log(\"Llamamos LlenaProdsLL\")";
+parent.__c.LogImpl("441811983","Llamamos LlenaProdsLL",0);
+ //BA.debugLineNum = 1822;BA.debugLine="LlenaProdsLL(p)";
parent._llenaprodsll(_p);
- //BA.debugLineNum = 1837;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1841;BA.debugLine="End Sub";
if (true) break;
}
@@ -1543,18 +1543,18 @@ if (true) break;
}
}
public String _cb_descuento_checkedchange(boolean _checked) throws Exception{
- //BA.debugLineNum = 2506;BA.debugLine="Private Sub cb_descuento_CheckedChange(Checked As";
- //BA.debugLineNum = 2507;BA.debugLine="Log(Sender.As(CheckBox).Tag)";
-__c.LogImpl("731981569",BA.ObjectToString(((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(__c.Sender(ba)))).getTag()),0);
- //BA.debugLineNum = 2508;BA.debugLine="If Sender.As(CheckBox).Checked Then";
+ //BA.debugLineNum = 2510;BA.debugLine="Private Sub cb_descuento_CheckedChange(Checked As";
+ //BA.debugLineNum = 2511;BA.debugLine="Log(Sender.As(CheckBox).Tag)";
+__c.LogImpl("442532865",BA.ObjectToString(((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(__c.Sender(ba)))).getTag()),0);
+ //BA.debugLineNum = 2512;BA.debugLine="If Sender.As(CheckBox).Checked Then";
if (((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(__c.Sender(ba)))).getChecked()) {
- //BA.debugLineNum = 2509;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ped";
+ //BA.debugLineNum = 2513;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ped";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE pedido SET PE_DESC = 1 WHERE PE_CLIENTE In (select cuenta from cuentaa) AND PE_PROID = '"+__c.SmartStringFormatter("",((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(__c.Sender(ba)))).getTag())+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'"));
}else {
- //BA.debugLineNum = 2511;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ped";
+ //BA.debugLineNum = 2515;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE ped";
_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE pedido SET PE_DESC = 0 WHERE PE_CLIENTE In (select cuenta from cuentaa) AND PE_PROID = '"+__c.SmartStringFormatter("",((anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(), (android.widget.CheckBox)(__c.Sender(ba)))).getTag())+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'"));
};
- //BA.debugLineNum = 2514;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2518;BA.debugLine="End Sub";
return "";
}
public String _class_globals() throws Exception{
@@ -1810,76 +1810,84 @@ _l_prodx.SetTextSizeAnimated((int) (0),(float) (13));
if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))!= null && (double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))))>0) {
//BA.debugLineNum = 1681;BA.debugLine="p_prods.Color=0xFFE2EEFF";
_p_prods.setColor(((int)0xffe2eeff));
- //BA.debugLineNum = 1683;BA.debugLine="Dim descped As Cursor = Starter.skmt.ExecQuer";
+ //BA.debugLineNum = 1682;BA.debugLine="Log(clv_prods_ll.GetValue(i).As(Map).Get(\"id\"";
+__c.LogImpl("441746501",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("id"))),0);
+ //BA.debugLineNum = 1683;BA.debugLine="Log(\"AQUI\")";
+__c.LogImpl("441746502","AQUI",0);
+ //BA.debugLineNum = 1684;BA.debugLine="Dim descped As Cursor = Starter.skmt.ExecQuer";
_descped = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
-_descped = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_DESC,0) AS PE_DESC FROM PEDIDO WHERE PE_PROID = '"+__c.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_i)))).Get((Object)("id")))+"' AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))));
- //BA.debugLineNum = 1684;BA.debugLine="Log(listaProds.get(i).As(Map).Get(\"id\"))";
-__c.LogImpl("731195207",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_i)))).Get((Object)("id"))),0);
- //BA.debugLineNum = 1685;BA.debugLine="If descped.RowCount > 0 Then";
+_descped = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT IFNULL(PE_DESC,0) AS PE_DESC FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID = '"+__c.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("id")))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'"))));
+ //BA.debugLineNum = 1685;BA.debugLine="Log($\"SELECT IFNULL(PE_DESC,0) AS PE_DESC FRO";
+__c.LogImpl("441746504",("SELECT IFNULL(PE_DESC,0) AS PE_DESC FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) AND PE_PROID = '"+__c.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("id")))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"'"),0);
+ //BA.debugLineNum = 1687;BA.debugLine="Log(listaProds.get(i).As(Map).Get(\"id\"))";
+__c.LogImpl("441746506",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_i)))).Get((Object)("id"))),0);
+ //BA.debugLineNum = 1688;BA.debugLine="If descped.RowCount > 0 Then";
if (_descped.getRowCount()>0) {
- //BA.debugLineNum = 1686;BA.debugLine="descped.Position = 0";
+ //BA.debugLineNum = 1689;BA.debugLine="descped.Position = 0";
_descped.setPosition((int) (0));
- //BA.debugLineNum = 1687;BA.debugLine="If descped.GetString(\"PE_DESC\") = 1 Then";
+ //BA.debugLineNum = 1690;BA.debugLine="If descped.GetString(\"PE_DESC\") = 1 Then";
if ((_descped.GetString("PE_DESC")).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 1688;BA.debugLine="cb_descuento.Checked = True";
+ //BA.debugLineNum = 1691;BA.debugLine="cb_descuento.Checked = True";
_cb_descuento.setChecked(__c.True);
}else {
- //BA.debugLineNum = 1690;BA.debugLine="cb_descuento.Checked = False";
+ //BA.debugLineNum = 1693;BA.debugLine="cb_descuento.Checked = False";
_cb_descuento.setChecked(__c.False);
};
- //BA.debugLineNum = 1692;BA.debugLine="Log(\"true\")";
-__c.LogImpl("731195215","true",0);
+ //BA.debugLineNum = 1695;BA.debugLine="Log(\"true\")";
+__c.LogImpl("441746514","true",0);
};
- //BA.debugLineNum = 1695;BA.debugLine="cb_descuento.Tag = listaProds.get(i).As(Map).";
+ //BA.debugLineNum = 1698;BA.debugLine="cb_descuento.Tag = listaProds.get(i).As(Map).";
_cb_descuento.setTag(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_i)))).Get((Object)("id")));
- //BA.debugLineNum = 1699;BA.debugLine="et_pCant.TextColor=Colors.Red";
+ //BA.debugLineNum = 1702;BA.debugLine="et_pCant.TextColor=Colors.Red";
_et_pcant.setTextColor(__c.Colors.Red);
- //BA.debugLineNum = 1700;BA.debugLine="et_pCantc.TextColor=Colors.Red";
+ //BA.debugLineNum = 1703;BA.debugLine="et_pCantc.TextColor=Colors.Red";
_et_pcantc.setTextColor(__c.Colors.Red);
- //BA.debugLineNum = 1701;BA.debugLine="If Subs.pedidoGuardado Then";
+ //BA.debugLineNum = 1704;BA.debugLine="If Subs.pedidoGuardado Then";
if (_subs._pedidoguardado /*boolean*/ (ba)) {
- //BA.debugLineNum = 1703;BA.debugLine="et_pCant.Enabled = False";
+ //BA.debugLineNum = 1706;BA.debugLine="et_pCant.Enabled = False";
_et_pcant.setEnabled(__c.False);
- //BA.debugLineNum = 1705;BA.debugLine="b_prodMenos.Enabled = False";
+ //BA.debugLineNum = 1708;BA.debugLine="b_prodMenos.Enabled = False";
_b_prodmenos.setEnabled(__c.False);
};
}else {
- //BA.debugLineNum = 1709;BA.debugLine="cb_descuento.Visible = False";
+ //BA.debugLineNum = 1712;BA.debugLine="cb_descuento.Visible = False";
_cb_descuento.setVisible(__c.False);
- //BA.debugLineNum = 1711;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"prio";
+ //BA.debugLineNum = 1713;BA.debugLine="Log(listaProds.get(i).As(Map).Get(\"id\"))";
+__c.LogImpl("441746532",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_i)))).Get((Object)("id"))),0);
+ //BA.debugLineNum = 1715;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"prio";
if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("PRIORITARIO"))) {
- //BA.debugLineNum = 1712;BA.debugLine="p_prods.Color = Colors.RGB(255, 212, 163) 'n";
+ //BA.debugLineNum = 1716;BA.debugLine="p_prods.Color = Colors.RGB(255, 212, 163) 'n";
_p_prods.setColor(__c.Colors.RGB((int) (255),(int) (212),(int) (163)));
- //BA.debugLineNum = 1713;BA.debugLine="cb_descuento.Visible = True";
+ //BA.debugLineNum = 1717;BA.debugLine="cb_descuento.Visible = True";
_cb_descuento.setVisible(__c.True);
- //BA.debugLineNum = 1714;BA.debugLine="cb_descuento.Tag = listaProds.get(i).As(Map)";
+ //BA.debugLineNum = 1718;BA.debugLine="cb_descuento.Tag = listaProds.get(i).As(Map)";
_cb_descuento.setTag(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_i)))).Get((Object)("id")));
}else if((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("COMPLEMENTARIO"))) {
- //BA.debugLineNum = 1719;BA.debugLine="p_prods.Color = Colors.RGB(177, 200, 249)'az";
+ //BA.debugLineNum = 1723;BA.debugLine="p_prods.Color = Colors.RGB(177, 200, 249)'az";
_p_prods.setColor(__c.Colors.RGB((int) (177),(int) (200),(int) (249)));
}else if((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("CATALOGO REGULAR"))) {
- //BA.debugLineNum = 1722;BA.debugLine="p_prods.Color = Colors.White";
+ //BA.debugLineNum = 1726;BA.debugLine="p_prods.Color = Colors.White";
_p_prods.setColor(__c.Colors.White);
}else if((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prioridad"))).equals((Object)("ESTRATEGICO"))) {
- //BA.debugLineNum = 1725;BA.debugLine="p_prods.Color = Colors.RGB(241, 255, 163) 'a";
+ //BA.debugLineNum = 1729;BA.debugLine="p_prods.Color = Colors.RGB(241, 255, 163) 'a";
_p_prods.setColor(__c.Colors.RGB((int) (241),(int) (255),(int) (163)));
};
};
- //BA.debugLineNum = 1729;BA.debugLine="Private precio As String=NumberFormat2(clv_pro";
+ //BA.debugLineNum = 1733;BA.debugLine="Private precio As String=NumberFormat2(clv_pro";
_precio = __c.NumberFormat2(((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("precio"))))),(int) (1),(int) (2),(int) (2),__c.False);
- //BA.debugLineNum = 1740;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant";
+ //BA.debugLineNum = 1744;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant";
if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))!= null) {
_et_pcant.setText(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))));};
- //BA.debugLineNum = 1772;BA.debugLine="l_prodX.Text = cs.Color(Colors.red).append(clv";
+ //BA.debugLineNum = 1776;BA.debugLine="l_prodX.Text = cs.Color(Colors.red).append(clv";
_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prod")))).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("almacen"))))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(_precio))+""))).PopAll().getObject()));
};
}else {
};
- //BA.debugLineNum = 1797;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size - Fir";
+ //BA.debugLineNum = 1801;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size - Fir";
_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ ((int) (_clv_prods_ll._getsize()-_firstindex));
}
};
- //BA.debugLineNum = 1800;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1804;BA.debugLine="End Sub";
return "";
}
public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc) throws Exception{
@@ -1890,7 +1898,7 @@ return null;
public String _cuentaprods() throws Exception{
//BA.debugLineNum = 1187;BA.debugLine="Sub cuentaProds";
//BA.debugLineNum = 1189;BA.debugLine="Log(\"===========================\")";
-__c.LogImpl("730343170","===========================",0);
+__c.LogImpl("440894466","===========================",0);
//BA.debugLineNum = 1190;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"'"))));
@@ -1914,7 +1922,7 @@ anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null;
String _id = "";
//BA.debugLineNum = 1006;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo";
//BA.debugLineNum = 1007;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma";
-__c.LogImpl("730212097",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta);
+__c.LogImpl("440763393",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta);
//BA.debugLineNum = 1008;BA.debugLine="If et_pCant.Text = \"\" Then et_pCant.Text = \"0\"";
if ((_et_pcant.getText()).equals("")) {
_et_pcant.setText(BA.ObjectToCharSequence("0"));};
@@ -1940,7 +1948,7 @@ _lacant.setText(BA.ObjectToCharSequence("0"));};
//BA.debugLineNum = 1016;BA.debugLine="etCantHasFocus = HasFocus";
_etcanthasfocus = _hasfocus;
//BA.debugLineNum = 1017;BA.debugLine="LogColor(laCant.Text,Colors.Red)";
-__c.LogImpl("730212107",_lacant.getText(),__c.Colors.Red);
+__c.LogImpl("440763403",_lacant.getText(),__c.Colors.Red);
//BA.debugLineNum = 1018;BA.debugLine="If laCant2.IsInitialized Then";
if (_lacant2.IsInitialized()) {
//BA.debugLineNum = 1019;BA.debugLine="totalcajasmaspiezas = laCant.Text + laCant2.Text";
@@ -1980,7 +1988,7 @@ double _totalprod = 0;
//BA.debugLineNum = 1032;BA.debugLine="If etCantHasFocus = True Then";
if (_etcanthasfocus==__c.True) {
//BA.debugLineNum = 1033;BA.debugLine="LogColor($\"txt changed: ${Old}|${New}, hasfocus=";
-__c.LogImpl("730277636",("txt changed: "+__c.SmartStringFormatter("",(Object)(_old))+"|"+__c.SmartStringFormatter("",(Object)(_new))+", hasfocus="+__c.SmartStringFormatter("",(Object)(_etcanthasfocus))+""),__c.Colors.Magenta);
+__c.LogImpl("440828932",("txt changed: "+__c.SmartStringFormatter("",(Object)(_old))+"|"+__c.SmartStringFormatter("",(Object)(_new))+", hasfocus="+__c.SmartStringFormatter("",(Object)(_etcanthasfocus))+""),__c.Colors.Magenta);
//BA.debugLineNum = 1034;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(";
_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 1035;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde";
@@ -2028,23 +2036,23 @@ _new = BA.NumberToString(0);};
if ((_lacant.getText()).equals("")) {
_lacant.setText(BA.ObjectToCharSequence(0));};
//BA.debugLineNum = 1060;BA.debugLine="LogColor(laCant.Text,Colors.Red)";
-__c.LogImpl("730277663",_lacant.getText(),__c.Colors.Red);
+__c.LogImpl("440828959",_lacant.getText(),__c.Colors.Red);
//BA.debugLineNum = 1069;BA.debugLine="If cb_des.Checked Then";
if (_cb_des.getChecked()) {
//BA.debugLineNum = 1070;BA.debugLine="Log(\" descuento igual a True\")";
-__c.LogImpl("730277673"," descuento igual a True",0);
+__c.LogImpl("440828969"," descuento igual a True",0);
//BA.debugLineNum = 1071;BA.debugLine="aplicades = \"1\"";
_aplicades = "1";
}else {
//BA.debugLineNum = 1073;BA.debugLine="Log(\"descuento igual a false\")";
-__c.LogImpl("730277676","descuento igual a false",0);
+__c.LogImpl("440828972","descuento igual a false",0);
//BA.debugLineNum = 1074;BA.debugLine="aplicades = \"0\"";
_aplicades = "0";
};
//BA.debugLineNum = 1083;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Text <";
if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant.getText()!= null && (_lacant.getText()).equals("") == false && _etcanthasfocus) {
//BA.debugLineNum = 1084;BA.debugLine="Log(\"actualizamos producto\")";
-__c.LogImpl("730277687","actualizamos producto",0);
+__c.LogImpl("440828983","actualizamos producto",0);
//BA.debugLineNum = 1085;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUT";
if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) {
//BA.debugLineNum = 1086;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, preci";
@@ -2072,7 +2080,7 @@ _o.setPosition((int) (0));
//BA.debugLineNum = 1111;BA.debugLine="invActualizado = Subs.traeinventario(id)";
_invactualizado = _subs._traeinventario /*String*/ (ba,_id);
//BA.debugLineNum = 1112;BA.debugLine="Log(Subs.traeinventario(id))";
-__c.LogImpl("730277715",_subs._traeinventario /*String*/ (ba,_id),0);
+__c.LogImpl("440829011",_subs._traeinventario /*String*/ (ba,_id),0);
//BA.debugLineNum = 1123;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr";
_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""))).PopAll().getObject()));
};
@@ -2083,7 +2091,7 @@ if (_c.getRowCount()>0) {
//BA.debugLineNum = 1139;BA.debugLine="C.Position = 0";
_c.setPosition((int) (0));
//BA.debugLineNum = 1140;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt";
-__c.LogImpl("730277743",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
+__c.LogImpl("440829039",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
//BA.debugLineNum = 1141;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N";
_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART")));
//BA.debugLineNum = 1142;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON";
@@ -2102,7 +2110,7 @@ if (_c.getRowCount()>0) {
//BA.debugLineNum = 1149;BA.debugLine="C.Position = 0";
_c.setPosition((int) (0));
//BA.debugLineNum = 1150;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt";
-__c.LogImpl("730277753",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
+__c.LogImpl("440829049",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
//BA.debugLineNum = 1151;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N";
_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART")));
//BA.debugLineNum = 1152;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON";
@@ -2200,11 +2208,11 @@ _prdox = _p.GetView((int) (1));
//BA.debugLineNum = 1576;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(S";
_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
//BA.debugLineNum = 1579;BA.debugLine="Log(cant1.Text)";
-__c.LogImpl("731129612",_cant1.getText(),0);
+__c.LogImpl("441680908",_cant1.getText(),0);
//BA.debugLineNum = 1580;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Tex";
_prodx1 = __c.Regex.Split(__c.CRLF,_prdox.getText());
//BA.debugLineNum = 1581;BA.debugLine="Log(prodx1(1))";
-__c.LogImpl("731129614",_prodx1[(int) (1)],0);
+__c.LogImpl("441680910",_prodx1[(int) (1)],0);
//BA.debugLineNum = 1582;BA.debugLine="p_promodesc.Visible = True";
_p_promodesc.setVisible(__c.True);
//BA.debugLineNum = 1583;BA.debugLine="p_promodesc.Height = Root.Height";
@@ -2217,9 +2225,9 @@ _textprom = "";
_descpro = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_descpro = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"') AND INSTR(',' || CAT_PD_TIER || ',' , ',"+__c.SmartStringFormatter("",(Object)(_subs._traetipocliente /*int*/ (ba)))+",') > 0 "))));
//BA.debugLineNum = 1587;BA.debugLine="Log($\"SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_";
-__c.LogImpl("731129620",("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"') AND INSTR(',' || CAT_DP_TIER || ',' , ',"+__c.SmartStringFormatter("",(Object)(_subs._traetipocliente /*int*/ (ba)))+",') > 0 "),0);
+__c.LogImpl("441680916",("SELECT CAT_PD_RANGO, CAT_PD_DESCUENTO, CAT_PD_RANGO2 FROM CAT_PROMOS_DESCUENTOS WHERE CAT_PD_PRODUCTO IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"') AND INSTR(',' || CAT_DP_TIER || ',' , ',"+__c.SmartStringFormatter("",(Object)(_subs._traetipocliente /*int*/ (ba)))+",') > 0 "),0);
//BA.debugLineNum = 1588;BA.debugLine="Log(descpro.RowCount)";
-__c.LogImpl("731129621",BA.NumberToString(_descpro.getRowCount()),0);
+__c.LogImpl("441680917",BA.NumberToString(_descpro.getRowCount()),0);
//BA.debugLineNum = 1589;BA.debugLine="If descpro.RowCount > 0 Then";
if (_descpro.getRowCount()>0) {
//BA.debugLineNum = 1590;BA.debugLine="l_promodesc.Text = \"\"";
@@ -2267,94 +2275,94 @@ String[] _prodx1 = null;
String[] _prodx3 = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _dev = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _devo = null;
- //BA.debugLineNum = 2367;BA.debugLine="Private Sub l_prodX_LongClick";
- //BA.debugLineNum = 2368;BA.debugLine="If tipo_venta <> \"PREVENTA_FUTURA\" Then";
+ //BA.debugLineNum = 2371;BA.debugLine="Private Sub l_prodX_LongClick";
+ //BA.debugLineNum = 2372;BA.debugLine="If tipo_venta <> \"PREVENTA_FUTURA\" Then";
if ((_tipo_venta).equals("PREVENTA_FUTURA") == false) {
- //BA.debugLineNum = 2371;BA.debugLine="Log(l_total.Text)";
-__c.LogImpl("731653892",_l_total.getText(),0);
- //BA.debugLineNum = 2372;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU";
+ //BA.debugLineNum = 2375;BA.debugLine="Log(l_total.Text)";
+__c.LogImpl("442205188",_l_total.getText(),0);
+ //BA.debugLineNum = 2376;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(sum(PE_CANT),0) as PC_NOART, IFNULL(sum (PE_COSTO_TOT),0) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CEDIS <> 'DUR'")));
- //BA.debugLineNum = 2374;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 2378;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 2375;BA.debugLine="C.Position = 0";
+ //BA.debugLineNum = 2379;BA.debugLine="C.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2377;BA.debugLine="If c.GetString(\"PC_MONTO\") > 0 Then";
+ //BA.debugLineNum = 2381;BA.debugLine="If c.GetString(\"PC_MONTO\") > 0 Then";
if ((double)(Double.parseDouble(_c.GetString("PC_MONTO")))>0) {
- //BA.debugLineNum = 2380;BA.debugLine="Dim cs As CSBuilder";
+ //BA.debugLineNum = 2384;BA.debugLine="Dim cs As CSBuilder";
_cs = new anywheresoftware.b4a.objects.CSBuilder();
- //BA.debugLineNum = 2381;BA.debugLine="cs.Initialize";
+ //BA.debugLineNum = 2385;BA.debugLine="cs.Initialize";
_cs.Initialize();
- //BA.debugLineNum = 2382;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(";
+ //BA.debugLineNum = 2386;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(";
_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
- //BA.debugLineNum = 2383;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(In";
+ //BA.debugLineNum = 2387;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(In";
_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper();
_p0 = _clv_prods_ll._getpanel(_index);
- //BA.debugLineNum = 2384;BA.debugLine="Private p As B4XView = p0.GetView(0)";
+ //BA.debugLineNum = 2388;BA.debugLine="Private p As B4XView = p0.GetView(0)";
_p = new anywheresoftware.b4a.objects.B4XViewWrapper();
_p = _p0.GetView((int) (0));
- //BA.debugLineNum = 2385;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView(";
+ //BA.debugLineNum = 2389;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView(";
_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper();
_cant1 = _p.GetView((int) (2)).GetView((int) (2));
- //BA.debugLineNum = 2386;BA.debugLine="Private PRDOX As B4XView = p.GetView(1)";
+ //BA.debugLineNum = 2390;BA.debugLine="Private PRDOX As B4XView = p.GetView(1)";
_prdox = new anywheresoftware.b4a.objects.B4XViewWrapper();
_prdox = _p.GetView((int) (1));
- //BA.debugLineNum = 2387;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(";
+ //BA.debugLineNum = 2391;BA.debugLine="Dim Index As Int = clv_prods_ll.GetItemFromView(";
_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))));
- //BA.debugLineNum = 2390;BA.debugLine="Log(cant1.Text)";
-__c.LogImpl("731653911",_cant1.getText(),0);
- //BA.debugLineNum = 2391;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Te";
+ //BA.debugLineNum = 2394;BA.debugLine="Log(cant1.Text)";
+__c.LogImpl("442205207",_cant1.getText(),0);
+ //BA.debugLineNum = 2395;BA.debugLine="Dim prodx1() As String=Regex.Split(CRLF,PRDOX.Te";
_prodx1 = __c.Regex.Split(__c.CRLF,_prdox.getText());
- //BA.debugLineNum = 2392;BA.debugLine="Dim prodx3() As String=Regex.Split(\"\\$\",prodx1(1";
+ //BA.debugLineNum = 2396;BA.debugLine="Dim prodx3() As String=Regex.Split(\"\\$\",prodx1(1";
_prodx3 = __c.Regex.Split("\\$",_prodx1[(int) (1)]);
- //BA.debugLineNum = 2393;BA.debugLine="Log(prodx1(1))";
-__c.LogImpl("731653914",_prodx1[(int) (1)],0);
- //BA.debugLineNum = 2395;BA.debugLine="preciodev = prodx3(1)";
+ //BA.debugLineNum = 2397;BA.debugLine="Log(prodx1(1))";
+__c.LogImpl("442205210",_prodx1[(int) (1)],0);
+ //BA.debugLineNum = 2399;BA.debugLine="preciodev = prodx3(1)";
_preciodev = (double)(Double.parseDouble(_prodx3[(int) (1)]));
- //BA.debugLineNum = 2396;BA.debugLine="nombredev = prodx1(0)";
+ //BA.debugLineNum = 2400;BA.debugLine="nombredev = prodx1(0)";
_nombredev = _prodx1[(int) (0)];
- //BA.debugLineNum = 2398;BA.debugLine="Dim dev As Cursor = B4XPages.MainPage.skmt.ExecQ";
+ //BA.debugLineNum = 2402;BA.debugLine="Dim dev As Cursor = B4XPages.MainPage.skmt.ExecQ";
_dev = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_dev = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_GP_DEV, 0) AS CAT_GP_DEV, CAT_GP_PRECIO from CAT_GUNAPROD where CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"'"))));
- //BA.debugLineNum = 2399;BA.debugLine="dev.Position = 0";
+ //BA.debugLineNum = 2403;BA.debugLine="dev.Position = 0";
_dev.setPosition((int) (0));
- //BA.debugLineNum = 2400;BA.debugLine="If dev.GetInt(\"CAT_GP_DEV\") = 1 Then";
+ //BA.debugLineNum = 2404;BA.debugLine="If dev.GetInt(\"CAT_GP_DEV\") = 1 Then";
if (_dev.GetInt("CAT_GP_DEV")==1) {
- //BA.debugLineNum = 2403;BA.debugLine="c.GetString(\"PC_MONTO\")";
+ //BA.debugLineNum = 2407;BA.debugLine="c.GetString(\"PC_MONTO\")";
_c.GetString("PC_MONTO");
- //BA.debugLineNum = 2406;BA.debugLine="If c.GetString(\"PC_MONTO\") < dev.GetInt(\"CAT_G";
+ //BA.debugLineNum = 2410;BA.debugLine="If c.GetString(\"PC_MONTO\") < dev.GetInt(\"CAT_G";
if ((double)(Double.parseDouble(_c.GetString("PC_MONTO")))<_dev.GetInt("CAT_GP_PRECIO")) {
- //BA.debugLineNum = 2407;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al pr";
+ //BA.debugLineNum = 2411;BA.debugLine="MsgboxAsync(\"El monto de venta es menor al pr";
__c.MsgboxAsync(BA.ObjectToCharSequence("El monto de venta es menor al precio de este producto"),BA.ObjectToCharSequence("Atención"),ba);
- //BA.debugLineNum = 2408;BA.debugLine="Log(1)";
-__c.LogImpl("731653929",BA.NumberToString(1),0);
+ //BA.debugLineNum = 2412;BA.debugLine="Log(1)";
+__c.LogImpl("442205225",BA.NumberToString(1),0);
}else {
- //BA.debugLineNum = 2410;BA.debugLine="p_devo.Visible = True";
+ //BA.debugLineNum = 2414;BA.debugLine="p_devo.Visible = True";
_p_devo.setVisible(__c.True);
- //BA.debugLineNum = 2411;BA.debugLine="p_devo.Height = Root.Height";
+ //BA.debugLineNum = 2415;BA.debugLine="p_devo.Height = Root.Height";
_p_devo.setHeight(_root.getHeight());
- //BA.debugLineNum = 2412;BA.debugLine="p_devo.Width = Root.Width";
+ //BA.debugLineNum = 2416;BA.debugLine="p_devo.Width = Root.Width";
_p_devo.setWidth(_root.getWidth());
- //BA.debugLineNum = 2413;BA.debugLine="l_proddev.Text = prodx1(0)";
+ //BA.debugLineNum = 2417;BA.debugLine="l_proddev.Text = prodx1(0)";
_l_proddev.setText(BA.ObjectToCharSequence(_prodx1[(int) (0)]));
- //BA.debugLineNum = 2416;BA.debugLine="Dim devo As Cursor = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 2420;BA.debugLine="Dim devo As Cursor = B4XPages.MainPage.skmt.E";
_devo = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_devo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select SUM(IFNULL(PE_CANT,0)) as suma from PEDIDO where PE_PRONOMBRE = '"+__c.SmartStringFormatter("",(Object)(_prodx1[(int) (0)]))+"' AND PE_CEDIS = 'DUR'"))));
- //BA.debugLineNum = 2417;BA.debugLine="devo.Position = 0";
+ //BA.debugLineNum = 2421;BA.debugLine="devo.Position = 0";
_devo.setPosition((int) (0));
- //BA.debugLineNum = 2419;BA.debugLine="l_cantdev.Text = devo.GetInt(\"suma\")";
+ //BA.debugLineNum = 2423;BA.debugLine="l_cantdev.Text = devo.GetInt(\"suma\")";
_l_cantdev.setText(BA.ObjectToCharSequence(_devo.GetInt("suma")));
};
}else if(_dev.GetInt("CAT_GP_DEV")==0) {
- //BA.debugLineNum = 2429;BA.debugLine="MsgboxAsync(\"El producto no se puede devolver\",";
+ //BA.debugLineNum = 2433;BA.debugLine="MsgboxAsync(\"El producto no se puede devolver\",";
__c.MsgboxAsync(BA.ObjectToCharSequence("El producto no se puede devolver"),BA.ObjectToCharSequence("Atención"),ba);
};
}else {
- //BA.debugLineNum = 2435;BA.debugLine="MsgboxAsync(\"El Cliente no tiene venta para mete";
+ //BA.debugLineNum = 2439;BA.debugLine="MsgboxAsync(\"El Cliente no tiene venta para mete";
__c.MsgboxAsync(BA.ObjectToCharSequence("El Cliente no tiene venta para meter devoluciones"),BA.ObjectToCharSequence("Atención"),ba);
};
};
};
- //BA.debugLineNum = 2441;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2445;BA.debugLine="End Sub";
return "";
}
public String _llenacatalogo(String _subtipo1) throws Exception{
@@ -2376,183 +2384,183 @@ int _cont = 0;
int _pr0 = 0;
anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null;
int _pr = 0;
- //BA.debugLineNum = 1839;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)";
- //BA.debugLineNum = 1840;BA.debugLine="Log(\"Iniciamos LlenaProdsLL\")";
-__c.LogImpl("731326209","Iniciamos LlenaProdsLL",0);
- //BA.debugLineNum = 1841;BA.debugLine="listaProds.Initialize";
+ //BA.debugLineNum = 1843;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)";
+ //BA.debugLineNum = 1844;BA.debugLine="Log(\"Iniciamos LlenaProdsLL\")";
+__c.LogImpl("441877505","Iniciamos LlenaProdsLL",0);
+ //BA.debugLineNum = 1845;BA.debugLine="listaProds.Initialize";
_listaprods.Initialize();
- //BA.debugLineNum = 1842;BA.debugLine="If hayPedido Then 'Si hay pedido obtenemos las ca";
+ //BA.debugLineNum = 1846;BA.debugLine="If hayPedido Then 'Si hay pedido obtenemos las ca";
if (_haypedido) {
- //BA.debugLineNum = 1843;BA.debugLine="Dim cantsMap As Map";
+ //BA.debugLineNum = 1847;BA.debugLine="Dim cantsMap As Map";
_cantsmap = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 1844;BA.debugLine="cantsMap.Initialize";
+ //BA.debugLineNum = 1848;BA.debugLine="cantsMap.Initialize";
_cantsmap.Initialize();
- //BA.debugLineNum = 1845;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU";
+ //BA.debugLineNum = 1849;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTU";
if ((_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) {
- //BA.debugLineNum = 1846;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 1850;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex";
_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID, PE_CANT from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"' AND PE_FUTURO = '1' "))));
}else {
- //BA.debugLineNum = 1848;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 1852;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Ex";
_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID, PE_CANT from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"' AND PE_FUTURO = '0' "))));
};
- //BA.debugLineNum = 1851;BA.debugLine="Do While pe.NextRow";
+ //BA.debugLineNum = 1855;BA.debugLine="Do While pe.NextRow";
while (_pe.NextRow()) {
- //BA.debugLineNum = 1852;BA.debugLine="Private cant As Int = 0";
+ //BA.debugLineNum = 1856;BA.debugLine="Private cant As Int = 0";
_cant = (int) (0);
- //BA.debugLineNum = 1854;BA.debugLine="cantsMap.put(pe.GetString(\"PE_PROID\"), pe.GetS";
+ //BA.debugLineNum = 1858;BA.debugLine="cantsMap.put(pe.GetString(\"PE_PROID\"), pe.GetS";
_cantsmap.Put((Object)(_pe.GetString("PE_PROID")),(Object)(_pe.GetString("PE_CANT")));
- //BA.debugLineNum = 1858;BA.debugLine="Log(clienteId &\"|||||\"&pe.GetString(\"PE_PROID\")";
-__c.LogImpl("731326227",_clienteid+"|||||"+_pe.GetString("PE_PROID")+"|||||"+_pe.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 1862;BA.debugLine="Log(clienteId &\"|||||\"&pe.GetString(\"PE_PROID\")";
+__c.LogImpl("441877523",_clienteid+"|||||"+_pe.GetString("PE_PROID")+"|||||"+_pe.GetString("PE_CANT"),0);
}
;
- //BA.debugLineNum = 1860;BA.debugLine="pe.Close";
+ //BA.debugLineNum = 1864;BA.debugLine="pe.Close";
_pe.Close();
};
- //BA.debugLineNum = 1863;BA.debugLine="If p.IsInitialized Then";
+ //BA.debugLineNum = 1867;BA.debugLine="If p.IsInitialized Then";
if (_p.IsInitialized()) {
}else {
- //BA.debugLineNum = 1870;BA.debugLine="LogColor(Starter.tabla,Colors.blue)";
-__c.LogImpl("731326239",_starter._tabla /*String*/ ,__c.Colors.Blue);
- //BA.debugLineNum = 1894;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skm";
+ //BA.debugLineNum = 1874;BA.debugLine="LogColor(Starter.tabla,Colors.blue)";
+__c.LogImpl("441877535",_starter._tabla /*String*/ ,__c.Colors.Blue);
+ //BA.debugLineNum = 1898;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skm";
_coloressaldo = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coloressaldo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR2,0) AS CAT_CL_CLASIFICADOR2 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1895;BA.debugLine="coloressaldo.Position = 0";
+ //BA.debugLineNum = 1899;BA.debugLine="coloressaldo.Position = 0";
_coloressaldo.setPosition((int) (0));
- //BA.debugLineNum = 1897;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\"";
+ //BA.debugLineNum = 1901;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\"";
if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("LP222_D")) {
- //BA.debugLineNum = 1898;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 1902;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe";
_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_LISTAPRECIO, CAT_LISTAPRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPO <> 'PROMOS' and CAT_GP_TIPO <> 'PROMOCION'\n"+" order by\n"+" Case CAT_GP_TIPOPROD when 'PRIORITARIO' THEN 0\n"+" WHEN 'ESTRATEGICO' THEN 1\n"+" WHEN 'COMPLEMENTARIO' then 2\n"+" Else 3\n"+" End, CAT_GP_NOMBRE"))));
}else {
- //BA.debugLineNum = 1906;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 1910;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exe";
_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_LISTAPRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPO <> 'PROMOS' and CAT_GP_TIPO <> 'PROMOCION'\n"+" order by\n"+" Case CAT_GP_TIPOPROD when 'PRIORITARIO' THEN 0\n"+" WHEN 'ESTRATEGICO' THEN 1\n"+" WHEN 'COMPLEMENTARIO' then 2\n"+" Else 3\n"+" End, CAT_GP_NOMBRE"))));
};
};
- //BA.debugLineNum = 1936;BA.debugLine="Dim coloressaldo2 As Cursor=B4XPages.MainPage.skm";
+ //BA.debugLineNum = 1940;BA.debugLine="Dim coloressaldo2 As Cursor=B4XPages.MainPage.skm";
_coloressaldo2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coloressaldo2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR2,0) AS CAT_CL_CLASIFICADOR2 from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 1937;BA.debugLine="coloressaldo2.Position = 0";
+ //BA.debugLineNum = 1941;BA.debugLine="coloressaldo2.Position = 0";
_coloressaldo2.setPosition((int) (0));
- //BA.debugLineNum = 1939;BA.debugLine="Do While p.NextRow";
+ //BA.debugLineNum = 1943;BA.debugLine="Do While p.NextRow";
while (_p.NextRow()) {
- //BA.debugLineNum = 1940;BA.debugLine="Private cant As Int = 0";
+ //BA.debugLineNum = 1944;BA.debugLine="Private cant As Int = 0";
_cant = (int) (0);
- //BA.debugLineNum = 1941;BA.debugLine="If hayPedido And cantsMap.ContainsKey(p.GetStrin";
+ //BA.debugLineNum = 1945;BA.debugLine="If hayPedido And cantsMap.ContainsKey(p.GetStrin";
if (_haypedido && _cantsmap.ContainsKey((Object)(_p.GetString("CAT_GP_ID")))) {
- //BA.debugLineNum = 1942;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))";
-__c.LogImpl("731326311",_p.GetString("CAT_GP_ID"),0);
- //BA.debugLineNum = 1943;BA.debugLine="cant = cantsMap.Get(p.GetString(\"CAT_GP_ID\"))";
+ //BA.debugLineNum = 1946;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))";
+__c.LogImpl("441877607",_p.GetString("CAT_GP_ID"),0);
+ //BA.debugLineNum = 1947;BA.debugLine="cant = cantsMap.Get(p.GetString(\"CAT_GP_ID\"))";
_cant = (int)(BA.ObjectToNumber(_cantsmap.Get((Object)(_p.GetString("CAT_GP_ID")))));
};
- //BA.debugLineNum = 1945;BA.debugLine="If coloressaldo2.GetString(\"CAT_CL_CLASIFICADOR2";
+ //BA.debugLineNum = 1949;BA.debugLine="If coloressaldo2.GetString(\"CAT_CL_CLASIFICADOR2";
if ((_coloressaldo2.GetString("CAT_CL_CLASIFICADOR2")).equals("LP222_D")) {
- //BA.debugLineNum = 1946;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G";
+ //BA.debugLineNum = 1950;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G";
if ((_p.GetString("CAT_GP_ID")).equals("GUN141") == false && (_p.GetString("CAT_GP_ID")).equals("GUN142") == false) {
- //BA.debugLineNum = 1949;BA.debugLine="Dim tempMap As Map = CreateMap( _";
+ //BA.debugLineNum = 1953;BA.debugLine="Dim tempMap As Map = CreateMap( _";
_tempmap = new anywheresoftware.b4a.objects.collections.Map();
_tempmap = __c.createMap(new Object[] {(Object)("prod"),(Object)(_p.GetString("CAT_GP_NOMBRE")),(Object)("precio"),(Object)(_p.GetString("CAT_LISTAPRECIO")),(Object)("prioridad"),(Object)(_p.GetString("CAT_GP_TIPOPROD")),(Object)("almacen"),(Object)(_p.GetString("CAT_GP_ALMACEN")),(Object)("id"),(Object)(_p.GetString("CAT_GP_ID")),(Object)("cant"),(Object)(_cant),(Object)("conversion"),(Object)(1),(Object)("precio_caja"),(Object)(0),(Object)("b_caja"),(Object)(0)});
- //BA.debugLineNum = 1960;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map";
+ //BA.debugLineNum = 1964;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map";
_listaprods.Add((Object)(_tempmap.getObject()));
};
}else {
- //BA.debugLineNum = 1963;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G";
+ //BA.debugLineNum = 1967;BA.debugLine="If p.GetString(\"CAT_GP_ID\") <> \"GUN141\" And p.G";
if ((_p.GetString("CAT_GP_ID")).equals("GUN141") == false && (_p.GetString("CAT_GP_ID")).equals("GUN142") == false) {
- //BA.debugLineNum = 1966;BA.debugLine="Dim tempMap As Map = CreateMap( _";
+ //BA.debugLineNum = 1970;BA.debugLine="Dim tempMap As Map = CreateMap( _";
_tempmap = new anywheresoftware.b4a.objects.collections.Map();
_tempmap = __c.createMap(new Object[] {(Object)("prod"),(Object)(_p.GetString("CAT_GP_NOMBRE")),(Object)("precio"),(Object)(_p.GetString("CAT_GP_PRECIO")),(Object)("prioridad"),(Object)(_p.GetString("CAT_GP_TIPOPROD")),(Object)("almacen"),(Object)(_p.GetString("CAT_GP_ALMACEN")),(Object)("id"),(Object)(_p.GetString("CAT_GP_ID")),(Object)("cant"),(Object)(_cant),(Object)("conversion"),(Object)(1),(Object)("precio_caja"),(Object)(0),(Object)("b_caja"),(Object)(0)});
- //BA.debugLineNum = 1977;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map";
+ //BA.debugLineNum = 1981;BA.debugLine="listaProds.Add(tempMap) ' Agregar el nuevo map";
_listaprods.Add((Object)(_tempmap.getObject()));
};
};
}
;
- //BA.debugLineNum = 1984;BA.debugLine="PCLV.Commit";
+ //BA.debugLineNum = 1988;BA.debugLine="PCLV.Commit";
_pclv._commit /*String*/ ();
- //BA.debugLineNum = 1985;BA.debugLine="clv_prods_ll.Clear";
+ //BA.debugLineNum = 1989;BA.debugLine="clv_prods_ll.Clear";
_clv_prods_ll._clear();
- //BA.debugLineNum = 1986;BA.debugLine="Private listaProdsConCant, listaProdsConCantIndex";
+ //BA.debugLineNum = 1990;BA.debugLine="Private listaProdsConCant, listaProdsConCantIndex";
_listaprodsconcant = new anywheresoftware.b4a.objects.collections.List();
_listaprodsconcantindex = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 1987;BA.debugLine="listaProdsConCant.Initialize";
+ //BA.debugLineNum = 1991;BA.debugLine="listaProdsConCant.Initialize";
_listaprodsconcant.Initialize();
- //BA.debugLineNum = 1988;BA.debugLine="listaProdsConCantIndex.Initialize";
+ //BA.debugLineNum = 1992;BA.debugLine="listaProdsConCantIndex.Initialize";
_listaprodsconcantindex.Initialize();
- //BA.debugLineNum = 1989;BA.debugLine="listaHints.Initialize";
+ //BA.debugLineNum = 1993;BA.debugLine="listaHints.Initialize";
_listahints.Initialize();
- //BA.debugLineNum = 1990;BA.debugLine="For q=0 To listaProds.Size-1' quitamos los produc";
+ //BA.debugLineNum = 1994;BA.debugLine="For q=0 To listaProds.Size-1' quitamos los produc";
{
final int step55 = 1;
final int limit55 = (int) (_listaprods.getSize()-1);
_q = (int) (0) ;
for (;_q <= limit55 ;_q = _q + step55 ) {
- //BA.debugLineNum = 1991;BA.debugLine="If listaProds.Get(q).As(Map).Get(\"cant\").As(Int)";
+ //BA.debugLineNum = 1995;BA.debugLine="If listaProds.Get(q).As(Map).Get(\"cant\").As(Int)";
if (((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_q)))).Get((Object)("cant")))))!=0) {
- //BA.debugLineNum = 1993;BA.debugLine="listaProdsConCant.Add(listaProds.Get(q))";
+ //BA.debugLineNum = 1997;BA.debugLine="listaProdsConCant.Add(listaProds.Get(q))";
_listaprodsconcant.Add(_listaprods.Get(_q));
- //BA.debugLineNum = 1994;BA.debugLine="listaProdsConCantIndex.Add(q)";
+ //BA.debugLineNum = 1998;BA.debugLine="listaProdsConCantIndex.Add(q)";
_listaprodsconcantindex.Add((Object)(_q));
};
}
};
- //BA.debugLineNum = 1998;BA.debugLine="Private cont As Int = 0";
+ //BA.debugLineNum = 2002;BA.debugLine="Private cont As Int = 0";
_cont = (int) (0);
- //BA.debugLineNum = 1999;BA.debugLine="For pr0=0 To listaProdsConCant.Size - 1 'Agregamo";
+ //BA.debugLineNum = 2003;BA.debugLine="For pr0=0 To listaProdsConCant.Size - 1 'Agregamo";
{
final int step62 = 1;
final int limit62 = (int) (_listaprodsconcant.getSize()-1);
_pr0 = (int) (0) ;
for (;_pr0 <= limit62 ;_pr0 = _pr0 + step62 ) {
- //BA.debugLineNum = 2000;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")";
+ //BA.debugLineNum = 2004;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")";
_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper();
_pnl = _xui.CreatePanel(ba,"");
- //BA.debugLineNum = 2002;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsVi";
+ //BA.debugLineNum = 2006;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsVi";
_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv_prods_ll._asview().getWidth(),__c.DipToCurrent((int) (130)));
- //BA.debugLineNum = 2003;BA.debugLine="clv_prods_ll.Add(Pnl, listaProdsConCant.Get(pr0)";
+ //BA.debugLineNum = 2007;BA.debugLine="clv_prods_ll.Add(Pnl, listaProdsConCant.Get(pr0)";
_clv_prods_ll._add(_pnl,_listaprodsconcant.Get(_pr0));
- //BA.debugLineNum = 2004;BA.debugLine="listaHints.Add(listaProdsConCant.get(pr0).As(Map";
+ //BA.debugLineNum = 2008;BA.debugLine="listaHints.Add(listaProdsConCant.get(pr0).As(Map";
_listahints.Add(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprodsconcant.Get(_pr0)))).Get((Object)("prod")));
- //BA.debugLineNum = 2005;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 2009;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
}
};
- //BA.debugLineNum = 2009;BA.debugLine="For pr=0 To listaProds.Size-1";
+ //BA.debugLineNum = 2013;BA.debugLine="For pr=0 To listaProds.Size-1";
{
final int step69 = 1;
final int limit69 = (int) (_listaprods.getSize()-1);
_pr = (int) (0) ;
for (;_pr <= limit69 ;_pr = _pr + step69 ) {
- //BA.debugLineNum = 2010;BA.debugLine="If listaProdsConCantIndex.IndexOf(pr) = -1 Then";
+ //BA.debugLineNum = 2014;BA.debugLine="If listaProdsConCantIndex.IndexOf(pr) = -1 Then";
if (_listaprodsconcantindex.IndexOf((Object)(_pr))==-1) {
- //BA.debugLineNum = 2011;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")";
+ //BA.debugLineNum = 2015;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")";
_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper();
_pnl = _xui.CreatePanel(ba,"");
- //BA.debugLineNum = 2012;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsV";
+ //BA.debugLineNum = 2016;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsV";
_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv_prods_ll._asview().getWidth(),__c.DipToCurrent((int) (130)));
- //BA.debugLineNum = 2013;BA.debugLine="listaHints.Add(listaProds.get(pr).As(Map).Get(\"";
+ //BA.debugLineNum = 2017;BA.debugLine="listaHints.Add(listaProds.get(pr).As(Map).Get(\"";
_listahints.Add(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_pr)))).Get((Object)("prod")));
- //BA.debugLineNum = 2014;BA.debugLine="clv_prods_ll.Add(Pnl, listaProds.Get(pr))";
+ //BA.debugLineNum = 2018;BA.debugLine="clv_prods_ll.Add(Pnl, listaProds.Get(pr))";
_clv_prods_ll._add(_pnl,_listaprods.Get(_pr));
- //BA.debugLineNum = 2016;BA.debugLine="cont = cont + 1";
+ //BA.debugLineNum = 2020;BA.debugLine="cont = cont + 1";
_cont = (int) (_cont+1);
};
}
};
- //BA.debugLineNum = 2023;BA.debugLine="PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size";
+ //BA.debugLineNum = 2027;BA.debugLine="PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size";
_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._maxvalue /*int*/ = _clv_prods_ll._getsize();
- //BA.debugLineNum = 2024;BA.debugLine="PCLV.B4XSeekBar1.MinValue = 0";
+ //BA.debugLineNum = 2028;BA.debugLine="PCLV.B4XSeekBar1.MinValue = 0";
_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._minvalue /*int*/ = (int) (0);
- //BA.debugLineNum = 2025;BA.debugLine="PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20";
+ //BA.debugLineNum = 2029;BA.debugLine="PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20";
_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ = (int) (_clv_prods_ll._getsize()/(double)20);
- //BA.debugLineNum = 2026;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size";
+ //BA.debugLineNum = 2030;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size";
_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ (_clv_prods_ll._getsize());
- //BA.debugLineNum = 2027;BA.debugLine="PCLV.B4XSeekBar1.Update";
+ //BA.debugLineNum = 2031;BA.debugLine="PCLV.B4XSeekBar1.Update";
_pclv._b4xseekbar1 /*gunav2.keymon.com.mx.b4xseekbar*/ ._update /*String*/ ();
- //BA.debugLineNum = 2029;BA.debugLine="reiniciarlistaProds = False";
+ //BA.debugLineNum = 2033;BA.debugLine="reiniciarlistaProds = False";
_reiniciarlistaprods = __c.False;
- //BA.debugLineNum = 2030;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2034;BA.debugLine="End Sub";
return "";
}
public String _lv_catalogos_itemclick(int _position,Object _value) throws Exception{
@@ -2589,7 +2597,7 @@ if (_c.getRowCount()>0) {
//BA.debugLineNum = 290;BA.debugLine="C.Position = 0";
_c.setPosition((int) (0));
//BA.debugLineNum = 291;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetSt";
-__c.LogImpl("729622286",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
+__c.LogImpl("440173582",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0);
//BA.debugLineNum = 292;BA.debugLine="l_totProds.Text = \"Prods: \" & c.GetString(\"PC_N";
_l_totprods.setText(BA.ObjectToCharSequence("Prods: "+_c.GetString("PC_NOART")));
//BA.debugLineNum = 293;BA.debugLine="l_total.Text = \"Total: $\" & c.GetString(\"PC_MON";
@@ -2673,7 +2681,7 @@ _yacompropro3055 = _subs._revisapro3055 /*boolean*/ (ba,_subs._traecliente /*Str
//BA.debugLineNum = 365;BA.debugLine="Private tipoCliente As Int = Subs.traeTipoClient";
_tipocliente = _subs._traetipocliente /*int*/ (ba);
//BA.debugLineNum = 366;BA.debugLine="Log(c2.RowCount)";
-__c.LogImpl("729622361",BA.NumberToString(_c2.getRowCount()),0);
+__c.LogImpl("440173657",BA.NumberToString(_c2.getRowCount()),0);
//BA.debugLineNum = 367;BA.debugLine="If c2.RowCount > 0 Then";
if (_c2.getRowCount()>0) {
//BA.debugLineNum = 385;BA.debugLine="For i=0 To c2.RowCount - 1";
@@ -2687,17 +2695,17 @@ _c2.setPosition(_i);
//BA.debugLineNum = 387;BA.debugLine="Private muestraPromo As Boolean = True";
_muestrapromo = __c.True;
//BA.debugLineNum = 388;BA.debugLine="Log($\"SEGMENTADA: ${c2.GetString(\"CAT_PA_BSEGM";
-__c.LogImpl("729622383",("SEGMENTADA: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_BSEGMENTA")))+""),0);
+__c.LogImpl("440173679",("SEGMENTADA: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_BSEGMENTA")))+""),0);
//BA.debugLineNum = 389;BA.debugLine="If c2.GetInt(\"CAT_PA_BSEGMENTA\") = 1 Then";
if (_c2.GetInt("CAT_PA_BSEGMENTA")==1) {
//BA.debugLineNum = 390;BA.debugLine="LogColor(\"####### PROMO SEGMENTADA #### \"&";
-__c.LogImpl("729622385","####### PROMO SEGMENTADA #### "+_c2.GetString("CAT_GP_ID"),__c.Colors.Blue);
+__c.LogImpl("440173681","####### PROMO SEGMENTADA #### "+_c2.GetString("CAT_GP_ID"),__c.Colors.Blue);
//BA.debugLineNum = 391;BA.debugLine="LogColor($\"####### SEGV: ${c2.GetString(\"CA";
-__c.LogImpl("729622386",("####### SEGV: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_SEGMENTAV")))+" ####"),__c.Colors.Blue);
+__c.LogImpl("440173682",("####### SEGV: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_SEGMENTAV")))+" ####"),__c.Colors.Blue);
//BA.debugLineNum = 392;BA.debugLine="LogColor($\"####### TIPOCLIE: ${tipoCliente}";
-__c.LogImpl("729622387",("####### TIPOCLIE: "+__c.SmartStringFormatter("",(Object)(_tipocliente))+" ####"),__c.Colors.Blue);
+__c.LogImpl("440173683",("####### TIPOCLIE: "+__c.SmartStringFormatter("",(Object)(_tipocliente))+" ####"),__c.Colors.Blue);
//BA.debugLineNum = 393;BA.debugLine="LogColor($\"####### ¿ENTRA?: ${c2.GetString(";
-__c.LogImpl("729622388",("####### ¿ENTRA?: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_SEGMENTAV").contains(BA.NumberToString(_tipocliente))))+" ####"),__c.Colors.Blue);
+__c.LogImpl("440173684",("####### ¿ENTRA?: "+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_PA_SEGMENTAV").contains(BA.NumberToString(_tipocliente))))+" ####"),__c.Colors.Blue);
//BA.debugLineNum = 394;BA.debugLine="If Not(c2.GetString(\"CAT_PA_SEGMENTAV\").Conta";
if (__c.Not(_c2.GetString("CAT_PA_SEGMENTAV").contains(BA.NumberToString(_tipocliente)))) {
_muestrapromo = __c.False;};
@@ -2706,48 +2714,48 @@ _muestrapromo = __c.False;};
_tm = new anywheresoftware.b4a.objects.collections.Map();
_tm = _subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_c2.GetString("CAT_GP_ID"),_subs._traecliente /*String*/ (ba));
//BA.debugLineNum = 401;BA.debugLine="Log($\"TM=${tm}\"$)";
-__c.LogImpl("729622396",("TM="+__c.SmartStringFormatter("",(Object)(_tm.getObject()))+""),0);
+__c.LogImpl("440173692",("TM="+__c.SmartStringFormatter("",(Object)(_tm.getObject()))+""),0);
//BA.debugLineNum = 402;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral";
if ((_tm.Get((Object)("status"))).equals((Object)("ok"))) {
//BA.debugLineNum = 403;BA.debugLine="If yaComproPRO2265 And c2.GetString(\"CAT_GP_I";
if (_yacompropro2265 && (_c2.GetString("CAT_GP_ID")).equals("PRO3015")) {
//BA.debugLineNum = 404;BA.debugLine="LogColor(\"Ya compro la PRO2265, ya no se mue";
-__c.LogImpl("729622399","Ya compro la PRO2265, ya no se muestra la PRO3015",__c.Colors.Red);
+__c.LogImpl("440173695","Ya compro la PRO2265, ya no se muestra la PRO3015",__c.Colors.Red);
}else {
//BA.debugLineNum = 406;BA.debugLine="If (yaComproPRO3054 And c2.GetString(\"CAT_GP";
if ((_yacompropro3054 && (_c2.GetString("CAT_GP_ID")).equals("PRO3054")) || (_yacompropro3055 && (_c2.GetString("CAT_GP_ID")).equals("PRO3055"))) {
//BA.debugLineNum = 408;BA.debugLine="LogColor(\"Ya compro prods de la PRO3054 o P";
-__c.LogImpl("729622403","Ya compro prods de la PRO3054 o PRO3055 o es cliente nuevo, ya no se muestra.",__c.Colors.Red);
+__c.LogImpl("440173699","Ya compro prods de la PRO3054 o PRO3055 o es cliente nuevo, ya no se muestra.",__c.Colors.Red);
}else {
//BA.debugLineNum = 410;BA.debugLine="If Subs.traeAlmacen = 88 Then";
if ((_subs._traealmacen /*String*/ (ba)).equals(BA.NumberToString(88))) {
//BA.debugLineNum = 411;BA.debugLine="Log(\"SI ENTRE1\")";
-__c.LogImpl("729622406","SI ENTRE1",0);
+__c.LogImpl("440173702","SI ENTRE1",0);
//BA.debugLineNum = 412;BA.debugLine="Log(c2.GetString(\"CAT_GP_ID\"))";
-__c.LogImpl("729622407",_c2.GetString("CAT_GP_ID"),0);
+__c.LogImpl("440173703",_c2.GetString("CAT_GP_ID"),0);
//BA.debugLineNum = 413;BA.debugLine="If c2.GetString(\"CAT_GP_ID\") = \"MYKONOS_01";
if ((_c2.GetString("CAT_GP_ID")).equals("MYKONOS_01") && _subs._traemontoprod /*boolean*/ (ba)) {
//BA.debugLineNum = 414;BA.debugLine="Log(\"SI ENTRE\")";
-__c.LogImpl("729622409","SI ENTRE",0);
+__c.LogImpl("440173705","SI ENTRE",0);
//BA.debugLineNum = 415;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLine";
if (_muestrapromo) {
_lv_promos.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+_c2.GetString("CAT_GP_ALMACEN")+" $ "+_c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));};
}else if((_c2.GetString("CAT_GP_ID")).equals("MYKONOS_01") == false) {
//BA.debugLineNum = 417;BA.debugLine="Log(\"SI ENTRE2\")";
-__c.LogImpl("729622412","SI ENTRE2",0);
+__c.LogImpl("440173708","SI ENTRE2",0);
//BA.debugLineNum = 418;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLine";
if (_muestrapromo) {
_lv_promos.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+_c2.GetString("CAT_GP_ALMACEN")+" $ "+_c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));};
};
}else {
//BA.debugLineNum = 421;BA.debugLine="Log(\"SI ENTRE3\")";
-__c.LogImpl("729622416","SI ENTRE3",0);
+__c.LogImpl("440173712","SI ENTRE3",0);
//BA.debugLineNum = 422;BA.debugLine="If muestraPromo Then lv_promos.AddTwoLines";
if (_muestrapromo) {
_lv_promos.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+_c2.GetString("CAT_GP_ALMACEN")+" $ "+_c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant")))));};
};
//BA.debugLineNum = 424;BA.debugLine="Log($\"################################${CRL";
-__c.LogImpl("729622419",("################################"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+" "+__c.SmartStringFormatter("",(Object)(_muestrapromo))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"################################"),0);
+__c.LogImpl("440173715",("################################"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+" "+__c.SmartStringFormatter("",(Object)(_muestrapromo))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"################################"),0);
};
};
};
@@ -2817,7 +2825,7 @@ parent._busca.setText(BA.ObjectToCharSequence(""));
//BA.debugLineNum = 451;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie";
_cliente = (gunav2.keymon.com.mx.c_cliente)(parent._b4xpages._getpage /*Object*/ (ba,"Cliente"));
//BA.debugLineNum = 452;BA.debugLine="Log($\"value=${Value}\"$)";
-parent.__c.LogImpl("729687812",("value="+parent.__c.SmartStringFormatter("",_value)+""),0);
+parent.__c.LogImpl("440239108",("value="+parent.__c.SmartStringFormatter("",_value)+""),0);
//BA.debugLineNum = 453;BA.debugLine="If Value = \"PROMOCIONES\" And cliente.cuenta <> \"N";
if (true) break;
@@ -2865,7 +2873,7 @@ case 8:
//C
this.state = 11;
//BA.debugLineNum = 462;BA.debugLine="LogColor(\"Promos\", Colors.red)";
-parent.__c.LogImpl("729687822","Promos",parent.__c.Colors.Red);
+parent.__c.LogImpl("440239118","Promos",parent.__c.Colors.Red);
//BA.debugLineNum = 463;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) ) ORDER BY 1"),new String[]{"PROMOS",parent._marca,parent._tipo})));
if (true) break;
@@ -2874,7 +2882,7 @@ case 10:
//C
this.state = 11;
//BA.debugLineNum = 465;BA.debugLine="LogColor(\"Catalogo\", Colors.red)";
-parent.__c.LogImpl("729687825","Catalogo",parent.__c.Colors.Red);
+parent.__c.LogImpl("440239121","Catalogo",parent.__c.Colors.Red);
//BA.debugLineNum = 466;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery($\"select CAT";
parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' "))));
if (true) break;
@@ -2900,7 +2908,7 @@ parent._lv_promos.setVisible(parent.__c.False);
//BA.debugLineNum = 491;BA.debugLine="lfila.text = \"PORTAFOLIO\"";
parent._lfila.setText(BA.ObjectToCharSequence("PORTAFOLIO"));
//BA.debugLineNum = 492;BA.debugLine="Log(\"PGS\")";
-parent.__c.LogImpl("729687852","PGS",0);
+parent.__c.LogImpl("440239148","PGS",0);
//BA.debugLineNum = 493;BA.debugLine="ProgressDialogShow(\"Cargando catalogo ...\")";
parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Cargando catalogo ..."));
//BA.debugLineNum = 494;BA.debugLine="Sleep(100)";
@@ -2918,9 +2926,9 @@ parent._llenacatalogo(BA.ObjectToString(parent.__c.False));
//BA.debugLineNum = 497;BA.debugLine="clv_prods_ll.AsView.Visible = True";
parent._clv_prods_ll._asview().setVisible(parent.__c.True);
//BA.debugLineNum = 498;BA.debugLine="Log(\"PGH\")";
-parent.__c.LogImpl("729687858","PGH",0);
+parent.__c.LogImpl("440239154","PGH",0);
//BA.debugLineNum = 499;BA.debugLine="LogColor(\"TIEMPO DE PROCESO DEL CATALOGO: \" & ((";
-parent.__c.LogImpl("729687859","TIEMPO DE PROCESO DEL CATALOGO: "+BA.NumberToString(((parent.__c.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),parent.__c.Colors.Red);
+parent.__c.LogImpl("440239155","TIEMPO DE PROCESO DEL CATALOGO: "+BA.NumberToString(((parent.__c.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),parent.__c.Colors.Red);
//BA.debugLineNum = 500;BA.debugLine="ProgressDialogHide";
parent.__c.ProgressDialogHide();
//BA.debugLineNum = 501;BA.debugLine="c2.Close";
@@ -2931,7 +2939,7 @@ case 15:
//C
this.state = 16;
//BA.debugLineNum = 503;BA.debugLine="Log(\"ENTRAMOS A PROMOS\")";
-parent.__c.LogImpl("729687863","ENTRAMOS A PROMOS",0);
+parent.__c.LogImpl("440239159","ENTRAMOS A PROMOS",0);
//BA.debugLineNum = 504;BA.debugLine="clv_prods_ll.AsView.Visible = False";
parent._clv_prods_ll._asview().setVisible(parent.__c.False);
//BA.debugLineNum = 505;BA.debugLine="lv_promos.Visible = True";
@@ -3082,11 +3090,11 @@ String _usuario = "";
int _j = 0;
//BA.debugLineNum = 1388;BA.debugLine="Private Sub lv_prodsPedido_ItemLongClick (Position";
//BA.debugLineNum = 1389;BA.debugLine="Log(Value)";
-__c.LogImpl("730998529",BA.ObjectToString(_value),0);
+__c.LogImpl("441549825",BA.ObjectToString(_value),0);
//BA.debugLineNum = 1390;BA.debugLine="Private X() As String = Regex.Split(\" \", Value)";
_x = __c.Regex.Split(" ",BA.ObjectToString(_value));
//BA.debugLineNum = 1391;BA.debugLine="Log(X.Length)";
-__c.LogImpl("730998531",BA.NumberToString(_x.length),0);
+__c.LogImpl("441549827",BA.NumberToString(_x.length),0);
//BA.debugLineNum = 1392;BA.debugLine="Private nom As String = \"\"";
_nom = "";
//BA.debugLineNum = 1393;BA.debugLine="For i = 0 To X.Length -1";
@@ -3113,9 +3121,9 @@ _nom = _nom.trim();
//BA.debugLineNum = 1403;BA.debugLine="Private cedis As String = X(X.Length-1)";
_cedis = _x[(int) (_x.length-1)];
//BA.debugLineNum = 1404;BA.debugLine="Log(nom)";
-__c.LogImpl("730998544",_nom,0);
+__c.LogImpl("441549840",_nom,0);
//BA.debugLineNum = 1405;BA.debugLine="Log(cedis)";
-__c.LogImpl("730998545",_cedis,0);
+__c.LogImpl("441549841",_cedis,0);
//BA.debugLineNum = 1406;BA.debugLine="Private sDate,sTime, clie_id, usuario As String";
_sdate = "";
_stime = "";
@@ -3130,33 +3138,33 @@ _c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObject
//BA.debugLineNum = 1411;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 1412;BA.debugLine="Log(vamoaver.Get(Position))";
-__c.LogImpl("730998552",BA.ObjectToString(_vamoaver.Get(_position)),0);
+__c.LogImpl("441549848",BA.ObjectToString(_vamoaver.Get(_position)),0);
//BA.debugLineNum = 1413;BA.debugLine="If vamoaver.Get(Position) = \"VENTA\" Then";
if ((_vamoaver.Get(_position)).equals((Object)("VENTA"))) {
//BA.debugLineNum = 1414;BA.debugLine="Log(\"CAT_GUNAPROD2\")";
-__c.LogImpl("730998554","CAT_GUNAPROD2",0);
+__c.LogImpl("441549850","CAT_GUNAPROD2",0);
//BA.debugLineNum = 1415;BA.debugLine="Log(Position)";
-__c.LogImpl("730998555",BA.NumberToString(_position),0);
+__c.LogImpl("441549851",BA.NumberToString(_position),0);
//BA.debugLineNum = 1416;BA.debugLine="Log(Value)";
-__c.LogImpl("730998556",BA.ObjectToString(_value),0);
+__c.LogImpl("441549852",BA.ObjectToString(_value),0);
//BA.debugLineNum = 1417;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\"";
_starter._tabla /*String*/ = "CAT_GUNAPROD2";
}else {
//BA.debugLineNum = 1419;BA.debugLine="Log(\"CAT_GUNAPROD\")";
-__c.LogImpl("730998559","CAT_GUNAPROD",0);
+__c.LogImpl("441549855","CAT_GUNAPROD",0);
//BA.debugLineNum = 1420;BA.debugLine="Log(Position)";
-__c.LogImpl("730998560",BA.NumberToString(_position),0);
+__c.LogImpl("441549856",BA.NumberToString(_position),0);
//BA.debugLineNum = 1421;BA.debugLine="Log(Value)";
-__c.LogImpl("730998561",BA.ObjectToString(_value),0);
+__c.LogImpl("441549857",BA.ObjectToString(_value),0);
//BA.debugLineNum = 1422;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\"";
_starter._tabla /*String*/ = "CAT_GUNAPROD";
};
//BA.debugLineNum = 1481;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_P";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS, PE_PRONOMBRE FROM PEDIDO where (pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' or pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+" ') AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"))));
//BA.debugLineNum = 1482;BA.debugLine="Log($\"select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDI";
-__c.LogImpl("730998622",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
+__c.LogImpl("441549918",("select PE_PROID,PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO where pe_pronombre = '"+__c.SmartStringFormatter("",(Object)(_nom))+"' AND PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_cedis))+"' and pe_cliente in (Select CUENTA from cuentaa)"),0);
//BA.debugLineNum = 1483;BA.debugLine="Log(c.RowCount)";
-__c.LogImpl("730998623",BA.NumberToString(_c.getRowCount()),0);
+__c.LogImpl("441549919",BA.NumberToString(_c.getRowCount()),0);
//BA.debugLineNum = 1484;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
//BA.debugLineNum = 1487;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
@@ -3166,11 +3174,11 @@ if (__c.Not(__c.IsNumber(_cedis))) {
//BA.debugLineNum = 1495;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT";
_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE, PE_FOLIO FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_CEDIS = ?)",new String[]{_cedis})));
//BA.debugLineNum = 1497;BA.debugLine="LogColor(j3.RowCount,Colors.Yellow)";
-__c.LogImpl("730998637",BA.NumberToString(_j3.getRowCount()),__c.Colors.Yellow);
+__c.LogImpl("441549933",BA.NumberToString(_j3.getRowCount()),__c.Colors.Yellow);
//BA.debugLineNum = 1498;BA.debugLine="If j3.RowCount > 0 Then";
if (_j3.getRowCount()>0) {
//BA.debugLineNum = 1499;BA.debugLine="Log(\"Soy promo\")";
-__c.LogImpl("730998639","Soy promo",0);
+__c.LogImpl("441549935","Soy promo",0);
//BA.debugLineNum = 1500;BA.debugLine="For j = 0 To j3.RowCount -1";
{
final int step45 = 1;
@@ -3178,7 +3186,7 @@ final int limit45 = (int) (_j3.getRowCount()-1);
_j = (int) (0) ;
for (;_j <= limit45 ;_j = _j + step45 ) {
//BA.debugLineNum = 1501;BA.debugLine="Log(\"aqui tronare?\")";
-__c.LogImpl("730998641","aqui tronare?",0);
+__c.LogImpl("441549937","aqui tronare?",0);
//BA.debugLineNum = 1502;BA.debugLine="j3.Position = j";
_j3.setPosition(_j);
//BA.debugLineNum = 1503;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update";
@@ -3321,7 +3329,7 @@ public String _lv_promos_itemlongclick(int _position,Object _value) throws Exce
String _id = "";
//BA.debugLineNum = 1303;BA.debugLine="Private Sub lv_promos_ItemLongClick (Position As I";
//BA.debugLineNum = 1304;BA.debugLine="Log(\"Promo longclic = \"&Value)";
-__c.LogImpl("730605313","Promo longclic = "+BA.ObjectToString(_value),0);
+__c.LogImpl("441156609","Promo longclic = "+BA.ObjectToString(_value),0);
//BA.debugLineNum = 1305;BA.debugLine="Private id As String = \"\"";
_id = "";
//BA.debugLineNum = 1306;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer";
@@ -3352,15 +3360,15 @@ public String _lv_tipo_itemclick(int _position,Object _value) throws Exception{
return "";
}
public String _p_devo_click() throws Exception{
- //BA.debugLineNum = 2502;BA.debugLine="Private Sub p_devo_Click";
- //BA.debugLineNum = 2504;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2506;BA.debugLine="Private Sub p_devo_Click";
+ //BA.debugLineNum = 2508;BA.debugLine="End Sub";
return "";
}
public String _p_promodesc_click() throws Exception{
- //BA.debugLineNum = 2361;BA.debugLine="Private Sub p_promodesc_Click";
- //BA.debugLineNum = 2362;BA.debugLine="p_promodesc.Visible = False";
+ //BA.debugLineNum = 2365;BA.debugLine="Private Sub p_promodesc_Click";
+ //BA.debugLineNum = 2366;BA.debugLine="p_promodesc.Visible = False";
_p_promodesc.setVisible(__c.False);
- //BA.debugLineNum = 2363;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2367;BA.debugLine="End Sub";
return "";
}
public String _p_vistapreviatrans_click() throws Exception{
@@ -3375,51 +3383,51 @@ return "";
}
public Object _pclv_hintrequested(int _index) throws Exception{
String _word = "";
- //BA.debugLineNum = 2033;BA.debugLine="Sub PCLV_HintRequested(Index As Int) As Object";
- //BA.debugLineNum = 2034;BA.debugLine="Dim word As String = listaHints.get(Index)";
+ //BA.debugLineNum = 2037;BA.debugLine="Sub PCLV_HintRequested(Index As Int) As Object";
+ //BA.debugLineNum = 2038;BA.debugLine="Dim word As String = listaHints.get(Index)";
_word = BA.ObjectToString(_listahints.Get(_index));
- //BA.debugLineNum = 2035;BA.debugLine="Return word";
+ //BA.debugLineNum = 2039;BA.debugLine="Return word";
if (true) return (Object)(_word);
- //BA.debugLineNum = 2036;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2040;BA.debugLine="End Sub";
return null;
}
public String _terminarpromoesp() throws Exception{
int _i = 0;
String _pn = "";
- //BA.debugLineNum = 2339;BA.debugLine="Sub terminarpromoesp";
- //BA.debugLineNum = 2340;BA.debugLine="c2 = B4XPages.MainPage.skmt.ExecQuery($\"select *";
+ //BA.debugLineNum = 2343;BA.debugLine="Sub terminarpromoesp";
+ //BA.debugLineNum = 2344;BA.debugLine="c2 = B4XPages.MainPage.skmt.ExecQuery($\"select *";
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from "+__c.SmartStringFormatter("",(Object)(_subs._traetablaprods /*String*/ (ba,_tipo_venta)))+" WHERE CAT_GP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)"))));
- //BA.debugLineNum = 2341;BA.debugLine="If c2.RowCount > 0 Then";
+ //BA.debugLineNum = 2345;BA.debugLine="If c2.RowCount > 0 Then";
if (_c2.getRowCount()>0) {
- //BA.debugLineNum = 2342;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 2346;BA.debugLine="c2.Position = 0";
_c2.setPosition((int) (0));
- //BA.debugLineNum = 2343;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"), \"";
+ //BA.debugLineNum = 2347;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"), \"";
_subs._guardaproducto /*String*/ (ba,_c2.GetString("CAT_GP_ID"),"0",BA.NumberToString(1),_c2.GetString("CAT_GP_NOMBRE"),_c2.GetString("CAT_GP_ID"),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ );
- //BA.debugLineNum = 2344;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select * f";
+ //BA.debugLineNum = 2348;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select * f";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)")));
- //BA.debugLineNum = 2345;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 2349;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 2346;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 2350;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step7 = 1;
final int limit7 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit7 ;_i = _i + step7 ) {
- //BA.debugLineNum = 2347;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 2351;BA.debugLine="c.Position = i";
_c.setPosition(_i);
- //BA.debugLineNum = 2348;BA.debugLine="Private pn As String = Subs.traeProdNombre(c.G";
+ //BA.debugLineNum = 2352;BA.debugLine="Private pn As String = Subs.traeProdNombre(c.G";
_pn = _subs._traeprodnombre /*String*/ (ba,_c.GetString("CAT_DP_IDPROD"));
- //BA.debugLineNum = 2349;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"),";
+ //BA.debugLineNum = 2353;BA.debugLine="Subs.guardaProducto(c2.GetString(\"CAT_GP_ID\"),";
_subs._guardaproducto /*String*/ (ba,_c2.GetString("CAT_GP_ID"),_c.GetString("CAT_DP_PRECIO"),_c.GetString("CAT_DP_PZAS"),_pn,_c.GetString("CAT_DP_IDPROD"),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ );
}
};
};
- //BA.debugLineNum = 2352;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2356;BA.debugLine="c.Close";
_c.Close();
};
- //BA.debugLineNum = 2354;BA.debugLine="c2.Close";
+ //BA.debugLineNum = 2358;BA.debugLine="c2.Close";
_c2.Close();
- //BA.debugLineNum = 2355;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2359;BA.debugLine="End Sub";
return "";
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_promos.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_promos.java
index 57d1a99..5995be2 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_promos.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_promos.java
@@ -83,9 +83,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -153,7 +153,7 @@ _tpr = BA.NumberToString(0);
_prodsfijostot = (float) (_prodsfijostot+((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_tpr))));
//BA.debugLineNum = 666;BA.debugLine="If thisLog Then Log(\"|\"&tpi&\"|\"&p)";
if (_thislog) {
-__c.LogImpl("741680924","|"+_tpi+"|"+_p,0);};
+__c.LogImpl("442926108","|"+_tpi+"|"+_p,0);};
//BA.debugLineNum = 667;BA.debugLine="Private ntpi As Int = tpi * et_promoCant.text";
_ntpi = (int) ((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_et_promocant.getText())));
//BA.debugLineNum = 668;BA.debugLine="If addListItem And tpi > 0 Then lv_prodsFijos.Ad";
@@ -180,7 +180,7 @@ gunav2.keymon.com.mx.c_productos _prodspage = null;
//BA.debugLineNum = 1012;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 1013;BA.debugLine="Log(\"============================================";
-__c.LogImpl("742532866","====================================================================",0);
+__c.LogImpl("443778050","====================================================================",0);
//BA.debugLineNum = 1014;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro";
{
final int step3 = 1;
@@ -464,7 +464,7 @@ _prodsvarreq = (int) (_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getT
//BA.debugLineNum = 965;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text";
_prodsvarreq2 = (int) (_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText()))));
//BA.debugLineNum = 966;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P";
-__c.LogImpl("742401823",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
+__c.LogImpl("443647007",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
};
//BA.debugLineNum = 968;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom";
if ((double)(Double.parseDouble(_et_promocant.getText()))>_maxcantpromos) {
@@ -494,7 +494,7 @@ _prodsvarreq = (int) (_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getT
//BA.debugLineNum = 930;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text.";
_prodsvarreq2 = (int) (_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText()))));
//BA.debugLineNum = 931;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, Pr";
-__c.LogImpl("742336266",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
+__c.LogImpl("443581450",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0);
//BA.debugLineNum = 932;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 933;BA.debugLine="End Sub";
@@ -507,7 +507,7 @@ String _pn = "";
//BA.debugLineNum = 973;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 974;BA.debugLine="Log(\"============================================";
-__c.LogImpl("742467330","====================================================================",0);
+__c.LogImpl("443712514","====================================================================",0);
//BA.debugLineNum = 975;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro";
{
final int step3 = 1;
@@ -584,7 +584,7 @@ _montopedidoactual = BA.ObjectToString(_m.Get((Object)("monto")));
if ((_lapromo).equals("") == false) {
_muestrapromo(_lapromo,_elcliente);};
//BA.debugLineNum = 478;BA.debugLine="Log(laPromo)";
-__c.LogImpl("741549837",_lapromo,0);
+__c.LogImpl("442795021",_lapromo,0);
//BA.debugLineNum = 479;BA.debugLine="End Sub";
return "";
}
@@ -825,7 +825,7 @@ _pf = (int) (0) ;
for (;_pf <= limit10 ;_pf = _pf + step10 ) {
//BA.debugLineNum = 851;BA.debugLine="If thisLog Then Log($\"${tcpf} + ${prodsCants.Get";
if (_thislog) {
-__c.LogImpl("742205199",(""+__c.SmartStringFormatter("",(Object)(_tcpf))+" + "+__c.SmartStringFormatter("",_prodscants.Get(_pf))+" * "+__c.SmartStringFormatter("",_prodsprecios.Get(_pf))+" = "+__c.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf))))))+""),0);};
+__c.LogImpl("443450383",(""+__c.SmartStringFormatter("",(Object)(_tcpf))+" + "+__c.SmartStringFormatter("",_prodscants.Get(_pf))+" * "+__c.SmartStringFormatter("",_prodsprecios.Get(_pf))+" = "+__c.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf))))))+""),0);};
//BA.debugLineNum = 852;BA.debugLine="tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants";
_tcpf = (float) (_tcpf+((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf)))));
}
@@ -868,7 +868,7 @@ if ((double)(Double.parseDouble(_cant1.getText()))>0) {
_totalcompra = (float) (_totalcompra+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText()))));
//BA.debugLineNum = 870;BA.debugLine="If thisLog Then Log($\"Cant: ${cant1.Text}, Suma";
if (_thislog) {
-__c.LogImpl("742205218",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
+__c.LogImpl("443450402",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
//BA.debugLineNum = 871;BA.debugLine="prodsIds2.Add(esteTag.Get(2))";
_prodsids2.Add(_estetag.Get((int) (2)));
//BA.debugLineNum = 872;BA.debugLine="prodsCants2.Add(cant1.Text)";
@@ -913,7 +913,7 @@ if ((double)(Double.parseDouble(_cant2.getText()))>0) {
_totalcompra = (float) (_totalcompra+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText()))));
//BA.debugLineNum = 890;BA.debugLine="If thisLog Then Log($\"Cant: ${cant2.Text}, Suma";
if (_thislog) {
-__c.LogImpl("742205238",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
+__c.LogImpl("443450422",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);};
//BA.debugLineNum = 891;BA.debugLine="prodsIds2.Add(esteTag.Get(2))";
_prodsids2.Add(_estetag.Get((int) (2)));
//BA.debugLineNum = 892;BA.debugLine="prodsCants2.Add(cant2.Text)";
@@ -929,7 +929,7 @@ _l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormat
};
//BA.debugLineNum = 899;BA.debugLine="If thisLog Then Log($\"Total Prods: ${totalProds},";
if (_thislog) {
-__c.LogImpl("742205247",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);};
+__c.LogImpl("443450431",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);};
//BA.debugLineNum = 900;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$";
_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+"")));
//BA.debugLineNum = 901;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$";
@@ -948,17 +948,17 @@ _b_continuar.setVisible(__c.True);
};
//BA.debugLineNum = 911;BA.debugLine="If thisLog Then LogColor($\"${prodsIds}${CRLF}${pr";
if (_thislog) {
-__c.LogImpl("742205259",(""+__c.SmartStringFormatter("",(Object)(_prodsids.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios.getObject()))+""),__c.Colors.Blue);};
+__c.LogImpl("443450443",(""+__c.SmartStringFormatter("",(Object)(_prodsids.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios.getObject()))+""),__c.Colors.Blue);};
//BA.debugLineNum = 912;BA.debugLine="If thisLog Then LogColor($\"${prodsIds2}${CRLF}${p";
if (_thislog) {
-__c.LogImpl("742205260",(""+__c.SmartStringFormatter("",(Object)(_prodsids2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios2.getObject()))+""),__c.Colors.Magenta);};
+__c.LogImpl("443450444",(""+__c.SmartStringFormatter("",(Object)(_prodsids2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios2.getObject()))+""),__c.Colors.Magenta);};
//BA.debugLineNum = 914;BA.debugLine="End Sub";
return "";
}
public String _et_pcant_focuschanged(boolean _hasfocus) throws Exception{
//BA.debugLineNum = 916;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo";
//BA.debugLineNum = 917;BA.debugLine="LogColor(\"focus changed\", Colors.Magenta)";
-__c.LogImpl("742270721","focus changed",__c.Colors.Magenta);
+__c.LogImpl("443515905","focus changed",__c.Colors.Magenta);
//BA.debugLineNum = 918;BA.debugLine="cuentaProds";
_cuentaprods();
//BA.debugLineNum = 919;BA.debugLine="End Sub";
@@ -1018,10 +1018,10 @@ _invdisppromo = new anywheresoftware.b4a.objects.collections.Map();
_invdisppromo = _subs._traemosinventariodisponibleparapromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_promo);
//BA.debugLineNum = 491;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods";
if (_thislog) {
-__c.LogImpl("741615369","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);};
+__c.LogImpl("442860553","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);};
//BA.debugLineNum = 492;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods";
if (_thislog) {
-__c.LogImpl("741615370","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);};
+__c.LogImpl("442860554","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);};
//BA.debugLineNum = 493;BA.debugLine="maxCantPromos = Subs.revisaMaxPromosProdsVariable";
_maxcantpromos = _subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp);
//BA.debugLineNum = 494;BA.debugLine="et_promoCant.Text = 1";
@@ -1065,10 +1065,10 @@ _cs = new anywheresoftware.b4a.objects.CSBuilder();
_cs.Initialize();
//BA.debugLineNum = 521;BA.debugLine="If thisLog Then Log(mp)";
if (_thislog) {
-__c.LogImpl("741615399",BA.ObjectToString(_mp),0);};
+__c.LogImpl("442860583",BA.ObjectToString(_mp),0);};
//BA.debugLineNum = 522;BA.debugLine="If thisLog Then Log(prodsPromo)";
if (_thislog) {
-__c.LogImpl("741615400",BA.ObjectToString(_prodspromo),0);};
+__c.LogImpl("442860584",BA.ObjectToString(_prodspromo),0);};
//BA.debugLineNum = 523;BA.debugLine="Private listaPV As List = mp.Get(\"prodsVariables\"";
_listapv = new anywheresoftware.b4a.objects.collections.List();
_listapv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables"))));
@@ -1093,7 +1093,7 @@ _pv2 = new anywheresoftware.b4a.objects.collections.List();
_pv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables2"))));
//BA.debugLineNum = 537;BA.debugLine="If thisLog Then Log(mp)";
if (_thislog) {
-__c.LogImpl("741615415",BA.ObjectToString(_mp),0);};
+__c.LogImpl("442860599",BA.ObjectToString(_mp),0);};
//BA.debugLineNum = 538;BA.debugLine="tpf = 0";
_tpf = (int) (0);
//BA.debugLineNum = 539;BA.debugLine="For Each pfp As Int In mp.Get(\"prodsFijosPiezas\")";
@@ -1150,20 +1150,20 @@ _lv_prodsfijos.Clear();
_agregafijosalista(_mp,__c.True);
//BA.debugLineNum = 567;BA.debugLine="If thisLog Then Log(\"Total prods fijos = \" & prod";
if (_thislog) {
-__c.LogImpl("741615445","Total prods fijos = "+BA.NumberToString(_prodsfijostot),0);};
+__c.LogImpl("442860629","Total prods fijos = "+BA.NumberToString(_prodsfijostot),0);};
//BA.debugLineNum = 569;BA.debugLine="l_totProds.text = $\"Productos: ${tpf}\"$";
_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_tpf))+"")));
//BA.debugLineNum = 570;BA.debugLine="l_total.Text = $\"Total: $$1.2{prodsFijosTot}\"$";
_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_prodsfijostot))+"")));
//BA.debugLineNum = 576;BA.debugLine="If thisLog Then Log($\"PV1: ${pv.Size}, ${pv}\"$)";
if (_thislog) {
-__c.LogImpl("741615454",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);};
+__c.LogImpl("442860638",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);};
//BA.debugLineNum = 577;BA.debugLine="If thisLog Then Log($\"PV2: ${pv2.Size}, ${pv2}\"$)";
if (_thislog) {
-__c.LogImpl("741615455",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);};
+__c.LogImpl("442860639",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);};
//BA.debugLineNum = 578;BA.debugLine="If thisLog Then Log(\"invDisp=\" & invDispPromo)";
if (_thislog) {
-__c.LogImpl("741615456","invDisp="+BA.ObjectToString(_invdisppromo),0);};
+__c.LogImpl("442860640","invDisp="+BA.ObjectToString(_invdisppromo),0);};
//BA.debugLineNum = 579;BA.debugLine="clv_prodsVariabes.Clear";
_clv_prodsvariabes._clear();
//BA.debugLineNum = 580;BA.debugLine="clv_prodsVariabes2.Clear";
@@ -1187,7 +1187,7 @@ _thisprod = new anywheresoftware.b4a.objects.collections.Map();
_thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p))));
//BA.debugLineNum = 591;BA.debugLine="If thisLog Then Log(thisProd)";
if (_thislog) {
-__c.LogImpl("741615469",BA.ObjectToString(_thisprod),0);};
+__c.LogImpl("442860653",BA.ObjectToString(_thisprod),0);};
//BA.debugLineNum = 592;BA.debugLine="clv_prodsVariabes.Add(CreateListItem(Subs.traeP";
_clv_prodsvariabes._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),_clv_prodsvariabes._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p));
};
@@ -1212,7 +1212,7 @@ _thisprod = new anywheresoftware.b4a.objects.collections.Map();
_thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p))));
//BA.debugLineNum = 611;BA.debugLine="If thisLog Then Log(thisProd)";
if (_thislog) {
-__c.LogImpl("741615489",BA.ObjectToString(_thisprod),0);};
+__c.LogImpl("442860673",BA.ObjectToString(_thisprod),0);};
//BA.debugLineNum = 612;BA.debugLine="clv_prodsVariabes2.Add(CreateListItem2(Subs.tra";
_clv_prodsvariabes2._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),_clv_prodsvariabes2._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p));
};
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_ticketsdia.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_ticketsdia.java
index 3c69cd2..87bb504 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_ticketsdia.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_ticketsdia.java
@@ -39,9 +39,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -134,12 +134,12 @@ for (;_i <= limit29 ;_i = _i + step29 ) {
//BA.debugLineNum = 194;BA.debugLine="c.Position=i";
_c.setPosition(_i);
//BA.debugLineNum = 195;BA.debugLine="Log(C.GetString(\"PC_CLIENTE\"))";
-__c.LogImpl("732505889",_c.GetString("PC_CLIENTE"),0);
+__c.LogImpl("444302369",_c.GetString("PC_CLIENTE"),0);
//BA.debugLineNum = 196;BA.debugLine="Private s3 As Cursor=B4XPages.MainPage.skmt.Ex";
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE = ? and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{_c.GetString("PC_CLIENTE"),"","null"})));
//BA.debugLineNum = 197;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)";
-__c.LogImpl("732505891",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow);
+__c.LogImpl("444302371",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow);
//BA.debugLineNum = 198;BA.debugLine="If s3.RowCount > 0 Then";
if (_s3.getRowCount()>0) {
//BA.debugLineNum = 199;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Ex";
@@ -184,7 +184,7 @@ _listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.Ob
_s.Close();
}else if(_s3.getRowCount()==0) {
//BA.debugLineNum = 221;BA.debugLine="Log(s3.RowCount)";
-__c.LogImpl("732505915",BA.NumberToString(_s3.getRowCount()),0);
+__c.LogImpl("444302395",BA.NumberToString(_s3.getRowCount()),0);
//BA.debugLineNum = 222;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Ex";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select iFNULL(sum(pe_costo_tot),0) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE = ?",new String[]{_c.GetString("PC_CLIENTE")})));
@@ -217,13 +217,13 @@ _label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typefac
//BA.debugLineNum = 238;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface";
_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD));
//BA.debugLineNum = 239;BA.debugLine="Log(c.GetString(\"PC_CLIENTE\"))";
-__c.LogImpl("732505933",_c.GetString("PC_CLIENTE"),0);
+__c.LogImpl("444302413",_c.GetString("PC_CLIENTE"),0);
//BA.debugLineNum = 240;BA.debugLine="Log(c.GetString(\"NOMBRE\"))";
-__c.LogImpl("732505934",_c.GetString("NOMBRE"),0);
+__c.LogImpl("444302414",_c.GetString("NOMBRE"),0);
//BA.debugLineNum = 241;BA.debugLine="Log(s.GetString(\"CANT_CLIE\"))";
-__c.LogImpl("732505935",_s.GetString("CANT_CLIE"),0);
+__c.LogImpl("444302415",_s.GetString("CANT_CLIE"),0);
//BA.debugLineNum = 242;BA.debugLine="Log(c.GetString(\"PC_CLIENTE\"))";
-__c.LogImpl("732505936",_c.GetString("PC_CLIENTE"),0);
+__c.LogImpl("444302416",_c.GetString("PC_CLIENTE"),0);
//BA.debugLineNum = 243;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE";
_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+_s.GetString("CANT_CLIE")+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,_c.GetString("PC_CLIENTE"))));
//BA.debugLineNum = 244;BA.debugLine="s.Close";
@@ -275,7 +275,7 @@ _c.setPosition(_i);
_s3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * FROM PEDIDO WHERE PE_CLIENTE = ? and PE_RECALCULO <> ? OR PE_RECALCULO <> ? OR PE_RECALCULO IS NOT NULL",new String[]{_c.GetString("PC_CLIENTE"),"","null"})));
//BA.debugLineNum = 76;BA.debugLine="LogColor(s3.RowCount,Colors.Yellow)";
-__c.LogImpl("732243730",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow);
+__c.LogImpl("444040210",BA.NumberToString(_s3.getRowCount()),__c.Colors.Yellow);
//BA.debugLineNum = 77;BA.debugLine="If s3.RowCount > 0 Then";
if (_s3.getRowCount()>0) {
//BA.debugLineNum = 79;BA.debugLine="Private s As Cursor=B4XPages.MainPage.skmt.Exe";
@@ -315,7 +315,7 @@ _label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typefac
//BA.debugLineNum = 100;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.";
_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD));
//BA.debugLineNum = 101;BA.debugLine="Log(1)";
-__c.LogImpl("732243755",BA.NumberToString(1),0);
+__c.LogImpl("444040235",BA.NumberToString(1),0);
//BA.debugLineNum = 103;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\"";
_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+BA.NumberToString(((double)(Double.parseDouble(_s.GetString("CANT_CLIE")))+(double)(Double.parseDouble(_s5.GetString("CANT_CLIE")))))+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,_c.GetString("PC_CLIENTE"))));
//BA.debugLineNum = 104;BA.debugLine="s.Close";
@@ -353,7 +353,7 @@ _label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typefac
//BA.debugLineNum = 122;BA.debugLine="label2.Typeface = Typeface.CreateNew(Typeface.";
_label2.setTypeface(__c.Typeface.CreateNew(__c.Typeface.DEFAULT_BOLD,__c.Typeface.STYLE_BOLD));
//BA.debugLineNum = 123;BA.debugLine="Log(2)";
-__c.LogImpl("732243777",BA.NumberToString(2),0);
+__c.LogImpl("444040257",BA.NumberToString(2),0);
//BA.debugLineNum = 124;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\"";
_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+_s.GetString("CANT_CLIE")+" SubTotal $"+_subs._calculatotalconpromoxrango /*String*/ (ba,_c.GetString("PC_CLIENTE"))));
//BA.debugLineNum = 125;BA.debugLine="s.Close";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/c_updateavailable.java b/B4A/Objects/src/gunav2/keymon/com/mx/c_updateavailable.java
index 53f7686..d8fe6ad 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/c_updateavailable.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/c_updateavailable.java
@@ -30,9 +30,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -123,7 +123,7 @@ case 9:
this.state = 10;
this.catchState = 0;
//BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException";
-parent.__c.LogImpl("742795018","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
+parent.__c.LogImpl("444630026","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0);
if (true) break;
if (true) break;
;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/cameraexclass.java b/B4A/Objects/src/gunav2/keymon/com/mx/cameraexclass.java
index 5c908dc..543975d 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/cameraexclass.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/cameraexclass.java
@@ -35,9 +35,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -78,7 +78,7 @@ if (_success) {
_takepicture();
}else {
//BA.debugLineNum = 279;BA.debugLine="Log(\"AutoFocus error.\")";
-__c.LogImpl("745219844","AutoFocus error.",0);
+__c.LogImpl("447054852","AutoFocus error.",0);
};
//BA.debugLineNum = 281;BA.debugLine="End Sub";
return "";
@@ -116,7 +116,7 @@ _parameters = _r.RunMethod("getParameters");
_setdisplayorientation();
}else {
//BA.debugLineNum = 90;BA.debugLine="Log(\"success = false, \" & LastException)";
-__c.LogImpl("743319304","success = false, "+BA.ObjectToString(__c.LastException(ba)),0);
+__c.LogImpl("445154312","success = false, "+BA.ObjectToString(__c.LastException(ba)),0);
};
//BA.debugLineNum = 92;BA.debugLine="CallSub2(target, event & \"_ready\", Success)";
__c.CallSubNew2(ba,_target,_event+"_ready",(Object)(_success));
@@ -169,7 +169,7 @@ _r.RunMethod4("setParameters",new Object[]{_parameters},new String[]{"android.ha
ba.setLastException(e5); //BA.debugLineNum = 142;BA.debugLine="ToastMessageShow(\"Error setting parameters.\", Tr";
__c.ToastMessageShow(BA.ObjectToCharSequence("Error setting parameters."),__c.True);
//BA.debugLineNum = 143;BA.debugLine="Log(LastException)";
-__c.LogImpl("743974662",BA.ObjectToString(__c.LastException(ba)),0);
+__c.LogImpl("445809670",BA.ObjectToString(__c.LastException(ba)),0);
};
//BA.debugLineNum = 145;BA.debugLine="End Sub";
return "";
@@ -489,7 +489,7 @@ _setfocusmode("continuous-picture");
_setfocusmode("continuous-video");
}else {
//BA.debugLineNum = 249;BA.debugLine="Log(\"Continuous focus mode is not availabl";
-__c.LogImpl("744892167","Continuous focus mode is not available",0);
+__c.LogImpl("446727175","Continuous focus mode is not available",0);
};
//BA.debugLineNum = 251;BA.debugLine="End Sub";
return "";
@@ -533,7 +533,7 @@ _previewresult = (int) ((_orientation-_degrees+360)%360);
//BA.debugLineNum = 72;BA.debugLine="result = previewResult";
_result = _previewresult;
//BA.debugLineNum = 73;BA.debugLine="Log(previewResult)";
-__c.LogImpl("743253776",BA.NumberToString(_previewresult),0);
+__c.LogImpl("445088784",BA.NumberToString(_previewresult),0);
};
//BA.debugLineNum = 75;BA.debugLine="r.target = nativeCam";
_r.Target = _nativecam;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/cl_appupdate.java b/B4A/Objects/src/gunav2/keymon/com/mx/cl_appupdate.java
index cc95eae..e17c928 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/cl_appupdate.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/cl_appupdate.java
@@ -64,9 +64,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -219,7 +219,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor";
-parent.__c.LogImpl("958916865","---- AppUpdating.DownloadApk",parent._logcolor1);
+parent.__c.LogImpl("960227585","---- AppUpdating.DownloadApk",parent._logcolor1);
//BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then";
if (true) break;
@@ -248,7 +248,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
-parent.__c.LogImpl("958916869",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
+parent.__c.LogImpl("960227589",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
if (true) break;
case 9:
@@ -285,7 +285,7 @@ this.state = 11;
_j = (gunav2.keymon.com.mx.httpjob) result[0];
;
//BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)";
-parent.__c.LogImpl("958916880",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
+parent.__c.LogImpl("960227600",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
//BA.debugLineNum = 175;BA.debugLine="If j.Success Then";
if (true) break;
@@ -310,7 +310,7 @@ parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftwar
//BA.debugLineNum = 180;BA.debugLine="out.Close";
_out.Close();
//BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)";
-parent.__c.LogImpl("958916887",("Copy2 (saving) ok? TRUE"),0);
+parent.__c.LogImpl("960227607",("Copy2 (saving) ok? TRUE"),0);
//BA.debugLineNum = 182;BA.debugLine="sStatusCode = OK_DOWNLOAD";
parent._sstatuscode = parent._ok_download;
//BA.debugLineNum = 183;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow";
@@ -326,7 +326,7 @@ this.state = 16;
case 16:
//C
this.state = 19;
-parent.__c.LogImpl("958916889",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
+parent.__c.LogImpl("960227609",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
if (true) break;
case 19:
@@ -339,7 +339,7 @@ case 21:
//C
this.state = 22;
//BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
-parent.__c.LogImpl("958916891",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
+parent.__c.LogImpl("960227611",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
//BA.debugLineNum = 186;BA.debugLine="sStatusCode = ERR_HTTP";
parent._sstatuscode = parent._err_http;
//BA.debugLineNum = 187;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2";
@@ -355,7 +355,7 @@ this.state = 24;
case 24:
//C
this.state = 27;
-parent.__c.LogImpl("958916893",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
+parent.__c.LogImpl("960227613",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 27:
@@ -682,14 +682,14 @@ _usefileprovider = __c.False;
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
};
//BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro";
-__c.LogImpl("957933845",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0);
+__c.LogImpl("959244565",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0);
//BA.debugLineNum = 70;BA.debugLine="End Sub";
return "";
}
public String _installapk(boolean _pstatus) throws Exception{
//BA.debugLineNum = 195;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)";
//BA.debugLineNum = 196;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1";
-__c.LogImpl("958982401","---- AppUpdating.InstallApk",_logcolor1);
+__c.LogImpl("960293121","---- AppUpdating.InstallApk",_logcolor1);
//BA.debugLineNum = 197;BA.debugLine="If pstatus Then";
if (_pstatus) {
//BA.debugLineNum = 198;BA.debugLine="SendInstallIntent";
@@ -698,13 +698,13 @@ _sendinstallintent();
_sstatuscode = _ok_install;
//BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal";
if (_sverbose) {
-__c.LogImpl("958982405",__c.TAB+"user asked to install new apk",0);};
+__c.LogImpl("960293125",__c.TAB+"user asked to install new apk",0);};
}else {
//BA.debugLineNum = 202;BA.debugLine="sStatusCode = ERR_NOPERM";
_sstatuscode = _err_noperm;
//BA.debugLineNum = 203;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from";
if (_sverbose) {
-__c.LogImpl("958982408",__c.TAB+"no permissions from user to install new apk",0);};
+__c.LogImpl("960293128",__c.TAB+"no permissions from user to install new apk",0);};
};
//BA.debugLineNum = 205;BA.debugLine="Finito";
_finito();
@@ -722,7 +722,7 @@ _curver = "";
_sstatuscode = _err_nopkg;
//BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam";
if (_sverbose) {
-__c.LogImpl("959244548",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);};
+__c.LogImpl("960555268",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);};
}else {
//BA.debugLineNum = 303;BA.debugLine="Dim pm As PackageManager";
_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper();
@@ -732,7 +732,7 @@ _curver = _pm.GetVersionName(_spackagename);
_sstatuscode = _ok_curver;
//BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${";
if (_sverbose) {
-__c.LogImpl("959244553",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);};
+__c.LogImpl("960555273",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);};
};
//BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)";
if (true) return (_sstatuscode==_ok_curver);
@@ -763,7 +763,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")";
-parent.__c.LogImpl("959310081","IsValidComplete start",0);
+parent.__c.LogImpl("960620801","IsValidComplete start",0);
//BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then";
if (true) break;
@@ -796,7 +796,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
-parent.__c.LogImpl("959310085",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
+parent.__c.LogImpl("960620805",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0);
if (true) break;
case 9:
@@ -819,7 +819,7 @@ _j._password /*String*/ = parent._supassword;
//BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo";
_j._download /*String*/ (parent._snewvertxt);
//BA.debugLineNum = 325;BA.debugLine="Log(\"before\")";
-parent.__c.LogImpl("959310093","before",0);
+parent.__c.LogImpl("960620813","before",0);
//BA.debugLineNum = 326;BA.debugLine="Wait For (j) JobDone(j As HttpJob)";
parent.__c.WaitFor("jobdone", ba, this, (Object)(_j));
this.state = 61;
@@ -830,7 +830,7 @@ this.state = 12;
_j = (gunav2.keymon.com.mx.httpjob) result[0];
;
//BA.debugLineNum = 327;BA.debugLine="Log(\"after\")";
-parent.__c.LogImpl("959310095","after",0);
+parent.__c.LogImpl("960620815","after",0);
//BA.debugLineNum = 328;BA.debugLine="If j.Success Then";
if (true) break;
@@ -859,7 +859,7 @@ this.state = 17;
case 17:
//C
this.state = 20;
-parent.__c.LogImpl("959310097",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0);
+parent.__c.LogImpl("960620817",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0);
if (true) break;
case 20:
@@ -917,7 +917,7 @@ this.state = 29;
case 29:
//C
this.state = 32;
-parent.__c.LogImpl("959310104",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
+parent.__c.LogImpl("960620824",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0);
if (true) break;
case 32:
@@ -944,7 +944,7 @@ this.state = 37;
case 37:
//C
this.state = 40;
-parent.__c.LogImpl("959310107",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
+parent.__c.LogImpl("960620827",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0);
if (true) break;
case 40:
@@ -977,7 +977,7 @@ this.state = 46;
case 46:
//C
this.state = 49;
-parent.__c.LogImpl("959310111",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
+parent.__c.LogImpl("960620831",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0);
if (true) break;
case 49:
@@ -996,7 +996,7 @@ case 52:
//C
this.state = 53;
//BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
-parent.__c.LogImpl("959310114",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
+parent.__c.LogImpl("960620834",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
//BA.debugLineNum = 347;BA.debugLine="sStatusCode = ERR_HTTP";
parent._sstatuscode = parent._err_http;
//BA.debugLineNum = 348;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils";
@@ -1012,7 +1012,7 @@ this.state = 55;
case 55:
//C
this.state = 58;
-parent.__c.LogImpl("959310116",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
+parent.__c.LogImpl("960620836",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 58:
@@ -1048,7 +1048,7 @@ if (true) break;
public String _readcurvn() throws Exception{
//BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN";
//BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)";
-__c.LogImpl("958785793","---- AppUpdating.ReadCurVN",_logcolor1);
+__c.LogImpl("960096513","---- AppUpdating.ReadCurVN",_logcolor1);
//BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu";
_isvalidcv();
//BA.debugLineNum = 146;BA.debugLine="Finito";
@@ -1079,7 +1079,7 @@ case 0:
//C
this.state = -1;
//BA.debugLineNum = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)";
-parent.__c.LogImpl("958851329","---- AppUpdating.ReadWebVN",parent._logcolor1);
+parent.__c.LogImpl("960162049","---- AppUpdating.ReadWebVN",parent._logcolor1);
//BA.debugLineNum = 153;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean";
parent.__c.WaitFor("complete", ba, this, parent._isvalidwv());
this.state = 1;
@@ -1242,7 +1242,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)";
-parent.__c.LogImpl("959113473",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1);
+parent.__c.LogImpl("960424193",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1);
//BA.debugLineNum = 248;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW";
if (true) break;
@@ -1276,7 +1276,7 @@ this.state = 4;
_j = (gunav2.keymon.com.mx.httpjob) result[0];
;
//BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)";
-parent.__c.LogImpl("959113483",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
+parent.__c.LogImpl("960424203",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0);
//BA.debugLineNum = 257;BA.debugLine="If j.Success Then";
if (true) break;
@@ -1315,7 +1315,7 @@ parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftwar
//BA.debugLineNum = 263;BA.debugLine="out.Close";
_out.Close();
//BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)";
-parent.__c.LogImpl("959113491",("Copy2 (saving) ok? TRUE"),0);
+parent.__c.LogImpl("960424211",("Copy2 (saving) ok? TRUE"),0);
//BA.debugLineNum = 265;BA.debugLine="sStatusCode = OK_DOWNLOAD";
parent._sstatuscode = parent._ok_download;
//BA.debugLineNum = 266;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d";
@@ -1331,7 +1331,7 @@ this.state = 12;
case 12:
//C
this.state = 15;
-parent.__c.LogImpl("959113493",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
+parent.__c.LogImpl("960424213",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0);
if (true) break;
case 15:
@@ -1345,7 +1345,7 @@ case 17:
this.state = 18;
this.catchState = 0;
//BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)";
-parent.__c.LogImpl("959113495",("Copy2 (saving) ok? FALSE"),0);
+parent.__c.LogImpl("960424215",("Copy2 (saving) ok? FALSE"),0);
//BA.debugLineNum = 269;BA.debugLine="sStatusCode = ERR_DOWNLOAD";
parent._sstatuscode = parent._err_download;
//BA.debugLineNum = 270;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o";
@@ -1361,7 +1361,7 @@ this.state = 20;
case 20:
//C
this.state = 23;
-parent.__c.LogImpl("959113497",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
+parent.__c.LogImpl("960424217",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0);
if (true) break;
case 23:
@@ -1384,7 +1384,7 @@ case 26:
//C
this.state = 27;
//BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)";
-parent.__c.LogImpl("959113501",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
+parent.__c.LogImpl("960424221",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0);
//BA.debugLineNum = 275;BA.debugLine="sStatusCode = ERR_HTTP";
parent._sstatuscode = parent._err_http;
//BA.debugLineNum = 276;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils";
@@ -1400,7 +1400,7 @@ this.state = 29;
case 29:
//C
this.state = 32;
-parent.__c.LogImpl("959113503",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
+parent.__c.LogImpl("960424223",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0);
if (true) break;
case 32:
@@ -1447,7 +1447,7 @@ this.state = 39;
case 39:
//C
this.state = 42;
-parent.__c.LogImpl("959113510",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
+parent.__c.LogImpl("960424230",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0);
if (true) break;
case 42:
@@ -1508,7 +1508,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)";
-parent.__c.LogImpl("959047937","---- AppUpdating.UpdateApk",parent._logcolor1);
+parent.__c.LogImpl("960358657","---- AppUpdating.UpdateApk",parent._logcolor1);
//BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then";
if (true) break;
@@ -1539,7 +1539,7 @@ this.state = 6;
case 6:
//C
this.state = 9;
-parent.__c.LogImpl("959047940",parent.__c.TAB+"no permissions from user to install new apk",0);
+parent.__c.LogImpl("960358660",parent.__c.TAB+"no permissions from user to install new apk",0);
if (true) break;
case 9:
@@ -1631,7 +1631,7 @@ this.state = 26;
case 26:
//C
this.state = 29;
-parent.__c.LogImpl("959047950",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
+parent.__c.LogImpl("960358670",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0);
if (true) break;
case 29:
@@ -1673,7 +1673,7 @@ this.state = 36;
case 36:
//C
this.state = 39;
-parent.__c.LogImpl("959047955",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
+parent.__c.LogImpl("960358675",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0);
if (true) break;
case 39:
@@ -1708,7 +1708,7 @@ this.state = 45;
case 45:
//C
this.state = 48;
-parent.__c.LogImpl("959047958",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
+parent.__c.LogImpl("960358678",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0);
if (true) break;
case 48:
@@ -1747,7 +1747,7 @@ this.state = 55;
case 55:
//C
this.state = 58;
-parent.__c.LogImpl("959047963",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
+parent.__c.LogImpl("960358683",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0);
if (true) break;
case 58:
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/cpdf.java b/B4A/Objects/src/gunav2/keymon/com/mx/cpdf.java
index e3f67b2..5cfc0c3 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/cpdf.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/cpdf.java
@@ -93,9 +93,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -1676,7 +1676,7 @@ public gunav2.keymon.com.mx.cpdf _savetofile(String _adir,String _afile,int _ac
anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outputstream = null;
//BA.debugLineNum = 605;BA.debugLine="public Sub saveToFile(adir As String, afile As Str";
//BA.debugLineNum = 606;BA.debugLine="Log(afile)";
-__c.LogImpl("747382529",_afile,0);
+__c.LogImpl("449217537",_afile,0);
//BA.debugLineNum = 607;BA.debugLine="File.Delete(adir,afile)";
__c.File.Delete(_adir,_afile);
//BA.debugLineNum = 608;BA.debugLine="Dim outputstream As OutputStream=File.OpenOutput(";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/dbrequestmanager.java b/B4A/Objects/src/gunav2/keymon/com/mx/dbrequestmanager.java
index 2bdce4f..09b4932 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/dbrequestmanager.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/dbrequestmanager.java
@@ -49,9 +49,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -376,7 +376,7 @@ _in.Close();
//BA.debugLineNum = 250;BA.debugLine="If jobTagAnterior <> table.Tag Then";
if ((_jobtaganterior).equals(BA.ObjectToString(_table.Tag /*Object*/ )) == false) {
//BA.debugLineNum = 251;BA.debugLine="LogColor(\"HandleJob: '\"&table.Tag&\"'\" & \" - Regi";
-__c.LogImpl("750200617","HandleJob: '"+BA.ObjectToString(_table.Tag /*Object*/ )+"'"+" - Registros: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.RGB((int) (115),(int) (0),(int) (140)));
+__c.LogImpl("452035625","HandleJob: '"+BA.ObjectToString(_table.Tag /*Object*/ )+"'"+" - Registros: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.RGB((int) (115),(int) (0),(int) (140)));
};
//BA.debugLineNum = 253;BA.debugLine="jobTagAnterior = table.Tag 'Mod por CHV - 211109";
_jobtaganterior = BA.ObjectToString(_table.Tag /*Object*/ );
@@ -418,7 +418,7 @@ Object[] _row = null;
Object _record = null;
//BA.debugLineNum = 286;BA.debugLine="Public Sub PrintTable(Table As DBResult)";
//BA.debugLineNum = 287;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C";
-__c.LogImpl("750462721","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
+__c.LogImpl("452297729","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0);
//BA.debugLineNum = 288;BA.debugLine="Dim sb As StringBuilder";
_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper();
//BA.debugLineNum = 289;BA.debugLine="sb.Initialize";
@@ -436,7 +436,7 @@ _sb.Append(BA.ObjectToString(_col)).Append(__c.TAB);
}
};
//BA.debugLineNum = 293;BA.debugLine="Log(sb.ToString)";
-__c.LogImpl("750462727",_sb.ToString(),0);
+__c.LogImpl("452297735",_sb.ToString(),0);
//BA.debugLineNum = 294;BA.debugLine="For Each row() As Object In Table.Rows";
{
final anywheresoftware.b4a.BA.IterableList group8 = _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
@@ -462,7 +462,7 @@ _sb.Append(BA.ObjectToString(_record)).Append(__c.TAB);
}
};
//BA.debugLineNum = 300;BA.debugLine="Log(sb.ToString)";
-__c.LogImpl("750462734",_sb.ToString(),0);
+__c.LogImpl("452297742",_sb.ToString(),0);
}
};
//BA.debugLineNum = 302;BA.debugLine="End Sub";
@@ -662,7 +662,7 @@ return null;
public String _trackinit() throws Exception{
//BA.debugLineNum = 331;BA.debugLine="Sub trackInit 'ignore";
//BA.debugLineNum = 332;BA.debugLine="Log(\">>>>>>>>> TRACKINIT \")";
-__c.LogImpl("750593793",">>>>>>>>> TRACKINIT ",0);
+__c.LogImpl("452428801",">>>>>>>>> TRACKINIT ",0);
//BA.debugLineNum = 333;BA.debugLine="reqsList.Initialize";
_reqslist.Initialize();
//BA.debugLineNum = 334;BA.debugLine="timesList.Initialize";
@@ -699,9 +699,9 @@ _timeslist.RemoveAt(_pos);
_quitamos = ("Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+" - ");
};
//BA.debugLineNum = 351;BA.debugLine="LogColor(\">>>>>> Requests: \" & reqsList.Size & \"";
-__c.LogImpl("750659340",">>>>>> Requests: "+BA.NumberToString(_reqslist.getSize())+" - "+_quitamos+BA.ObjectToString(_reqslist),__c.Colors.Blue);
+__c.LogImpl("452494348",">>>>>> Requests: "+BA.NumberToString(_reqslist.getSize())+" - "+_quitamos+BA.ObjectToString(_reqslist),__c.Colors.Blue);
//BA.debugLineNum = 352;BA.debugLine="LogColor(\">>>>>> inicioRequestMap:\" & inicioRequ";
-__c.LogImpl("750659341",">>>>>> inicioRequestMap:"+BA.NumberToString(_iniciorequestmap.getSize())+" - "+BA.ObjectToString(_iniciorequestmap),__c.Colors.Magenta);
+__c.LogImpl("452494349",">>>>>> inicioRequestMap:"+BA.NumberToString(_iniciorequestmap.getSize())+" - "+BA.ObjectToString(_iniciorequestmap),__c.Colors.Magenta);
};
//BA.debugLineNum = 354;BA.debugLine="End Sub";
return "";
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/escposprinter.java b/B4A/Objects/src/gunav2/keymon/com/mx/escposprinter.java
index 414a322..7472d74 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/escposprinter.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/escposprinter.java
@@ -62,9 +62,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -105,7 +105,7 @@ if (__c.SubExists(ba,_callback,_eventname+"_NewData")) {
__c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer));
};
//BA.debugLineNum = 1138;BA.debugLine="Log(\"Data \" & Buffer(0))";
-__c.LogImpl("754198276","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
+__c.LogImpl("456033284","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
//BA.debugLineNum = 1139;BA.debugLine="End Sub";
return "";
}
@@ -214,7 +214,7 @@ _l = new anywheresoftware.b4a.objects.collections.List();
//BA.debugLineNum = 109;BA.debugLine="l.Initialize";
_l.Initialize();
//BA.debugLineNum = 110;BA.debugLine="Log(\"aqui 1\")";
-__c.LogImpl("751052554","aqui 1",0);
+__c.LogImpl("452887562","aqui 1",0);
//BA.debugLineNum = 111;BA.debugLine="For i = 0 To PairedDevices.Size - 1";
{
final int step8 = 1;
@@ -224,7 +224,7 @@ for (;_i <= limit8 ;_i = _i + step8 ) {
//BA.debugLineNum = 112;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))";
_l.Add(_paireddevices.GetKeyAt(_i));
//BA.debugLineNum = 113;BA.debugLine="Log(\"aqui 2\")";
-__c.LogImpl("751052557","aqui 2",0);
+__c.LogImpl("452887565","aqui 2",0);
//BA.debugLineNum = 114;BA.debugLine="DisConnect";
_disconnect();
}
@@ -244,10 +244,10 @@ if (true) return __c.True;
//BA.debugLineNum = 123;BA.debugLine="DisConnect";
_disconnect();
//BA.debugLineNum = 124;BA.debugLine="Log(\"aqui 3\")";
-__c.LogImpl("751052568","aqui 3",0);
+__c.LogImpl("452887576","aqui 3",0);
};
//BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")";
-__c.LogImpl("751052570","aqui 4",0);
+__c.LogImpl("452887578","aqui 4",0);
//BA.debugLineNum = 127;BA.debugLine="Return False";
if (true) return __c.False;
}else {
@@ -258,12 +258,12 @@ if (true) return __c.True;
//BA.debugLineNum = 132;BA.debugLine="DisConnect";
_disconnect();
//BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")";
-__c.LogImpl("751052577","aqui 5",0);
+__c.LogImpl("452887585","aqui 5",0);
};
}
catch (Exception e31) {
ba.setLastException(e31); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)";
-__c.LogImpl("751052580",BA.ObjectToString(__c.LastException(getActivityBA())),0);
+__c.LogImpl("452887588",BA.ObjectToString(__c.LastException(getActivityBA())),0);
//BA.debugLineNum = 137;BA.debugLine="Return False";
if (true) return __c.False;
};
@@ -432,22 +432,22 @@ _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0)
//BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then";
if (_shape==3) {
//BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)";
-__c.LogImpl("752363306","Triangle "+_logmsg,0);
+__c.LogImpl("454198314","Triangle "+_logmsg,0);
//BA.debugLineNum = 447;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi";
_plottriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill);
}else if(_shape==2) {
//BA.debugLineNum = 449;BA.debugLine="Log(\"Circle \" & logmsg)";
-__c.LogImpl("752363309","Circle "+_logmsg,0);
+__c.LogImpl("454198317","Circle "+_logmsg,0);
//BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)";
_plotcircle(_x0,_y0,_x1,_y1,_points,_fill);
}else if(_shape==1) {
//BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)";
-__c.LogImpl("752363312","Box "+_logmsg,0);
+__c.LogImpl("454198320","Box "+_logmsg,0);
//BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)";
_plotbox(_x0,_y0,_x1,_y1,_points,_fill);
}else {
//BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)";
-__c.LogImpl("752363315","Line "+_logmsg,0);
+__c.LogImpl("454198323","Line "+_logmsg,0);
//BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)";
_plotline(_x0,_y0,_x1,_y1,_points);
};
@@ -1950,7 +1950,7 @@ _databytes = _data.getBytes("ASCII");
//BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length";
_dlow = _databytes.length;
//BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \",";
-__c.LogImpl("754001667","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
+__c.LogImpl("455836675","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
//BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt";
_writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0))));
//BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte";
@@ -1988,7 +1988,7 @@ _dhigh = (int) (_databytes.length/(double)256);
//BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256";
_dlow = (int) (_databytes.length-_dhigh*256);
//BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \",";
-__c.LogImpl("754067204","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
+__c.LogImpl("455902212","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
//BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte";
_params = new byte[(int) (3)];
;
@@ -2025,7 +2025,7 @@ _astream.Write(_data.getBytes(_encoding));
}
catch (Exception e6) {
ba.setLastException(e6); //BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)";
-__c.LogImpl("752101126","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
+__c.LogImpl("453936134","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
//BA.debugLineNum = 306;BA.debugLine="AStream_Error";
_astream_error();
};
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/fileprovider.java b/B4A/Objects/src/gunav2/keymon/com/mx/fileprovider.java
index 5dab398..e19c473 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/fileprovider.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/fileprovider.java
@@ -31,9 +31,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -103,7 +103,7 @@ _usefileprovider = __c.False;
_sharedfolder = _rp.GetSafeDirDefaultExternal("shared");
};
//BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)";
-__c.LogImpl("969337098",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
+__c.LogImpl("970647818",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0);
//BA.debugLineNum = 19;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/firebasemessaging.java b/B4A/Objects/src/gunav2/keymon/com/mx/firebasemessaging.java
index 662430a..8c974b1 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/firebasemessaging.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/firebasemessaging.java
@@ -141,8 +141,8 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
-public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
+public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -185,13 +185,13 @@ _su = new anywheresoftware.b4a.objects.StringUtils();
//BA.debugLineNum = 182;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)";
_compressed = _gzip.compress(_str);
//BA.debugLineNum = 183;BA.debugLine="Log($\"CompressedBytesLength: ${compressed.Length}";
-anywheresoftware.b4a.keywords.Common.LogImpl("755115780",("CompressedBytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_compressed.length))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456950788",("CompressedBytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_compressed.length))+""),0);
//BA.debugLineNum = 184;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed";
_base64 = _su.EncodeBase64(_compressed);
//BA.debugLineNum = 185;BA.debugLine="Log($\"CompressedBytes converted to base64 Length:";
-anywheresoftware.b4a.keywords.Common.LogImpl("755115782",("CompressedBytes converted to base64 Length: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456950790",("CompressedBytes converted to base64 Length: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
//BA.debugLineNum = 186;BA.debugLine="Log($\"CompressedBytes converted to base64: ${base";
-anywheresoftware.b4a.keywords.Common.LogImpl("755115783",("CompressedBytes converted to base64: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456950791",("CompressedBytes converted to base64: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64))+""),0);
//BA.debugLineNum = 187;BA.debugLine="Return base64";
if (true) return _base64;
//BA.debugLineNum = 188;BA.debugLine="End Sub";
@@ -202,7 +202,7 @@ String _ruta2 = "";
int _i = 0;
//BA.debugLineNum = 202;BA.debugLine="Sub dameRuta As String";
//BA.debugLineNum = 203;BA.debugLine="Log(\"dameRuta\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("755246849","dameRuta",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457081857","dameRuta",0);
//BA.debugLineNum = 204;BA.debugLine="Dim c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
//BA.debugLineNum = 205;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select LAT,";
@@ -244,15 +244,15 @@ _su = new anywheresoftware.b4a.objects.StringUtils();
//BA.debugLineNum = 193;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64";
_decompressedbytes = _su.DecodeBase64(_base64);
//BA.debugLineNum = 194;BA.debugLine="Log($\"decompressedbytesLength: ${decompressedbyte";
-anywheresoftware.b4a.keywords.Common.LogImpl("755181316",("decompressedbytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_decompressedbytes.length))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457016324",("decompressedbytesLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_decompressedbytes.length))+""),0);
//BA.debugLineNum = 195;BA.debugLine="Dim bc As ByteConverter";
_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter();
//BA.debugLineNum = 196;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d";
_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8");
//BA.debugLineNum = 197;BA.debugLine="Log($\"uncompressedLength: ${uncompressed.Length}\"";
-anywheresoftware.b4a.keywords.Common.LogImpl("755181319",("uncompressedLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457016327",("uncompressedLength: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
//BA.debugLineNum = 198;BA.debugLine="Log($\"Decompressed String = ${uncompressed}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("755181320",("Decompressed String = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457016328",("Decompressed String = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed))+""),0);
//BA.debugLineNum = 199;BA.debugLine="Return uncompressed";
if (true) return _uncompressed;
//BA.debugLineNum = 200;BA.debugLine="End Sub";
@@ -264,9 +264,9 @@ anywheresoftware.b4a.objects.collections.Map _params = null;
String _rutagpscmp = "";
//BA.debugLineNum = 72;BA.debugLine="Sub fm_MessageArrived (Message As RemoteMessage)";
//BA.debugLineNum = 73;BA.debugLine="Log(\"Message arrived\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657025","Message arrived",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492033","Message arrived",0);
//BA.debugLineNum = 74;BA.debugLine="Log($\"Message data: ${Message.GetData}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657026",("Message data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_message.GetData().getObject()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492034",("Message data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_message.GetData().getObject()))+""),0);
//BA.debugLineNum = 76;BA.debugLine="If Message.GetData.ContainsKey(\"t\") Then";
if (_message.GetData().ContainsKey((Object)("t"))) {
//BA.debugLineNum = 77;BA.debugLine="Dim tipos As List = Regex.Split(\",\",Message.GetD";
@@ -275,11 +275,11 @@ _tipos = anywheresoftware.b4a.keywords.Common.ArrayToList(anywheresoftware.b4a.k
//BA.debugLineNum = 78;BA.debugLine="If tipos.IndexOf(\"pu\") <> -1 Or tipos.IndexOf(\"a";
if (_tipos.IndexOf((Object)("pu"))!=-1 || _tipos.IndexOf((Object)("au"))!=-1) {
//BA.debugLineNum = 79;BA.debugLine="Log(\"Es una peticion de ubicacion\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657031","Es una peticion de ubicacion",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492039","Es una peticion de ubicacion",0);
//BA.debugLineNum = 80;BA.debugLine="locRequest=\"Activa\"";
_locrequest = "Activa";
//BA.debugLineNum = 81;BA.debugLine="Log(\"Llamamos StartFLPSmall\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657033","Llamamos StartFLPSmall",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492041","Llamamos StartFLPSmall",0);
//BA.debugLineNum = 82;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")";
anywheresoftware.b4a.keywords.Common.CallSubDelayed(processBA,(Object)(mostCurrent._tracker.getObject()),"StartFLPSmall");
//BA.debugLineNum = 83;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")";
@@ -293,9 +293,9 @@ _au = BA.NumberToString(1);
//BA.debugLineNum = 88;BA.debugLine="If tipos.IndexOf(\"ping\") <> -1 Then 'Si es un pi";
if (_tipos.IndexOf((Object)("ping"))!=-1) {
//BA.debugLineNum = 89;BA.debugLine="Log(\"Es un ping\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657041","Es un ping",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492049","Es un ping",0);
//BA.debugLineNum = 90;BA.debugLine="Log(\"Mandamos pong\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657042","Mandamos pong",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492050","Mandamos pong",0);
//BA.debugLineNum = 91;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t";
_params = new anywheresoftware.b4a.objects.collections.Map();
_params = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("topic"),(Object)(_sprvsr),(Object)("title"),(Object)("pong"),(Object)("body"),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._usuario /*String*/ +" - Recibi mensaje "+BA.ObjectToString(_message.GetData().Get((Object)("title")))),(Object)("t"),(Object)("pong")});
@@ -305,16 +305,16 @@ _sendmessage(_params);
//BA.debugLineNum = 94;BA.debugLine="If tipos.IndexOf(\"bgps\") <> -1 Then 'Si es una i";
if (_tipos.IndexOf((Object)("bgps"))!=-1) {
//BA.debugLineNum = 95;BA.debugLine="Log(\"Es una instruccion de borrar archivo gps\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657047","Es una instruccion de borrar archivo gps",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492055","Es una instruccion de borrar archivo gps",0);
//BA.debugLineNum = 96;BA.debugLine="Log(\"Borramos archivo gps\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657048","Borramos archivo gps",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492056","Borramos archivo gps",0);
//BA.debugLineNum = 97;BA.debugLine="borramosArchivoGPS";
_borramosarchivogps();
};
//BA.debugLineNum = 99;BA.debugLine="If tipos.IndexOf(\"dr\") <> -1 Then 'Si es una pet";
if (_tipos.IndexOf((Object)("dr"))!=-1) {
//BA.debugLineNum = 100;BA.debugLine="Log(\"Es una peticion de Ruta GPS\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657052","Es una peticion de Ruta GPS",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492060","Es una peticion de Ruta GPS",0);
//BA.debugLineNum = 101;BA.debugLine="Dim rutaGpsCmp As String = dameRuta";
_rutagpscmp = _dameruta();
//BA.debugLineNum = 102;BA.debugLine="Dim params As Map = CreateMap(\"topic\":Sprvsr,\"t";
@@ -326,16 +326,16 @@ _sendmessage(_params);
//BA.debugLineNum = 105;BA.debugLine="If tipos.IndexOf(\"bgps2\") <> -1 Then 'Si es una";
if (_tipos.IndexOf((Object)("bgps2"))!=-1) {
//BA.debugLineNum = 106;BA.debugLine="Log(\"Es una instruccion de borrar BD gps\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657058","Es una instruccion de borrar BD gps",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492066","Es una instruccion de borrar BD gps",0);
//BA.debugLineNum = 107;BA.debugLine="Log(\"Borramos BD gps\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657059","Borramos BD gps",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492067","Borramos BD gps",0);
//BA.debugLineNum = 108;BA.debugLine="borraGPSHist";
_borragpshist();
};
//BA.debugLineNum = 110;BA.debugLine="If tipos.IndexOf(\"pu\") = -1 And tipos.IndexOf(\"a";
if (_tipos.IndexOf((Object)("pu"))==-1 && _tipos.IndexOf((Object)("au"))==-1 && _tipos.IndexOf((Object)("ping"))==-1 && _tipos.IndexOf((Object)("dr"))==-1) {
//BA.debugLineNum = 111;BA.debugLine="Log(\"No es ping ni solicitud de ubicacion o rut";
-anywheresoftware.b4a.keywords.Common.LogImpl("754657063","No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456492071","No es ping ni solicitud de ubicacion o ruta, entonces no hacemos nada",0);
};
};
//BA.debugLineNum = 119;BA.debugLine="End Sub";
@@ -345,7 +345,7 @@ public static String _guardainfoenarchivo(String _coords) throws Exception{
String[] _latlon = null;
//BA.debugLineNum = 161;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore";
//BA.debugLineNum = 162;BA.debugLine="Log(\"Guardamos ubicacion en BD\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754919169","Guardamos ubicacion en BD",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456754177","Guardamos ubicacion en BD",0);
//BA.debugLineNum = 163;BA.debugLine="Dim latlon() As String = Regex.Split(\",\", coords)";
_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);
//BA.debugLineNum = 164;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
@@ -423,12 +423,12 @@ _tipo = BA.ObjectToString(_params.Get((Object)("t")));
//BA.debugLineNum = 130;BA.debugLine="If params.ContainsKey(\"r\") Then";
if (_params.ContainsKey((Object)("r"))) {
//BA.debugLineNum = 131;BA.debugLine="Log(\"Con ruta\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754788102","Con ruta",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456623110","Con ruta",0);
//BA.debugLineNum = 132;BA.debugLine="Dim rutaGpsCmp As String= params.Get(\"r\")";
_rutagpscmp = BA.ObjectToString(_params.Get((Object)("r")));
}else {
//BA.debugLineNum = 134;BA.debugLine="Log(\"Sin ruta\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("754788105","Sin ruta",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456623113","Sin ruta",0);
//BA.debugLineNum = 135;BA.debugLine="Dim rutaGpsCmp As String = \"\"";
_rutagpscmp = "";
};
@@ -455,7 +455,7 @@ _job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest
//BA.debugLineNum = 146;BA.debugLine="Job.GetRequest.SetHeader(\"Authorization\", \"key=\"";
_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ ().SetHeader("Authorization","key="+_api_key);
//BA.debugLineNum = 147;BA.debugLine="Log(m) 'ignore";
-anywheresoftware.b4a.keywords.Common.LogImpl("754788118",BA.ObjectToString(_m),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("456623126",BA.ObjectToString(_m),0);
//BA.debugLineNum = 148;BA.debugLine="End Sub";
return "";
}
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/httpjob.java b/B4A/Objects/src/gunav2/keymon/com/mx/httpjob.java
index 8d2f48e..15852a4 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/httpjob.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/httpjob.java
@@ -40,9 +40,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -125,7 +125,7 @@ _req.InitializeDelete(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("971237637",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("972548357",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)";
_req.InitializeDelete(_invalidurl);
};
@@ -144,7 +144,7 @@ _req.InitializeDelete(_escapelink(_link,_parameters));
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("971303173",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("972613893",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para";
_req.InitializeDelete(_escapelink(_invalidurl,_parameters));
};
@@ -163,7 +163,7 @@ _req.InitializeGet(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("971041029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("972351749",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)";
_req.InitializeGet(_invalidurl);
};
@@ -182,7 +182,7 @@ _req.InitializeGet(_escapelink(_link,_parameters));
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("971106565",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("972417285",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet";
_req.InitializeGet(_escapelink(_invalidurl,_parameters));
};
@@ -306,7 +306,7 @@ _req.InitializeHead(_link);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("970778885",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("972089605",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)";
_req.InitializeHead(_invalidurl);
};
@@ -360,7 +360,7 @@ _req.InitializePatch2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("970713356",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("972024076",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)";
_req.InitializePatch2(_invalidurl,_data);
};
@@ -386,7 +386,7 @@ _req.InitializePost2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("970451205",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("971761925",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)";
_req.InitializePost2(_invalidurl,_data);
};
@@ -407,7 +407,7 @@ _length = 0;
//BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then";
if ((_dir).equals(__c.File.getDirAssets())) {
//BA.debugLineNum = 198;BA.debugLine="Log(\"Cannot send files from the assets folder.\")";
-__c.LogImpl("970975496","Cannot send files from the assets folder.",0);
+__c.LogImpl("972286216","Cannot send files from the assets folder.",0);
//BA.debugLineNum = 199;BA.debugLine="Return";
if (true) return "";
};
@@ -544,7 +544,7 @@ _req.InitializePut2(_link,_data);
}
catch (Exception e5) {
ba.setLastException(e5); //BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)";
-__c.LogImpl("970582277",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
+__c.LogImpl("971892997",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0);
//BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)";
_req.InitializePut2(_invalidurl,_data);
};
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/httputils2service.java b/B4A/Objects/src/gunav2/keymon/com/mx/httputils2service.java
index 0894e37..69c97d2 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/httputils2service.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/httputils2service.java
@@ -52,9 +52,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -68,7 +68,7 @@ _job = (gunav2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid)));
//BA.debugLineNum = 157;BA.debugLine="If job = Null Then";
if (_job== null) {
//BA.debugLineNum = 158;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t";
-anywheresoftware.b4a.keywords.Common.LogImpl("770123526","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("471434246","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 159;BA.debugLine="Return";
if (true) return "";
};
@@ -87,7 +87,7 @@ public static String _hc_responseerror(anywheresoftware.b4h.okhttp.OkHttpClient
gunav2.keymon.com.mx.httpjob _job = null;
//BA.debugLineNum = 115;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,";
//BA.debugLineNum = 117;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:";
-anywheresoftware.b4a.keywords.Common.LogImpl("770057986",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("471368706",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0);
//BA.debugLineNum = 119;BA.debugLine="Response.Release";
_response.Release();
//BA.debugLineNum = 120;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)";
@@ -95,7 +95,7 @@ _job = (gunav2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid)));
//BA.debugLineNum = 121;BA.debugLine="If job = Null Then";
if (_job== null) {
//BA.debugLineNum = 122;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c";
-anywheresoftware.b4a.keywords.Common.LogImpl("770057991","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("471368711","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 123;BA.debugLine="Return";
if (true) return "";
};
@@ -121,7 +121,7 @@ _job = (gunav2.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid)));
//BA.debugLineNum = 94;BA.debugLine="If job = Null Then";
if (_job== null) {
//BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job";
-anywheresoftware.b4a.keywords.Common.LogImpl("769926915","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("471237635","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0);
//BA.debugLineNum = 96;BA.debugLine="Return";
if (true) return "";
};
@@ -183,9 +183,9 @@ anywheresoftware.b4a.keywords.Common.File.Delete(_tempfolder,"~test.test");
}
catch (Exception e6) {
processBA.setLastException(e6); //BA.debugLineNum = 34;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("769599239",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("470909959",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0);
//BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("769599240","Switching to File.DirInternal",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("470909960","Switching to File.DirInternal",0);
//BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal";
_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal();
};
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/madewithlove.java b/B4A/Objects/src/gunav2/keymon/com/mx/madewithlove.java
index e4dbd8a..679b3d3 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/madewithlove.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/madewithlove.java
@@ -33,9 +33,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/main.java b/B4A/Objects/src/gunav2/keymon/com/mx/main.java
index 3b6cc3a..6bca51e 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/main.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/main.java
@@ -340,9 +340,9 @@ public static boolean _actionbarhomeclicked = false;
public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -426,9 +426,9 @@ public static void initializeProcessGlobals() {
main._process_globals();
starter._process_globals();
subs._process_globals();
+mapa_rutas._process_globals();
appupdater._process_globals();
firebasemessaging._process_globals();
-mapa_rutas._process_globals();
tracker._process_globals();
newinst2._process_globals();
b4xpages._process_globals();
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/mapa_rutas.java b/B4A/Objects/src/gunav2/keymon/com/mx/mapa_rutas.java
index 7f9f9bc..594c1d1 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/mapa_rutas.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/mapa_rutas.java
@@ -466,91 +466,91 @@ _c.Close();
return "";
}
public static String _activity_pause(boolean _userclosed) throws Exception{
- //BA.debugLineNum = 269;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
- //BA.debugLineNum = 270;BA.debugLine="GPS.Stop";
+ //BA.debugLineNum = 401;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
+ //BA.debugLineNum = 402;BA.debugLine="GPS.Stop";
_gps.Stop();
- //BA.debugLineNum = 271;BA.debugLine="End Sub";
+ //BA.debugLineNum = 403;BA.debugLine="End Sub";
return "";
}
public static String _activity_resume() throws Exception{
- //BA.debugLineNum = 259;BA.debugLine="Sub Activity_Resume";
- //BA.debugLineNum = 261;BA.debugLine="If GPS.GPSEnabled = False Then";
+ //BA.debugLineNum = 391;BA.debugLine="Sub Activity_Resume";
+ //BA.debugLineNum = 393;BA.debugLine="If GPS.GPSEnabled = False Then";
if (_gps.getGPSEnabled()==anywheresoftware.b4a.keywords.Common.False) {
- //BA.debugLineNum = 262;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo";
+ //BA.debugLineNum = 394;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),anywheresoftware.b4a.keywords.Common.True);
- //BA.debugLineNum = 263;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)";
+ //BA.debugLineNum = 395;BA.debugLine="StartActivity(GPS.LocationSettingsIntent)";
anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_gps.getLocationSettingsIntent()));
}else {
- //BA.debugLineNum = 265;BA.debugLine="GPS.Start(0, 0)";
+ //BA.debugLineNum = 397;BA.debugLine="GPS.Start(0, 0)";
_gps.Start(processBA,(long) (0),(float) (0));
};
- //BA.debugLineNum = 267;BA.debugLine="End Sub";
+ //BA.debugLineNum = 399;BA.debugLine="End Sub";
return "";
}
public static String _b_azul_click() throws Exception{
- //BA.debugLineNum = 305;BA.debugLine="Sub B_AZUL_Click";
- //BA.debugLineNum = 306;BA.debugLine="azul = 1";
+ //BA.debugLineNum = 437;BA.debugLine="Sub B_AZUL_Click";
+ //BA.debugLineNum = 438;BA.debugLine="azul = 1";
mostCurrent._azul = BA.NumberToString(1);
- //BA.debugLineNum = 307;BA.debugLine="verde = 0";
+ //BA.debugLineNum = 439;BA.debugLine="verde = 0";
mostCurrent._verde = BA.NumberToString(0);
- //BA.debugLineNum = 308;BA.debugLine="rojo = 0";
+ //BA.debugLineNum = 440;BA.debugLine="rojo = 0";
mostCurrent._rojo = BA.NumberToString(0);
- //BA.debugLineNum = 309;BA.debugLine="todos = 0";
+ //BA.debugLineNum = 441;BA.debugLine="todos = 0";
mostCurrent._todos = BA.NumberToString(0);
- //BA.debugLineNum = 310;BA.debugLine="gmap.Clear";
+ //BA.debugLineNum = 442;BA.debugLine="gmap.Clear";
mostCurrent._gmap.Clear();
- //BA.debugLineNum = 312;BA.debugLine="MapFragment1_Ready";
+ //BA.debugLineNum = 444;BA.debugLine="MapFragment1_Ready";
_mapfragment1_ready();
- //BA.debugLineNum = 314;BA.debugLine="End Sub";
+ //BA.debugLineNum = 446;BA.debugLine="End Sub";
return "";
}
public static String _b_rojo_click() throws Exception{
- //BA.debugLineNum = 294;BA.debugLine="Sub B_ROJO_Click";
- //BA.debugLineNum = 295;BA.debugLine="rojo = 1";
+ //BA.debugLineNum = 426;BA.debugLine="Sub B_ROJO_Click";
+ //BA.debugLineNum = 427;BA.debugLine="rojo = 1";
mostCurrent._rojo = BA.NumberToString(1);
- //BA.debugLineNum = 296;BA.debugLine="verde = 0";
+ //BA.debugLineNum = 428;BA.debugLine="verde = 0";
mostCurrent._verde = BA.NumberToString(0);
- //BA.debugLineNum = 297;BA.debugLine="azul = 0";
+ //BA.debugLineNum = 429;BA.debugLine="azul = 0";
mostCurrent._azul = BA.NumberToString(0);
- //BA.debugLineNum = 298;BA.debugLine="todos = 0";
+ //BA.debugLineNum = 430;BA.debugLine="todos = 0";
mostCurrent._todos = BA.NumberToString(0);
- //BA.debugLineNum = 299;BA.debugLine="gmap.Clear";
+ //BA.debugLineNum = 431;BA.debugLine="gmap.Clear";
mostCurrent._gmap.Clear();
- //BA.debugLineNum = 301;BA.debugLine="MapFragment1_Ready";
+ //BA.debugLineNum = 433;BA.debugLine="MapFragment1_Ready";
_mapfragment1_ready();
- //BA.debugLineNum = 303;BA.debugLine="End Sub";
+ //BA.debugLineNum = 435;BA.debugLine="End Sub";
return "";
}
public static String _b_todos_click() throws Exception{
- //BA.debugLineNum = 274;BA.debugLine="Sub B_TODOS_Click";
- //BA.debugLineNum = 275;BA.debugLine="todos =1";
+ //BA.debugLineNum = 406;BA.debugLine="Sub B_TODOS_Click";
+ //BA.debugLineNum = 407;BA.debugLine="todos =1";
mostCurrent._todos = BA.NumberToString(1);
- //BA.debugLineNum = 276;BA.debugLine="verde = 0";
+ //BA.debugLineNum = 408;BA.debugLine="verde = 0";
mostCurrent._verde = BA.NumberToString(0);
- //BA.debugLineNum = 277;BA.debugLine="azul = 0";
+ //BA.debugLineNum = 409;BA.debugLine="azul = 0";
mostCurrent._azul = BA.NumberToString(0);
- //BA.debugLineNum = 278;BA.debugLine="rojo = 0";
+ //BA.debugLineNum = 410;BA.debugLine="rojo = 0";
mostCurrent._rojo = BA.NumberToString(0);
- //BA.debugLineNum = 280;BA.debugLine="MapFragment1_Ready";
+ //BA.debugLineNum = 412;BA.debugLine="MapFragment1_Ready";
_mapfragment1_ready();
- //BA.debugLineNum = 282;BA.debugLine="End Sub";
+ //BA.debugLineNum = 414;BA.debugLine="End Sub";
return "";
}
public static String _b_verde_click() throws Exception{
- //BA.debugLineNum = 284;BA.debugLine="Sub B_VERDE_Click";
- //BA.debugLineNum = 285;BA.debugLine="verde = 1";
+ //BA.debugLineNum = 416;BA.debugLine="Sub B_VERDE_Click";
+ //BA.debugLineNum = 417;BA.debugLine="verde = 1";
mostCurrent._verde = BA.NumberToString(1);
- //BA.debugLineNum = 286;BA.debugLine="azul = 0";
+ //BA.debugLineNum = 418;BA.debugLine="azul = 0";
mostCurrent._azul = BA.NumberToString(0);
- //BA.debugLineNum = 287;BA.debugLine="rojo = 0";
+ //BA.debugLineNum = 419;BA.debugLine="rojo = 0";
mostCurrent._rojo = BA.NumberToString(0);
- //BA.debugLineNum = 288;BA.debugLine="todos = 0";
+ //BA.debugLineNum = 420;BA.debugLine="todos = 0";
mostCurrent._todos = BA.NumberToString(0);
- //BA.debugLineNum = 289;BA.debugLine="gmap.Clear";
+ //BA.debugLineNum = 421;BA.debugLine="gmap.Clear";
mostCurrent._gmap.Clear();
- //BA.debugLineNum = 290;BA.debugLine="MapFragment1_Ready";
+ //BA.debugLineNum = 422;BA.debugLine="MapFragment1_Ready";
_mapfragment1_ready();
- //BA.debugLineNum = 292;BA.debugLine="End Sub";
+ //BA.debugLineNum = 424;BA.debugLine="End Sub";
return "";
}
public static String _globals() throws Exception{
@@ -630,10 +630,10 @@ mostCurrent._semana = "";
return "";
}
public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{
- //BA.debugLineNum = 238;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)";
- //BA.debugLineNum = 239;BA.debugLine="MARK_CEDIS.IsInitialized";
+ //BA.debugLineNum = 370;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)";
+ //BA.debugLineNum = 371;BA.debugLine="MARK_CEDIS.IsInitialized";
mostCurrent._mark_cedis.IsInitialized();
- //BA.debugLineNum = 257;BA.debugLine="End Sub";
+ //BA.debugLineNum = 389;BA.debugLine="End Sub";
return "";
}
public static void _mapfragment1_ready() throws Exception{
@@ -652,14 +652,10 @@ int _i = 0;
anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = null;
int step15;
int limit15;
-int step33;
-int limit33;
-int step46;
-int limit46;
-int step62;
-int limit62;
-int step75;
-int limit75;
+int step35;
+int limit35;
+int step52;
+int limit52;
@Override
public void resume(BA ba, Object[] result) throws Exception{
@@ -672,33 +668,33 @@ return;
case 0:
//C
this.state = 1;
- //BA.debugLineNum = 112;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("755574529","ENTRANDO MapFragment1_Ready",0);
- //BA.debugLineNum = 113;BA.debugLine="gmap = MapFragment1.GetMap";
+ //BA.debugLineNum = 226;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("430081139","ENTRANDO MapFragment1_Ready",0);
+ //BA.debugLineNum = 227;BA.debugLine="gmap = MapFragment1.GetMap";
parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap();
- //BA.debugLineNum = 114;BA.debugLine="gmap.IsInitialized";
+ //BA.debugLineNum = 228;BA.debugLine="gmap.IsInitialized";
parent.mostCurrent._gmap.IsInitialized();
- //BA.debugLineNum = 118;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA";
+ //BA.debugLineNum = 232;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA";
parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION);
- //BA.debugLineNum = 119;BA.debugLine="Wait For Activity_PermissionResult (Permission As";
+ //BA.debugLineNum = 233;BA.debugLine="Wait For Activity_PermissionResult (Permission As";
anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null);
-this.state = 76;
+this.state = 49;
return;
-case 76:
+case 49:
//C
this.state = 1;
_permission = (String) result[0];
_result = (Boolean) result[1];
;
- //BA.debugLineNum = 120;BA.debugLine="gmap.MyLocationEnabled = Result";
+ //BA.debugLineNum = 234;BA.debugLine="gmap.MyLocationEnabled = Result";
parent.mostCurrent._gmap.setMyLocationEnabled(_result);
- //BA.debugLineNum = 122;BA.debugLine="Dim JavaMapsObject As JavaObject";
+ //BA.debugLineNum = 236;BA.debugLine="Dim JavaMapsObject As JavaObject";
_javamapsobject = new anywheresoftware.b4j.object.JavaObject();
- //BA.debugLineNum = 123;BA.debugLine="JavaMapsObject = gmap.GetUiSettings";
+ //BA.debugLineNum = 237;BA.debugLine="JavaMapsObject = gmap.GetUiSettings";
_javamapsobject = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(parent.mostCurrent._gmap.GetUiSettings().getObject()));
- //BA.debugLineNum = 124;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\",";
+ //BA.debugLineNum = 238;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\",";
_javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)});
- //BA.debugLineNum = 126;BA.debugLine="If azul = 1 Or todos = 1 Then";
+ //BA.debugLineNum = 240;BA.debugLine="If azul = 1 Or todos = 1 Then";
if (true) break;
case 1:
@@ -711,13 +707,13 @@ this.state = 3;
case 3:
//C
this.state = 4;
- //BA.debugLineNum = 127;BA.debugLine="c.IsInitialized";
+ //BA.debugLineNum = 241;BA.debugLine="c.IsInitialized";
parent._c.IsInitialized();
- //BA.debugLineNum = 128;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO";
-parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info3 where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' ")));
- //BA.debugLineNum = 129;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)";
-parent._skmt.Initialize(parent._ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True);
- //BA.debugLineNum = 130;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 242;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO";
+parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG,CAT_CL_ORDENVISITA from kmt_info3 where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' ")));
+ //BA.debugLineNum = 244;BA.debugLine="Log($\"============== Resultados = ${c.RowCount}\"";
+anywheresoftware.b4a.keywords.Common.LogImpl("430081157",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+""),0);
+ //BA.debugLineNum = 245;BA.debugLine="If c.RowCount > 0 Then";
if (true) break;
case 4:
@@ -730,7 +726,7 @@ this.state = 6;
case 6:
//C
this.state = 7;
- //BA.debugLineNum = 131;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 246;BA.debugLine="For i = 0 To c.RowCount - 1";
if (true) break;
case 7:
@@ -739,29 +735,29 @@ this.state = 22;
step15 = 1;
limit15 = (int) (parent._c.getRowCount()-1);
_i = (int) (0) ;
-this.state = 77;
+this.state = 50;
if (true) break;
-case 77:
+case 50:
//C
this.state = 22;
if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 9;
if (true) break;
-case 78:
+case 51:
//C
-this.state = 77;
+this.state = 50;
_i = ((int)(0 + _i + step15)) ;
if (true) break;
case 9:
//C
this.state = 10;
- //BA.debugLineNum = 132;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 247;BA.debugLine="c.Position = i";
parent._c.setPosition(_i);
- //BA.debugLineNum = 134;BA.debugLine="LatitudRu = 0";
+ //BA.debugLineNum = 250;BA.debugLine="LatitudRu = 0";
parent._latitudru = 0;
- //BA.debugLineNum = 135;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu";
+ //BA.debugLineNum = 251;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu";
if (true) break;
case 10:
@@ -781,9 +777,9 @@ case 15:
//C
this.state = 16;
;
- //BA.debugLineNum = 136;BA.debugLine="LongitudRU = 0";
+ //BA.debugLineNum = 252;BA.debugLine="LongitudRU = 0";
parent._longitudru = 0;
- //BA.debugLineNum = 137;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then Longi";
+ //BA.debugLineNum = 253;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then Longi";
if (true) break;
case 16:
@@ -801,15 +797,17 @@ if (true) break;
case 21:
//C
-this.state = 78;
+this.state = 51;
;
- //BA.debugLineNum = 138;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")";
+ //BA.debugLineNum = 254;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")";
parent.mostCurrent._codigo = parent._c.GetString("CAT_CL_CODIGO");
- //BA.debugLineNum = 139;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")";
+ //BA.debugLineNum = 255;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")";
parent.mostCurrent._tienda = parent._c.GetString("CAT_CL_NOMBRE");
- //BA.debugLineNum = 140;BA.debugLine="MARK_AZUL = gmap.AddMarker2(LatitudRu, Longitu";
-parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_BLUE);
- //BA.debugLineNum = 141;BA.debugLine="MARK_AZUL.Snippet = Tienda";
+ //BA.debugLineNum = 256;BA.debugLine="NumSerie=c.GetInt(\"CAT_CL_ORDENVISITA\")";
+parent._numserie = parent._c.GetInt("CAT_CL_ORDENVISITA");
+ //BA.debugLineNum = 258;BA.debugLine="MARK_AZUL = gmap.AddMarker3(LatitudRu,Longitud";
+parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"marker-azul.png"),parent._numserie).getObject()));
+ //BA.debugLineNum = 259;BA.debugLine="MARK_AZUL.Snippet = Tienda";
parent.mostCurrent._mark_azul.setSnippet(parent.mostCurrent._tienda);
if (true) break;
if (true) break;
@@ -824,9 +822,9 @@ case 23:
//C
this.state = 24;
;
- //BA.debugLineNum = 144;BA.debugLine="c .Close";
+ //BA.debugLineNum = 262;BA.debugLine="c .Close";
parent._c.Close();
- //BA.debugLineNum = 147;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA";
+ //BA.debugLineNum = 264;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA";
if (true) break;
case 24:
@@ -848,350 +846,182 @@ this.state = 30;
;
if (true) break;
;
- //BA.debugLineNum = 150;BA.debugLine="If verde =1 Or todos = 1 Then";
+ //BA.debugLineNum = 267;BA.debugLine="If verde = 1 Or todos = 1 Then";
case 30:
//if
-this.state = 53;
+this.state = 41;
if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) {
this.state = 32;
-}else {
-this.state = 38;
}if (true) break;
case 32:
//C
this.state = 33;
- //BA.debugLineNum = 151;BA.debugLine="c2.IsInitialized";
+ //BA.debugLineNum = 268;BA.debugLine="c2.IsInitialized";
parent._c2.IsInitialized();
- //BA.debugLineNum = 152;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_";
-parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")));
- //BA.debugLineNum = 153;BA.debugLine="For i = 0 To c2.RowCount -1";
+ //BA.debugLineNum = 269;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_";
+parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_ORDENVISITA from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")));
+ //BA.debugLineNum = 270;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount}";
+anywheresoftware.b4a.keywords.Common.LogImpl("430081183",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0);
+ //BA.debugLineNum = 271;BA.debugLine="For i = 0 To c2.RowCount -1";
if (true) break;
case 33:
//for
-this.state = 36;
-step33 = 1;
-limit33 = (int) (parent._c2.getRowCount()-1);
+this.state = 40;
+step35 = 1;
+limit35 = (int) (parent._c2.getRowCount()-1);
_i = (int) (0) ;
-this.state = 79;
+this.state = 52;
if (true) break;
-case 79:
+case 52:
//C
-this.state = 36;
-if ((step33 > 0 && _i <= limit33) || (step33 < 0 && _i >= limit33)) this.state = 35;
+this.state = 40;
+if ((step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35)) this.state = 35;
if (true) break;
-case 80:
+case 53:
//C
-this.state = 79;
-_i = ((int)(0 + _i + step33)) ;
+this.state = 52;
+_i = ((int)(0 + _i + step35)) ;
if (true) break;
case 35:
//C
-this.state = 80;
- //BA.debugLineNum = 154;BA.debugLine="c2.Position = i";
+this.state = 36;
+ //BA.debugLineNum = 272;BA.debugLine="c2.Position = i";
parent._c2.setPosition(_i);
- //BA.debugLineNum = 155;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")";
-parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG")));
- //BA.debugLineNum = 156;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")";
-parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT")));
- //BA.debugLineNum = 157;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")";
-parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO");
- //BA.debugLineNum = 158;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")";
-parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE");
- //BA.debugLineNum = 159;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longitu";
-parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN);
- //BA.debugLineNum = 160;BA.debugLine="MARK_VERDE.Snippet = Tienda";
-parent.mostCurrent._mark_verde.setSnippet(parent.mostCurrent._tienda);
- if (true) break;
+ //BA.debugLineNum = 274;BA.debugLine="If IsNumber(c2.GetString(\"CAT_CL_LONG\")) Then";
if (true) break;
case 36:
-//C
-this.state = 53;
-;
- if (true) break;
+//if
+this.state = 39;
+if (anywheresoftware.b4a.keywords.Common.IsNumber(parent._c2.GetString("CAT_CL_LONG"))) {
+this.state = 38;
+}if (true) break;
case 38:
//C
this.state = 39;
- //BA.debugLineNum = 163;BA.debugLine="If verde =1 Or todos = 1 Then";
-if (true) break;
-
-case 39:
-//if
-this.state = 52;
-if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) {
-this.state = 41;
-}if (true) break;
-
-case 41:
-//C
-this.state = 42;
- //BA.debugLineNum = 164;BA.debugLine="c2.IsInitialized";
-parent._c2.IsInitialized();
- //BA.debugLineNum = 165;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL";
-parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")));
- //BA.debugLineNum = 166;BA.debugLine="For i = 0 To c2.RowCount -1";
-if (true) break;
-
-case 42:
-//for
-this.state = 45;
-step46 = 1;
-limit46 = (int) (parent._c2.getRowCount()-1);
-_i = (int) (0) ;
-this.state = 81;
-if (true) break;
-
-case 81:
-//C
-this.state = 45;
-if ((step46 > 0 && _i <= limit46) || (step46 < 0 && _i >= limit46)) this.state = 44;
-if (true) break;
-
-case 82:
-//C
-this.state = 81;
-_i = ((int)(0 + _i + step46)) ;
-if (true) break;
-
-case 44:
-//C
-this.state = 82;
- //BA.debugLineNum = 167;BA.debugLine="c2.Position = i";
-parent._c2.setPosition(_i);
- //BA.debugLineNum = 168;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")";
+ //BA.debugLineNum = 275;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")";
parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG")));
- //BA.debugLineNum = 169;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")";
+ //BA.debugLineNum = 276;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")";
parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT")));
- //BA.debugLineNum = 170;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")";
+ //BA.debugLineNum = 277;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")";
parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO");
- //BA.debugLineNum = 171;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")";
+ //BA.debugLineNum = 278;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")";
parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE");
- //BA.debugLineNum = 172;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit";
-parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN);
- //BA.debugLineNum = 173;BA.debugLine="MARK_VERDE.Snippet = Tienda";
+ //BA.debugLineNum = 279;BA.debugLine="NumSerie=c2.GetInt(\"CAT_CL_ORDENVISITA\")";
+parent._numserie = parent._c2.GetInt("CAT_CL_ORDENVISITA");
+ //BA.debugLineNum = 281;BA.debugLine="MARK_VERDE = gmap.AddMarker3(LatitudRu,Longitu";
+parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"marker-verde.png"),parent._numserie).getObject()));
+ //BA.debugLineNum = 282;BA.debugLine="MARK_VERDE.Snippet = Tienda";
parent.mostCurrent._mark_verde.setSnippet(parent.mostCurrent._tienda);
if (true) break;
-if (true) break;
-case 45:
-//C
-this.state = 46;
-;
- //BA.debugLineNum = 175;BA.debugLine="c2 .Close";
-parent._c2.Close();
- //BA.debugLineNum = 176;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add";
-if (true) break;
-
-case 46:
-//if
-this.state = 51;
-if (parent.mostCurrent._mark_verde.IsInitialized()) {
-this.state = 48;
-;}if (true) break;
-
-case 48:
-//C
-this.state = 51;
-parent.mostCurrent._list_verde.Add((Object)(parent.mostCurrent._mark_verde.getObject()));
-if (true) break;
-
-case 51:
-//C
-this.state = 52;
-;
- if (true) break;
-
-case 52:
+case 39:
//C
this.state = 53;
;
if (true) break;
-;
- //BA.debugLineNum = 181;BA.debugLine="If rojo =1 Or todos = 1 Then";
+if (true) break;
-case 53:
+case 40:
+//C
+this.state = 41;
+;
+ if (true) break;
+;
+ //BA.debugLineNum = 306;BA.debugLine="If rojo = 1 Or todos = 1 Then";
+
+case 41:
//if
-this.state = 75;
+this.state = 48;
if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) {
-this.state = 55;
-}else {
-this.state = 61;
+this.state = 43;
}if (true) break;
+case 43:
+//C
+this.state = 44;
+ //BA.debugLineNum = 307;BA.debugLine="c3.IsInitialized";
+parent._c3.IsInitialized();
+ //BA.debugLineNum = 308;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_";
+parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_ORDENVISITA from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")));
+ //BA.debugLineNum = 309;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount}";
+anywheresoftware.b4a.keywords.Common.LogImpl("430081222",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0);
+ //BA.debugLineNum = 310;BA.debugLine="For i = 0 To c3.RowCount -1";
+if (true) break;
+
+case 44:
+//for
+this.state = 47;
+step52 = 1;
+limit52 = (int) (parent._c3.getRowCount()-1);
+_i = (int) (0) ;
+this.state = 54;
+if (true) break;
+
+case 54:
+//C
+this.state = 47;
+if ((step52 > 0 && _i <= limit52) || (step52 < 0 && _i >= limit52)) this.state = 46;
+if (true) break;
+
case 55:
//C
-this.state = 56;
- //BA.debugLineNum = 182;BA.debugLine="c3.IsInitialized";
-parent._c3.IsInitialized();
- //BA.debugLineNum = 183;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_";
-parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")));
- //BA.debugLineNum = 184;BA.debugLine="For i = 0 To c3.RowCount -1";
+this.state = 54;
+_i = ((int)(0 + _i + step52)) ;
if (true) break;
-case 56:
-//for
-this.state = 59;
-step62 = 1;
-limit62 = (int) (parent._c3.getRowCount()-1);
-_i = (int) (0) ;
-this.state = 83;
-if (true) break;
-
-case 83:
+case 46:
//C
-this.state = 59;
-if ((step62 > 0 && _i <= limit62) || (step62 < 0 && _i >= limit62)) this.state = 58;
-if (true) break;
-
-case 84:
-//C
-this.state = 83;
-_i = ((int)(0 + _i + step62)) ;
-if (true) break;
-
-case 58:
-//C
-this.state = 84;
- //BA.debugLineNum = 185;BA.debugLine="c3.Position = i";
+this.state = 55;
+ //BA.debugLineNum = 311;BA.debugLine="c3.Position = i";
parent._c3.setPosition(_i);
- //BA.debugLineNum = 186;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")";
+ //BA.debugLineNum = 313;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")";
parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG");
- //BA.debugLineNum = 187;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")";
+ //BA.debugLineNum = 314;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")";
parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT");
- //BA.debugLineNum = 188;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")";
+ //BA.debugLineNum = 315;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")";
parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO");
- //BA.debugLineNum = 189;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")";
+ //BA.debugLineNum = 316;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")";
parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE");
- //BA.debugLineNum = 190;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitud";
-parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED);
- //BA.debugLineNum = 191;BA.debugLine="MARK_ROJO.Snippet = Tienda";
+ //BA.debugLineNum = 317;BA.debugLine="NumSerie=c3.GetInt(\"CAT_CL_ORDENVISITA\")";
+parent._numserie = parent._c3.GetInt("CAT_CL_ORDENVISITA");
+ //BA.debugLineNum = 319;BA.debugLine="MARK_ROJO = gmap.AddMarker3(LatitudRu,LongitudR";
+parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker3(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,(android.graphics.Bitmap)(parent.mostCurrent._subs._createbitmapwithnumber /*anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper*/ (mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.LoadBitmap(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"marker-rojo.png"),parent._numserie).getObject()));
+ //BA.debugLineNum = 320;BA.debugLine="MARK_ROJO.Snippet = Tienda";
parent.mostCurrent._mark_rojo.setSnippet(parent.mostCurrent._tienda);
if (true) break;
if (true) break;
-case 59:
+case 47:
//C
-this.state = 75;
+this.state = 48;
;
if (true) break;
-case 61:
-//C
-this.state = 62;
- //BA.debugLineNum = 194;BA.debugLine="If rojo =1 Or todos = 1 Then";
-if (true) break;
-
-case 62:
-//if
-this.state = 74;
-if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) {
-this.state = 64;
-}if (true) break;
-
-case 64:
-//C
-this.state = 65;
- //BA.debugLineNum = 195;BA.debugLine="c3.IsInitialized";
-parent._c3.IsInitialized();
- //BA.debugLineNum = 196;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL";
-parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info3 where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0")));
- //BA.debugLineNum = 197;BA.debugLine="For i = 0 To c3.RowCount -1";
-if (true) break;
-
-case 65:
-//for
-this.state = 68;
-step75 = 1;
-limit75 = (int) (parent._c3.getRowCount()-1);
-_i = (int) (0) ;
-this.state = 85;
-if (true) break;
-
-case 85:
-//C
-this.state = 68;
-if ((step75 > 0 && _i <= limit75) || (step75 < 0 && _i >= limit75)) this.state = 67;
-if (true) break;
-
-case 86:
-//C
-this.state = 85;
-_i = ((int)(0 + _i + step75)) ;
-if (true) break;
-
-case 67:
-//C
-this.state = 86;
- //BA.debugLineNum = 198;BA.debugLine="c3.Position = i";
-parent._c3.setPosition(_i);
- //BA.debugLineNum = 199;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")";
-parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG");
- //BA.debugLineNum = 200;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")";
-parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT");
- //BA.debugLineNum = 201;BA.debugLine="CODIGO=c3.GetString(\"CAT_CL_CODIGO\")";
-parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO");
- //BA.debugLineNum = 202;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")";
-parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE");
- //BA.debugLineNum = 203;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitu";
-parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED);
- //BA.debugLineNum = 204;BA.debugLine="MARK_ROJO.Snippet = Tienda";
-parent.mostCurrent._mark_rojo.setSnippet(parent.mostCurrent._tienda);
- if (true) break;
-if (true) break;
-;
- //BA.debugLineNum = 206;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M";
-
-case 68:
-//if
-this.state = 73;
-if (parent.mostCurrent._mark_rojo.IsInitialized()) {
-this.state = 70;
-;}if (true) break;
-
-case 70:
-//C
-this.state = 73;
-parent.mostCurrent._list_rojo.Add((Object)(parent.mostCurrent._mark_rojo.getObject()));
-if (true) break;
-
-case 73:
-//C
-this.state = 74;
-;
- //BA.debugLineNum = 207;BA.debugLine="c3.Close";
-parent._c3.Close();
- if (true) break;
-
-case 74:
-//C
-this.state = 75;
-;
- if (true) break;
-
-case 75:
+case 48:
//C
this.state = -1;
;
- //BA.debugLineNum = 216;BA.debugLine="Dim aa As CameraPosition";
+ //BA.debugLineNum = 347;BA.debugLine="Dim aa As CameraPosition";
_aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper();
- //BA.debugLineNum = 217;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN";
+ //BA.debugLineNum = 348;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN";
_aa.Initialize(parent._latitudru,parent._longitudru,(float) (15));
- //BA.debugLineNum = 218;BA.debugLine="gmap.AnimateCamera(aa)";
+ //BA.debugLineNum = 349;BA.debugLine="gmap.AnimateCamera(aa)";
parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject()));
- //BA.debugLineNum = 221;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli";
+ //BA.debugLineNum = 352;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli";
parent.mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener();
- //BA.debugLineNum = 222;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind";
+ //BA.debugLineNum = 353;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind";
parent.mostCurrent._oninfowindowclicklistener1.Initialize(mostCurrent.activityBA,"OnInfoWindowClickListener1");
- //BA.debugLineNum = 223;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,";
+ //BA.debugLineNum = 354;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,";
parent.mostCurrent._googlemapextra.SetOnInfoWindowClickListener((com.google.android.gms.maps.GoogleMap)(parent.mostCurrent._gmap.getObject()),(com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener)(parent.mostCurrent._oninfowindowclicklistener1.getObject()));
- //BA.debugLineNum = 225;BA.debugLine="End Sub";
+ //BA.debugLineNum = 357;BA.debugLine="End Sub";
if (true) break;
}
@@ -1201,16 +1031,16 @@ if (true) break;
public static void _activity_permissionresult(String _permission,boolean _result) throws Exception{
}
public static String _oninfowindowclicklistener1_click(anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marker1) throws Exception{
- //BA.debugLineNum = 230;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma";
- //BA.debugLineNum = 231;BA.debugLine="skmt.ExecNonQuery(\"delete from CUENTAA\")";
+ //BA.debugLineNum = 362;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma";
+ //BA.debugLineNum = 363;BA.debugLine="skmt.ExecNonQuery(\"delete from CUENTAA\")";
_skmt.ExecNonQuery("delete from CUENTAA");
- //BA.debugLineNum = 232;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CUENTAA VALUES (?";
+ //BA.debugLineNum = 364;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CUENTAA VALUES (?";
_skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marker1.getTitle())}));
- //BA.debugLineNum = 233;BA.debugLine="Activity.Finish";
+ //BA.debugLineNum = 365;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
- //BA.debugLineNum = 234;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
+ //BA.debugLineNum = 366;BA.debugLine="B4XPages.ShowPage(\"Cliente\")";
mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente");
- //BA.debugLineNum = 235;BA.debugLine="End Sub";
+ //BA.debugLineNum = 367;BA.debugLine="End Sub";
return "";
}
public static String _process_globals() throws Exception{
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/newinst2.java b/B4A/Objects/src/gunav2/keymon/com/mx/newinst2.java
index 6c0eb11..3fbb2d9 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/newinst2.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/newinst2.java
@@ -135,9 +135,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null;
@@ -157,7 +157,7 @@ public static String _myappreload() throws Exception{
//BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload";
//BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:";
if (_svcverbose) {
-anywheresoftware.b4a.keywords.Common.LogImpl("760555265","-- AppUpdating.NewInst2: processing MyAppReload",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("461865985","-- AppUpdating.NewInst2: processing MyAppReload",0);};
//BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then";
if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) {
//BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")";
@@ -180,7 +180,7 @@ return "";
public static String _service_create() throws Exception{
//BA.debugLineNum = 13;BA.debugLine="Sub Service_Create";
//BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea";
-anywheresoftware.b4a.keywords.Common.LogImpl("760293121","---- AppUpdating.newinst2: service created",_logcolor1);
+anywheresoftware.b4a.keywords.Common.LogImpl("461603841","---- AppUpdating.newinst2: service created",_logcolor1);
//BA.debugLineNum = 15;BA.debugLine="pkg = \"\"";
_pkg = "";
//BA.debugLineNum = 16;BA.debugLine="svcVerbose = False";
@@ -196,28 +196,28 @@ return "";
public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{
//BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)";
//BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star";
-anywheresoftware.b4a.keywords.Common.LogImpl("760358657","---- AppUpdating.newinst2: service_started",_logcolor1);
+anywheresoftware.b4a.keywords.Common.LogImpl("461669377","---- AppUpdating.newinst2: service_started",_logcolor1);
//BA.debugLineNum = 21;BA.debugLine="If svcVerbose Then";
if (_svcverbose) {
//BA.debugLineNum = 22;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("760358659",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("461669379",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0);
//BA.debugLineNum = 23;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("760358660",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("461669380",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0);
//BA.debugLineNum = 24;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri";
-anywheresoftware.b4a.keywords.Common.LogImpl("760358661",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("461669381",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0);
//BA.debugLineNum = 25;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("760358662",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("461669382",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0);
};
//BA.debugLineNum = 27;BA.debugLine="If StartingIntent.Action = \"android.intent.action";
if ((_startingintent.getAction()).equals("android.intent.action.MY_PACKAGE_REPLACED")) {
//BA.debugLineNum = 28;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE";
if (_svcverbose) {
-anywheresoftware.b4a.keywords.Common.LogImpl("760358665",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("461669385",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);};
//BA.debugLineNum = 29;BA.debugLine="pkg = GetPackageName";
_pkg = _getpackagename();
//BA.debugLineNum = 30;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$";
if (_svcverbose) {
-anywheresoftware.b4a.keywords.Common.LogImpl("760358667",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("461669387",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);};
//BA.debugLineNum = 31;BA.debugLine="MyAppReload";
_myappreload();
};
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/preoptimizedclv.java b/B4A/Objects/src/gunav2/keymon/com/mx/preoptimizedclv.java
index 5a1b736..3c8f988 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/preoptimizedclv.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/preoptimizedclv.java
@@ -48,9 +48,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/roundslider.java b/B4A/Objects/src/gunav2/keymon/com/mx/roundslider.java
index e490227..daa766a 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/roundslider.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/roundslider.java
@@ -49,9 +49,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/scrollinglabel.java b/B4A/Objects/src/gunav2/keymon/com/mx/scrollinglabel.java
index 9a287f0..d577996 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/scrollinglabel.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/scrollinglabel.java
@@ -40,9 +40,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/starter.java b/B4A/Objects/src/gunav2/keymon/com/mx/starter.java
index 29f60f6..f824abe 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/starter.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/starter.java
@@ -158,9 +158,9 @@ public static boolean _encliente = false;
public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -194,7 +194,7 @@ public static String _btadmin_statechanged(int _newstate,int _oldstate) throws
//BA.debugLineNum = 63;BA.debugLine="Private Sub BTAdmin_StateChanged (NewState As Int,";
//BA.debugLineNum = 64;BA.debugLine="If logger Then Log(\"BT state changed: \" & NewStat";
if (_logger) {
-anywheresoftware.b4a.keywords.Common.LogImpl("7720897","BT state changed: "+BA.NumberToString(_newstate),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("4720897","BT state changed: "+BA.NumberToString(_newstate),0);};
//BA.debugLineNum = 65;BA.debugLine="BluetoothState = NewState = BTAdmin.STATE_ON";
_bluetoothstate = _newstate==_btadmin.STATE_ON;
//BA.debugLineNum = 67;BA.debugLine="End Sub";
@@ -209,7 +209,7 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _s8 = null;
int _totalpaquete = 0;
//BA.debugLineNum = 101;BA.debugLine="Sub ENVIA_ULTIMA_GPS";
//BA.debugLineNum = 102;BA.debugLine="LogColor(\"Iniciamos ENVIA_ULTIMA_GPS\", Colors.Mag";
-anywheresoftware.b4a.keywords.Common.LogImpl("71114113","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("41114113","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
//BA.debugLineNum = 103;BA.debugLine="Dim skmt As SQL";
_skmt = new anywheresoftware.b4a.sql.SQL();
//BA.debugLineNum = 104;BA.debugLine="Dim cmd As DBCommand";
@@ -238,7 +238,7 @@ for (;_sfsdf <= limit11 ;_sfsdf = _sfsdf + step11 ) {
//BA.debugLineNum = 116;BA.debugLine="s7.Position= sfsdf";
_s7.setPosition(_sfsdf);
//BA.debugLineNum = 117;BA.debugLine="Log(\"ENTRE AQUI\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("71114128","ENTRE AQUI",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("41114128","ENTRE AQUI",0);
//BA.debugLineNum = 118;BA.debugLine="Dim s8 As Cursor = B4XPages.MainPage.skmt.ExecQ";
_s8 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s8 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT ifnull(CAT_GP_CONVERSION3,0) as CAT_GP_CONVERSION3 FROM CAT_GUNAPROD WHERE CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_s7.GetString("PE_PROID")))+"'"))));
@@ -251,7 +251,7 @@ _totalpaquete = (int) (0);
//BA.debugLineNum = 123;BA.debugLine="totalpaquete = totalpaquete +(totalstick/200)";
_totalpaquete = (int) (_totalpaquete+(_totalstick/(double)200));
//BA.debugLineNum = 124;BA.debugLine="Log(totalpaquete)";
-anywheresoftware.b4a.keywords.Common.LogImpl("71114135",BA.NumberToString(_totalpaquete),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("41114135",BA.NumberToString(_totalpaquete),0);
}
};
};
@@ -279,18 +279,18 @@ public static String _jobdone(gunav2.keymon.com.mx.httpjob _job) throws Excepti
gunav2.keymon.com.mx.dbrequestmanager._dbresult _result = null;
//BA.debugLineNum = 160;BA.debugLine="Sub JobDone(Job As HttpJob)";
//BA.debugLineNum = 161;BA.debugLine="Log(\"JOBDONE STARTER\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("71310721","JOBDONE STARTER",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("41310721","JOBDONE STARTER",0);
//BA.debugLineNum = 163;BA.debugLine="If Job.Success = False Then ' Si hay unerror en e";
if (_job._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.False) {
//BA.debugLineNum = 165;BA.debugLine="LogColor(\"Error: \" & Job.ErrorMessage, Colors.re";
-anywheresoftware.b4a.keywords.Common.LogImpl("71310725","Error: "+_job._errormessage /*String*/ ,anywheresoftware.b4a.keywords.Common.Colors.Red);
+anywheresoftware.b4a.keywords.Common.LogImpl("41310725","Error: "+_job._errormessage /*String*/ ,anywheresoftware.b4a.keywords.Common.Colors.Red);
}else {
//BA.debugLineNum = 167;BA.debugLine="If Job.JobName = \"DBRequest\" Then";
if ((_job._jobname /*String*/ ).equals("DBRequest")) {
//BA.debugLineNum = 168;BA.debugLine="Dim RESULT As DBResult = B4XPages.MainPage.reqM";
_result = mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._reqmanager /*gunav2.keymon.com.mx.dbrequestmanager*/ ._handlejob /*gunav2.keymon.com.mx.dbrequestmanager._dbresult*/ (_job);
//BA.debugLineNum = 169;BA.debugLine="Log($\"Tag: ${RESULT.tag}, success=${Job.Success";
-anywheresoftware.b4a.keywords.Common.LogImpl("71310729",("Tag: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("41310729",("Tag: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_result.Tag /*Object*/ )+", success="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_job._success /*boolean*/ ))+""),0);
};
};
//BA.debugLineNum = 173;BA.debugLine="End Sub";
@@ -412,7 +412,7 @@ mostCurrent._service.StopAutomaticForeground();
//BA.debugLineNum = 71;BA.debugLine="Subs.revisaBD";
mostCurrent._subs._revisabd /*String*/ (processBA);
//BA.debugLineNum = 72;BA.debugLine="Log(marcaCel)";
-anywheresoftware.b4a.keywords.Common.LogImpl("7786435",_marcacel,0);
+anywheresoftware.b4a.keywords.Common.LogImpl("4786435",_marcacel,0);
//BA.debugLineNum = 73;BA.debugLine="Private s As Cursor = skmt.ExecQuery(\"select * fr";
_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select * from cat_variables where cat_va_descripcion = 'DBReqServer'")));
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/subs.java b/B4A/Objects/src/gunav2/keymon/com/mx/subs.java
index 79ea740..6b217de 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/subs.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/subs.java
@@ -27,9 +27,9 @@ public static boolean _intentusado = false;
public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
@@ -41,153 +41,153 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
int _antcant = 0;
int _difcant = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null;
- //BA.debugLineNum = 1762;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S";
- //BA.debugLineNum = 1763;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(actu";
+ //BA.debugLineNum = 1781;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S";
+ //BA.debugLineNum = 1782;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(actu";
if (_nombre.length()<6) {
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("(actualizaProducto) El nombre del producto no es valido "+_nombre),anywheresoftware.b4a.keywords.Common.True);};
- //BA.debugLineNum = 1764;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal";
+ //BA.debugLineNum = 1783;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal";
_preciosin = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_preciosin)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 1765;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)";
+ //BA.debugLineNum = 1784;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)";
_costou = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_costou)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 1766;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386308",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
- //BA.debugLineNum = 1769;BA.debugLine="If dev = 0 Then";
+ //BA.debugLineNum = 1785;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451844",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+ //BA.debugLineNum = 1788;BA.debugLine="If dev = 0 Then";
if ((_dev).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1770;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel";
+ //BA.debugLineNum = 1789;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS <> 'DUR' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"'"))));
- //BA.debugLineNum = 1771;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1790;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1773;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1792;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1774;BA.debugLine="Private antCant As Int = 0";
+ //BA.debugLineNum = 1793;BA.debugLine="Private antCant As Int = 0";
_antcant = (int) (0);
- //BA.debugLineNum = 1775;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c";
+ //BA.debugLineNum = 1794;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c";
if (anywheresoftware.b4a.keywords.Common.IsNumber(BA.NumberToString(_c.GetInt("PE_CANT")))) {
_antcant = _c.GetInt("PE_CANT");};
- //BA.debugLineNum = 1776;BA.debugLine="Private difCant As Int = cant - antCant";
+ //BA.debugLineNum = 1795;BA.debugLine="Private difCant As Int = cant - antCant";
_difcant = (int) ((double)(Double.parseDouble(_cant))-_antcant);
- //BA.debugLineNum = 1777;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p";
+ //BA.debugLineNum = 1796;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update pedido set pe_cant = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", pe_costo_tot = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.NumberFormat2(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU")))),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False)))+", pe_folio = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+"' where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' "));
- //BA.debugLineNum = 1778;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer";
+ //BA.debugLineNum = 1797;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer";
if ((_cedis).equals("DUR") == false) {
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_tipoventa)))+" set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' "));};
- //BA.debugLineNum = 1779;BA.debugLine="If cant = 0 Then";
+ //BA.debugLineNum = 1798;BA.debugLine="If cant = 0 Then";
if ((_cant).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1780;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386322",("BORRAMOS PRODUCTO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
- //BA.debugLineNum = 1781;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido";
+ //BA.debugLineNum = 1799;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451858",("BORRAMOS PRODUCTO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ //BA.debugLineNum = 1800;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' "));
- //BA.debugLineNum = 1782;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386324",("Borramos pe_cedis='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"'"),0);
- //BA.debugLineNum = 1783;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery(";
+ //BA.debugLineNum = 1801;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451860",("Borramos pe_cedis='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"'"),0);
+ //BA.debugLineNum = 1802;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery(";
_pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)")));
- //BA.debugLineNum = 1784;BA.debugLine="pe.Position=0";
+ //BA.debugLineNum = 1803;BA.debugLine="pe.Position=0";
_pe.setPosition((int) (0));
- //BA.debugLineNum = 1785;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then";
+ //BA.debugLineNum = 1804;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then";
if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1786;BA.debugLine="Log(\"###### delete from pedido_cliente - \"";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386328","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_clienteid,0);
- //BA.debugLineNum = 1787;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386329",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0);
- //BA.debugLineNum = 1788;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid";
+ //BA.debugLineNum = 1805;BA.debugLine="Log(\"###### delete from pedido_cliente - \"";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451864","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_clienteid,0);
+ //BA.debugLineNum = 1806;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451865",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0);
+ //BA.debugLineNum = 1807;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"));
};
};
}else {
- //BA.debugLineNum = 1794;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis";
+ //BA.debugLineNum = 1813;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis";
if ((double)(Double.parseDouble(_cant))>0) {
_guardaproductosingestion(_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_futuro,_aplicades);};
};
- //BA.debugLineNum = 1796;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1815;BA.debugLine="c.Close";
_c.Close();
}else if((_dev).equals(BA.NumberToString(1))) {
- //BA.debugLineNum = 1798;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel";
+ //BA.debugLineNum = 1817;BA.debugLine="Private c As Cursor=Starter.skmt.ExecQuery($\"sel";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS = 'DUR' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' "))));
- //BA.debugLineNum = 1799;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1818;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1801;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1820;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1802;BA.debugLine="Private antCant As Int = 0";
+ //BA.debugLineNum = 1821;BA.debugLine="Private antCant As Int = 0";
_antcant = (int) (0);
- //BA.debugLineNum = 1803;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c";
+ //BA.debugLineNum = 1822;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c";
if (anywheresoftware.b4a.keywords.Common.IsNumber(BA.NumberToString(_c.GetInt("PE_CANT")))) {
_antcant = _c.GetInt("PE_CANT");};
- //BA.debugLineNum = 1804;BA.debugLine="Private difCant As Int = cant - antCant";
+ //BA.debugLineNum = 1823;BA.debugLine="Private difCant As Int = cant - antCant";
_difcant = (int) ((double)(Double.parseDouble(_cant))-_antcant);
- //BA.debugLineNum = 1805;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p";
+ //BA.debugLineNum = 1824;BA.debugLine="Starter.skmt.ExecNonQuery($\"update pedido set p";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update pedido set pe_cant = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", pe_costo_tot = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.NumberFormat2(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU")))),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False)))+", pe_folio = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+"' where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' "));
- //BA.debugLineNum = 1806;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer";
+ //BA.debugLineNum = 1825;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuer";
if ((_cedis).equals("DUR") == false) {
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_tipoventa)))+" set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' "));};
- //BA.debugLineNum = 1807;BA.debugLine="If cant = 0 Then";
+ //BA.debugLineNum = 1826;BA.debugLine="If cant = 0 Then";
if ((_cant).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1808;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386350",("BORRAMOS PRODUCTO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
- //BA.debugLineNum = 1809;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido";
+ //BA.debugLineNum = 1827;BA.debugLine="LogColor($\"BORRAMOS PRODUCTO - ${prodId}\"$, Co";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451886",("BORRAMOS PRODUCTO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ //BA.debugLineNum = 1828;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FUTURO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_futuro))+"' "));
- //BA.debugLineNum = 1810;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386352",("Borramos pe_cedis='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"'"),0);
- //BA.debugLineNum = 1811;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery(";
+ //BA.debugLineNum = 1829;BA.debugLine="Log($\"Borramos pe_cedis='${cedis}' and pe_proi";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451888",("Borramos pe_cedis='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"'"),0);
+ //BA.debugLineNum = 1830;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery(";
_pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)")));
- //BA.debugLineNum = 1812;BA.debugLine="pe.Position=0";
+ //BA.debugLineNum = 1831;BA.debugLine="pe.Position=0";
_pe.setPosition((int) (0));
- //BA.debugLineNum = 1813;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then";
+ //BA.debugLineNum = 1832;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then";
if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1814;BA.debugLine="Log(\"###### delete from pedido_cliente - \"";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386356","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_clienteid,0);
- //BA.debugLineNum = 1815;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI";
-anywheresoftware.b4a.keywords.Common.LogImpl("712386357",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0);
- //BA.debugLineNum = 1816;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid";
+ //BA.debugLineNum = 1833;BA.debugLine="Log(\"###### delete from pedido_cliente - \"";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451892","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_clienteid,0);
+ //BA.debugLineNum = 1834;BA.debugLine="Log($\"delete from pedido_cliente where PC_CLI";
+anywheresoftware.b4a.keywords.Common.LogImpl("412451893",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0);
+ //BA.debugLineNum = 1835;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"));
};
};
}else {
- //BA.debugLineNum = 1822;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis";
+ //BA.debugLineNum = 1841;BA.debugLine="If cant > 0 Then guardaProductoSinGestion(cedis";
if ((double)(Double.parseDouble(_cant))>0) {
_guardaproductosingestion(_ba,_cedis,_costou,_cant,_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_futuro,_aplicades);};
};
- //BA.debugLineNum = 1824;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1843;BA.debugLine="c.Close";
_c.Close();
};
- //BA.debugLineNum = 1827;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1846;BA.debugLine="End Sub";
return "";
}
public static String _agregacolumna(anywheresoftware.b4a.BA _ba,String _tabla,String _columna,String _tipo) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
- //BA.debugLineNum = 1293;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri";
- //BA.debugLineNum = 1294;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev";
-try { //BA.debugLineNum = 1295;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 1312;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri";
+ //BA.debugLineNum = 1313;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev";
+try { //BA.debugLineNum = 1314;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+"'"))));
- //BA.debugLineNum = 1296;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1315;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1297;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c";
+ //BA.debugLineNum = 1316;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c";
if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1298;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
+ //BA.debugLineNum = 1317;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+""));
- //BA.debugLineNum = 1299;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
-anywheresoftware.b4a.keywords.Common.LogImpl("711206662",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
+ //BA.debugLineNum = 1318;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
+anywheresoftware.b4a.keywords.Common.LogImpl("411272198",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0);
};
}
catch (Exception e9) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e9); //BA.debugLineNum = 1303;BA.debugLine="Try";
-try { //BA.debugLineNum = 1304;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e9); //BA.debugLineNum = 1322;BA.debugLine="Try";
+try { //BA.debugLineNum = 1323;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+""));
- //BA.debugLineNum = 1305;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
-anywheresoftware.b4a.keywords.Common.LogImpl("711206668",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
+ //BA.debugLineNum = 1324;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a";
+anywheresoftware.b4a.keywords.Common.LogImpl("411272204",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0);
}
catch (Exception e13) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13); //BA.debugLineNum = 1307;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711206670",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13); //BA.debugLineNum = 1326;BA.debugLine="Log(LastException)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411272206",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
};
- //BA.debugLineNum = 1309;BA.debugLine="Log(2)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711206672",BA.NumberToString(2),0);
+ //BA.debugLineNum = 1328;BA.debugLine="Log(2)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411272208",BA.NumberToString(2),0);
};
- //BA.debugLineNum = 1311;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1330;BA.debugLine="End Sub";
return "";
}
public static boolean _alcanzanlosvariablesparapromo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _promomap,anywheresoftware.b4a.objects.collections.Map _inventariosinfijos) throws Exception{
@@ -202,233 +202,233 @@ String _p2 = "";
boolean _res = false;
boolean _res1 = false;
boolean _res2 = false;
- //BA.debugLineNum = 2178;BA.debugLine="Sub alcanzanLosVariablesParaPromo(promoMap As Map,";
- //BA.debugLineNum = 2179;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade";
+ //BA.debugLineNum = 2197;BA.debugLine="Sub alcanzanLosVariablesParaPromo(promoMap As Map,";
+ //BA.debugLineNum = 2198;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade";
_thislog = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 2180;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i";
+ //BA.debugLineNum = 2199;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713369346","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
- //BA.debugLineNum = 2181;BA.debugLine="Private totalProdsVariables As Int = 0";
+anywheresoftware.b4a.keywords.Common.LogImpl("413434882","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
+ //BA.debugLineNum = 2200;BA.debugLine="Private totalProdsVariables As Int = 0";
_totalprodsvariables = (int) (0);
- //BA.debugLineNum = 2182;BA.debugLine="Private totalProdsVariables2 As Int = 0";
+ //BA.debugLineNum = 2201;BA.debugLine="Private totalProdsVariables2 As Int = 0";
_totalprodsvariables2 = (int) (0);
- //BA.debugLineNum = 2184;BA.debugLine="Private prodsVariables As List = promoMap.get(\"pr";
+ //BA.debugLineNum = 2203;BA.debugLine="Private prodsVariables As List = promoMap.get(\"pr";
_prodsvariables = new anywheresoftware.b4a.objects.collections.List();
_prodsvariables = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsVariables"))));
- //BA.debugLineNum = 2185;BA.debugLine="Private prodsVariables2 As List = promoMap.get(\"p";
+ //BA.debugLineNum = 2204;BA.debugLine="Private prodsVariables2 As List = promoMap.get(\"p";
_prodsvariables2 = new anywheresoftware.b4a.objects.collections.List();
_prodsvariables2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsVariables2"))));
- //BA.debugLineNum = 2186;BA.debugLine="For p = 0 To prodsVariables.Size - 1";
+ //BA.debugLineNum = 2205;BA.debugLine="For p = 0 To prodsVariables.Size - 1";
{
final int step7 = 1;
final int limit7 = (int) (_prodsvariables.getSize()-1);
_p = (int) (0) ;
for (;_p <= limit7 ;_p = _p + step7 ) {
- //BA.debugLineNum = 2187;BA.debugLine="Private t As String = prodsVariables.Get(p) 'Obt";
+ //BA.debugLineNum = 2206;BA.debugLine="Private t As String = prodsVariables.Get(p) 'Obt";
_t = BA.ObjectToString(_prodsvariables.Get(_p));
- //BA.debugLineNum = 2189;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex";
+ //BA.debugLineNum = 2208;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex";
if (_inventariosinfijos.ContainsKey((Object)(_t))) {
- //BA.debugLineNum = 2190;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t";
+ //BA.debugLineNum = 2209;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t";
_p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t)));
- //BA.debugLineNum = 2192;BA.debugLine="totalProdsVariables = totalProdsVariables + p2";
+ //BA.debugLineNum = 2211;BA.debugLine="totalProdsVariables = totalProdsVariables + p2";
_totalprodsvariables = (int) (_totalprodsvariables+(double)(Double.parseDouble(_p2)));
- //BA.debugLineNum = 2194;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)";
+ //BA.debugLineNum = 2213;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713369360",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("413434896",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
};
}
};
- //BA.debugLineNum = 2197;BA.debugLine="For p = 0 To prodsVariables2.Size - 1";
+ //BA.debugLineNum = 2216;BA.debugLine="For p = 0 To prodsVariables2.Size - 1";
{
final int step15 = 1;
final int limit15 = (int) (_prodsvariables2.getSize()-1);
_p = (int) (0) ;
for (;_p <= limit15 ;_p = _p + step15 ) {
- //BA.debugLineNum = 2198;BA.debugLine="Private t As String = prodsVariables2.Get(p) 'Ob";
+ //BA.debugLineNum = 2217;BA.debugLine="Private t As String = prodsVariables2.Get(p) 'Ob";
_t = BA.ObjectToString(_prodsvariables2.Get(_p));
- //BA.debugLineNum = 2199;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex";
+ //BA.debugLineNum = 2218;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex";
if (_inventariosinfijos.ContainsKey((Object)(_t))) {
- //BA.debugLineNum = 2200;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t";
+ //BA.debugLineNum = 2219;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t";
_p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t)));
- //BA.debugLineNum = 2201;BA.debugLine="totalProdsVariables2 = totalProdsVariables2 + p";
+ //BA.debugLineNum = 2220;BA.debugLine="totalProdsVariables2 = totalProdsVariables2 + p";
_totalprodsvariables2 = (int) (_totalprodsvariables2+(double)(Double.parseDouble(_p2)));
- //BA.debugLineNum = 2202;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)";
+ //BA.debugLineNum = 2221;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713369368",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("413434904",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);};
};
}
};
- //BA.debugLineNum = 2205;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to";
+ //BA.debugLineNum = 2224;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713369371","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);};
- //BA.debugLineNum = 2206;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t";
+anywheresoftware.b4a.keywords.Common.LogImpl("413434907","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);};
+ //BA.debugLineNum = 2225;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713369372","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);};
- //BA.debugLineNum = 2207;BA.debugLine="Private res As Boolean = False";
+anywheresoftware.b4a.keywords.Common.LogImpl("413434908","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);};
+ //BA.debugLineNum = 2226;BA.debugLine="Private res As Boolean = False";
_res = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 2208;BA.debugLine="Private res1 As Boolean = False";
+ //BA.debugLineNum = 2227;BA.debugLine="Private res1 As Boolean = False";
_res1 = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 2209;BA.debugLine="Private res2 As Boolean = False";
+ //BA.debugLineNum = 2228;BA.debugLine="Private res2 As Boolean = False";
_res2 = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 2214;BA.debugLine="If totalProdsVariables > 0 And totalProdsVariable";
+ //BA.debugLineNum = 2233;BA.debugLine="If totalProdsVariables > 0 And totalProdsVariable";
if (_totalprodsvariables>0 && _totalprodsvariables>=(double)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariablesRequeridos"))))) {
- //BA.debugLineNum = 2215;BA.debugLine="res1 = True 'Si el total de inventario de produc";
+ //BA.debugLineNum = 2234;BA.debugLine="res1 = True 'Si el total de inventario de produc";
_res1 = anywheresoftware.b4a.keywords.Common.True;
};
- //BA.debugLineNum = 2217;BA.debugLine="If promoMap.Get(\"prodsVariablesRequeridos\").As (I";
+ //BA.debugLineNum = 2236;BA.debugLine="If promoMap.Get(\"prodsVariablesRequeridos\").As (I";
if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariablesRequeridos")))))==0) {
_res1 = anywheresoftware.b4a.keywords.Common.True;};
- //BA.debugLineNum = 2218;BA.debugLine="If totalProdsVariables2 > 0 And totalProdsVariabl";
+ //BA.debugLineNum = 2237;BA.debugLine="If totalProdsVariables2 > 0 And totalProdsVariabl";
if (_totalprodsvariables2>0 && _totalprodsvariables2>=(double)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos"))))) {
- //BA.debugLineNum = 2219;BA.debugLine="res2 = True 'Si el total de inventario de produc";
+ //BA.debugLineNum = 2238;BA.debugLine="res2 = True 'Si el total de inventario de produc";
_res2 = anywheresoftware.b4a.keywords.Common.True;
};
- //BA.debugLineNum = 2221;BA.debugLine="If promoMap.Get(\"prodsVariables2Requeridos\").As(I";
+ //BA.debugLineNum = 2240;BA.debugLine="If promoMap.Get(\"prodsVariables2Requeridos\").As(I";
if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos")))))==0) {
_res2 = anywheresoftware.b4a.keywords.Common.True;};
- //BA.debugLineNum = 2222;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los";
+ //BA.debugLineNum = 2241;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los";
if (_res1 && _res2) {
- //BA.debugLineNum = 2223;BA.debugLine="res = True";
+ //BA.debugLineNum = 2242;BA.debugLine="res = True";
_res = anywheresoftware.b4a.keywords.Common.True;
}else {
- //BA.debugLineNum = 2225;BA.debugLine="res = False";
+ //BA.debugLineNum = 2244;BA.debugLine="res = False";
_res = anywheresoftware.b4a.keywords.Common.False;
};
- //BA.debugLineNum = 2228;BA.debugLine="Return res";
+ //BA.debugLineNum = 2247;BA.debugLine="Return res";
if (true) return _res;
- //BA.debugLineNum = 2229;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2248;BA.debugLine="End Sub";
return false;
}
public static String _bitacora(anywheresoftware.b4a.BA _ba,String _fechab,String _usuariob,String _almacenb,String _rutab,String _eventob,String _clienteb,String _iniciob,String _finb,String _latitudb,String _longitudb,String _precision,String _motivonoventa,String _motivonovisita,String _ban_geob) throws Exception{
- //BA.debugLineNum = 1415;BA.debugLine="Sub bitacora(fechab As String, usuariob As String,";
- //BA.debugLineNum = 1457;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1434;BA.debugLine="Sub bitacora(fechab As String, usuariob As String,";
+ //BA.debugLineNum = 1476;BA.debugLine="End Sub";
return "";
}
public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) throws Exception{
- //BA.debugLineNum = 434;BA.debugLine="Sub borraArribaDe100Errores 'ignore";
- //BA.debugLineNum = 435;BA.debugLine="revisaBD";
+ //BA.debugLineNum = 449;BA.debugLine="Sub borraArribaDe100Errores 'ignore";
+ //BA.debugLineNum = 450;BA.debugLine="revisaBD";
_revisabd(_ba);
- //BA.debugLineNum = 436;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
-anywheresoftware.b4a.keywords.Common.LogImpl("78519682","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
- //BA.debugLineNum = 437;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE";
+ //BA.debugLineNum = 451;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
+anywheresoftware.b4a.keywords.Common.LogImpl("48585218","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+ //BA.debugLineNum = 452;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE";
_errorlog.ExecNonQuery("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )");
- //BA.debugLineNum = 438;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")";
+ //BA.debugLineNum = 453;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")";
_errorlog.ExecNonQuery("vacuum;");
- //BA.debugLineNum = 439;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("78519685","Borramos mas de 100 de errorLog",0);
- //BA.debugLineNum = 440;BA.debugLine="End Sub";
+ //BA.debugLineNum = 454;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("48585221","Borramos mas de 100 de errorLog",0);
+ //BA.debugLineNum = 455;BA.debugLine="End Sub";
return "";
}
public static String _borraarribade600renglonesbitacora(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
- //BA.debugLineNum = 443;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore";
- //BA.debugLineNum = 444;BA.debugLine="revisaBD";
+ //BA.debugLineNum = 458;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore";
+ //BA.debugLineNum = 459;BA.debugLine="revisaBD";
_revisabd(_ba);
- //BA.debugLineNum = 445;BA.debugLine="If Starter.logger Then LogColor(\"Recortamos la ta";
+ //BA.debugLineNum = 460;BA.debugLine="If Starter.logger Then LogColor(\"Recortamos la ta";
if (mostCurrent._starter._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("78585218","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
- //BA.debugLineNum = 446;BA.debugLine="Private c As Cursor";
+anywheresoftware.b4a.keywords.Common.LogImpl("48650754","Recortamos la tabla de la Bitacora, limite de 600",anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
+ //BA.debugLineNum = 461;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 447;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select fech";
+ //BA.debugLineNum = 462;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select fech";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select fecha from bitacora")));
- //BA.debugLineNum = 448;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 463;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 449;BA.debugLine="If c.RowCount > 650 Then";
+ //BA.debugLineNum = 464;BA.debugLine="If c.RowCount > 650 Then";
if (_c.getRowCount()>650) {
- //BA.debugLineNum = 450;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
+ //BA.debugLineNum = 465;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )");
- //BA.debugLineNum = 451;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"vacuum;\")";
+ //BA.debugLineNum = 466;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"vacuum;\")";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("vacuum;");
};
- //BA.debugLineNum = 454;BA.debugLine="c.Close";
+ //BA.debugLineNum = 469;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 455;BA.debugLine="End Sub";
+ //BA.debugLineNum = 470;BA.debugLine="End Sub";
return "";
}
public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{
- //BA.debugLineNum = 318;BA.debugLine="Sub borraLogDB 'ignore";
- //BA.debugLineNum = 319;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
-anywheresoftware.b4a.keywords.Common.LogImpl("78323073","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
- //BA.debugLineNum = 320;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")";
+ //BA.debugLineNum = 333;BA.debugLine="Sub borraLogDB 'ignore";
+ //BA.debugLineNum = 334;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)";
+anywheresoftware.b4a.keywords.Common.LogImpl("48388609","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+ //BA.debugLineNum = 335;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")";
_kmt.ExecNonQuery("delete from bitacora");
- //BA.debugLineNum = 321;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
+ //BA.debugLineNum = 336;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
_kmt.ExecNonQuery("vacuum;");
- //BA.debugLineNum = 322;BA.debugLine="End Sub";
+ //BA.debugLineNum = 337;BA.debugLine="End Sub";
return "";
}
public static String _borramosarchivogps(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null;
String _s = "";
byte[] _t = null;
- //BA.debugLineNum = 193;BA.debugLine="Sub borramosArchivoGPS 'ignore";
- //BA.debugLineNum = 194;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di";
+ //BA.debugLineNum = 208;BA.debugLine="Sub borramosArchivoGPS 'ignore";
+ //BA.debugLineNum = 209;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di";
_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper();
_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 195;BA.debugLine="Dim s As String = \"\"";
+ //BA.debugLineNum = 210;BA.debugLine="Dim s As String = \"\"";
_s = "";
- //BA.debugLineNum = 196;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")";
+ //BA.debugLineNum = 211;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")";
_t = _s.getBytes("UTF-8");
- //BA.debugLineNum = 197;BA.debugLine="out.WriteBytes(t, 0, t.Length)";
+ //BA.debugLineNum = 212;BA.debugLine="out.WriteBytes(t, 0, t.Length)";
_out.WriteBytes(_t,(int) (0),_t.length);
- //BA.debugLineNum = 198;BA.debugLine="out.Close";
+ //BA.debugLineNum = 213;BA.debugLine="out.Close";
_out.Close();
- //BA.debugLineNum = 199;BA.debugLine="End Sub";
+ //BA.debugLineNum = 214;BA.debugLine="End Sub";
return "";
}
public static String _borrapedidoclienteactual(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _thisc = null;
int _i = 0;
- //BA.debugLineNum = 722;BA.debugLine="Sub borraPedidoClienteActual As String";
- //BA.debugLineNum = 736;BA.debugLine="Private thisC As Cursor";
+ //BA.debugLineNum = 737;BA.debugLine="Sub borraPedidoClienteActual As String";
+ //BA.debugLineNum = 751;BA.debugLine="Private thisC As Cursor";
_thisc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 738;BA.debugLine="thisC=Starter.skmt.ExecQuery(\"select PE_PROID, PE";
+ //BA.debugLineNum = 753;BA.debugLine="thisC=Starter.skmt.ExecQuery(\"select PE_PROID, PE";
_thisc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID, PE_CANT, PE_FOLIO FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) AND PE_CEDIS <> 'DUR'")));
- //BA.debugLineNum = 739;BA.debugLine="If thisC.RowCount>0 Then";
+ //BA.debugLineNum = 754;BA.debugLine="If thisC.RowCount>0 Then";
if (_thisc.getRowCount()>0) {
- //BA.debugLineNum = 740;BA.debugLine="For i=0 To thisC.RowCount -1";
+ //BA.debugLineNum = 755;BA.debugLine="For i=0 To thisC.RowCount -1";
{
final int step4 = 1;
final int limit4 = (int) (_thisc.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit4 ;_i = _i + step4 ) {
- //BA.debugLineNum = 741;BA.debugLine="thisC.Position = i";
+ //BA.debugLineNum = 756;BA.debugLine="thisC.Position = i";
_thisc.setPosition(_i);
- //BA.debugLineNum = 743;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${traeTablaP";
+ //BA.debugLineNum = 758;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${traeTablaP";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"));
- //BA.debugLineNum = 744;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr";
-anywheresoftware.b4a.keywords.Common.LogImpl("79895958",("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ //BA.debugLineNum = 759;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr";
+anywheresoftware.b4a.keywords.Common.LogImpl("49961494",("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"),anywheresoftware.b4a.keywords.Common.Colors.Red);
}
};
};
- //BA.debugLineNum = 748;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_cli";
+ //BA.debugLineNum = 763;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_cli";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)");
- //BA.debugLineNum = 749;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido whe";
+ //BA.debugLineNum = 764;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido whe";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)");
- //BA.debugLineNum = 750;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE kmt_info set ge";
+ //BA.debugLineNum = 765;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE kmt_info set ge";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)");
- //BA.debugLineNum = 751;BA.debugLine="Return 1";
+ //BA.debugLineNum = 766;BA.debugLine="Return 1";
if (true) return BA.NumberToString(1);
- //BA.debugLineNum = 752;BA.debugLine="End Sub";
+ //BA.debugLineNum = 767;BA.debugLine="End Sub";
return "";
}
public static String _buscadbusuario(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _usuario = "";
- //BA.debugLineNum = 596;BA.debugLine="Sub buscaDBUsuario As String 'ignore";
- //BA.debugLineNum = 597;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 611;BA.debugLine="Sub buscaDBUsuario As String 'ignore";
+ //BA.debugLineNum = 612;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 598;BA.debugLine="Private usuario As String = \"SinUsuario\"";
+ //BA.debugLineNum = 613;BA.debugLine="Private usuario As String = \"SinUsuario\"";
_usuario = "SinUsuario";
- //BA.debugLineNum = 599;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 614;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 600;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 615;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 601;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU";
+ //BA.debugLineNum = 616;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU";
if (_c.getRowCount()>0) {
_usuario = _c.GetString("USUARIO");};
- //BA.debugLineNum = 602;BA.debugLine="Return usuario";
+ //BA.debugLineNum = 617;BA.debugLine="Return usuario";
if (true) return _usuario;
- //BA.debugLineNum = 603;BA.debugLine="End Sub";
+ //BA.debugLineNum = 618;BA.debugLine="End Sub";
return "";
}
public static String _calculatotalconpromoxrango(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
@@ -436,55 +436,49 @@ String _totalparcial = "";
String _total = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null;
int _i = 0;
- //BA.debugLineNum = 2232;BA.debugLine="Sub calculaTotalConPromoXRango(idCliente As String";
- //BA.debugLineNum = 2240;BA.debugLine="Private totalParcial As String = 0";
+ //BA.debugLineNum = 2251;BA.debugLine="Sub calculaTotalConPromoXRango(idCliente As String";
+ //BA.debugLineNum = 2259;BA.debugLine="Private totalParcial As String = 0";
_totalparcial = BA.NumberToString(0);
- //BA.debugLineNum = 2241;BA.debugLine="Private total As String = 0";
+ //BA.debugLineNum = 2260;BA.debugLine="Private total As String = 0";
_total = BA.NumberToString(0);
- //BA.debugLineNum = 2242;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
+ //BA.debugLineNum = 2261;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'"))));
- //BA.debugLineNum = 2243;BA.debugLine="If cx.RowCount > 0 Then";
+ //BA.debugLineNum = 2262;BA.debugLine="If cx.RowCount > 0 Then";
if (_cx.getRowCount()>0) {
- //BA.debugLineNum = 2244;BA.debugLine="For i = 0 To cx.RowCount - 1";
+ //BA.debugLineNum = 2263;BA.debugLine="For i = 0 To cx.RowCount - 1";
{
final int step5 = 1;
final int limit5 = (int) (_cx.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit5 ;_i = _i + step5 ) {
- //BA.debugLineNum = 2246;BA.debugLine="cx.Position = i";
+ //BA.debugLineNum = 2265;BA.debugLine="cx.Position = i";
_cx.setPosition(_i);
- //BA.debugLineNum = 2247;BA.debugLine="Log(\"***************************************\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("713434895","***************************************",0);
- //BA.debugLineNum = 2248;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
+ //BA.debugLineNum = 2267;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
if ((_cx.GetString("RECANT")).equals("N")) {
- //BA.debugLineNum = 2249;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
+ //BA.debugLineNum = 2268;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
_totalparcial = _cx.GetString("PE_COSTO_TOT");
}else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) {
- //BA.debugLineNum = 2251;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
+ //BA.debugLineNum = 2270;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
_totalparcial = _cx.GetString("PE_RECALCULOTOT");
}else {
- //BA.debugLineNum = 2253;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
+ //BA.debugLineNum = 2272;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT")))));
- //BA.debugLineNum = 2254;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
-anywheresoftware.b4a.keywords.Common.LogImpl("713434902",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
+ //BA.debugLineNum = 2273;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
+anywheresoftware.b4a.keywords.Common.LogImpl("413500438",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
};
- //BA.debugLineNum = 2256;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa";
-anywheresoftware.b4a.keywords.Common.LogImpl("713434904",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0);
- //BA.debugLineNum = 2257;BA.debugLine="total = total + totalParcial";
+ //BA.debugLineNum = 2276;BA.debugLine="total = total + totalParcial";
_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial)));
}
};
};
- //BA.debugLineNum = 2260;BA.debugLine="cx.Close";
+ //BA.debugLineNum = 2279;BA.debugLine="cx.Close";
_cx.Close();
- //BA.debugLineNum = 2261;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
+ //BA.debugLineNum = 2280;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 2262;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("713434910",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0);
- //BA.debugLineNum = 2263;BA.debugLine="Return total";
+ //BA.debugLineNum = 2282;BA.debugLine="Return total";
if (true) return _total;
- //BA.debugLineNum = 2264;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2283;BA.debugLine="End Sub";
return "";
}
public static String _calculatotalconpromoxrango1(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
@@ -492,49 +486,49 @@ String _totalparcial = "";
String _total = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null;
int _i = 0;
- //BA.debugLineNum = 2267;BA.debugLine="Sub calculaTotalConPromoXRango1(idCliente As Strin";
- //BA.debugLineNum = 2275;BA.debugLine="Private totalParcial As String = 0";
+ //BA.debugLineNum = 2286;BA.debugLine="Sub calculaTotalConPromoXRango1(idCliente As Strin";
+ //BA.debugLineNum = 2294;BA.debugLine="Private totalParcial As String = 0";
_totalparcial = BA.NumberToString(0);
- //BA.debugLineNum = 2276;BA.debugLine="Private total As String = 0";
+ //BA.debugLineNum = 2295;BA.debugLine="Private total As String = 0";
_total = BA.NumberToString(0);
- //BA.debugLineNum = 2277;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
+ //BA.debugLineNum = 2296;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '1' "))));
- //BA.debugLineNum = 2278;BA.debugLine="If cx.RowCount > 0 Then";
+ //BA.debugLineNum = 2297;BA.debugLine="If cx.RowCount > 0 Then";
if (_cx.getRowCount()>0) {
- //BA.debugLineNum = 2279;BA.debugLine="For i = 0 To cx.RowCount - 1";
+ //BA.debugLineNum = 2298;BA.debugLine="For i = 0 To cx.RowCount - 1";
{
final int step5 = 1;
final int limit5 = (int) (_cx.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit5 ;_i = _i + step5 ) {
- //BA.debugLineNum = 2281;BA.debugLine="cx.Position = i";
+ //BA.debugLineNum = 2300;BA.debugLine="cx.Position = i";
_cx.setPosition(_i);
- //BA.debugLineNum = 2283;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
+ //BA.debugLineNum = 2302;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
if ((_cx.GetString("RECANT")).equals("N")) {
- //BA.debugLineNum = 2284;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
+ //BA.debugLineNum = 2303;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
_totalparcial = _cx.GetString("PE_COSTO_TOT");
}else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) {
- //BA.debugLineNum = 2286;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
+ //BA.debugLineNum = 2305;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
_totalparcial = _cx.GetString("PE_RECALCULOTOT");
}else {
- //BA.debugLineNum = 2288;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
+ //BA.debugLineNum = 2307;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT")))));
- //BA.debugLineNum = 2289;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
-anywheresoftware.b4a.keywords.Common.LogImpl("713500438",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
+ //BA.debugLineNum = 2308;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
+anywheresoftware.b4a.keywords.Common.LogImpl("413565974",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
};
- //BA.debugLineNum = 2292;BA.debugLine="total = total + totalParcial";
+ //BA.debugLineNum = 2311;BA.debugLine="total = total + totalParcial";
_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial)));
}
};
};
- //BA.debugLineNum = 2295;BA.debugLine="cx.Close";
+ //BA.debugLineNum = 2314;BA.debugLine="cx.Close";
_cx.Close();
- //BA.debugLineNum = 2296;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
+ //BA.debugLineNum = 2315;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 2298;BA.debugLine="Return total";
+ //BA.debugLineNum = 2317;BA.debugLine="Return total";
if (true) return _total;
- //BA.debugLineNum = 2299;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2318;BA.debugLine="End Sub";
return "";
}
public static String _calculatotalconpromoxrango2(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
@@ -542,55 +536,49 @@ String _totalparcial = "";
String _total = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null;
int _i = 0;
- //BA.debugLineNum = 2303;BA.debugLine="Sub calculaTotalConPromoXRango2(idCliente As Strin";
- //BA.debugLineNum = 2311;BA.debugLine="Private totalParcial As String = 0";
+ //BA.debugLineNum = 2322;BA.debugLine="Sub calculaTotalConPromoXRango2(idCliente As Strin";
+ //BA.debugLineNum = 2330;BA.debugLine="Private totalParcial As String = 0";
_totalparcial = BA.NumberToString(0);
- //BA.debugLineNum = 2312;BA.debugLine="Private total As String = 0";
+ //BA.debugLineNum = 2331;BA.debugLine="Private total As String = 0";
_total = BA.NumberToString(0);
- //BA.debugLineNum = 2313;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
+ //BA.debugLineNum = 2332;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '0' "))));
- //BA.debugLineNum = 2314;BA.debugLine="If cx.RowCount > 0 Then";
+ //BA.debugLineNum = 2333;BA.debugLine="If cx.RowCount > 0 Then";
if (_cx.getRowCount()>0) {
- //BA.debugLineNum = 2315;BA.debugLine="For i = 0 To cx.RowCount - 1";
+ //BA.debugLineNum = 2334;BA.debugLine="For i = 0 To cx.RowCount - 1";
{
final int step5 = 1;
final int limit5 = (int) (_cx.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit5 ;_i = _i + step5 ) {
- //BA.debugLineNum = 2317;BA.debugLine="cx.Position = i";
+ //BA.debugLineNum = 2336;BA.debugLine="cx.Position = i";
_cx.setPosition(_i);
- //BA.debugLineNum = 2318;BA.debugLine="Log(\"***************************************\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("713565967","***************************************",0);
- //BA.debugLineNum = 2319;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
+ //BA.debugLineNum = 2338;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
if ((_cx.GetString("RECANT")).equals("N")) {
- //BA.debugLineNum = 2320;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
+ //BA.debugLineNum = 2339;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
_totalparcial = _cx.GetString("PE_COSTO_TOT");
}else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) {
- //BA.debugLineNum = 2322;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
+ //BA.debugLineNum = 2341;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
_totalparcial = _cx.GetString("PE_RECALCULOTOT");
}else {
- //BA.debugLineNum = 2324;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
+ //BA.debugLineNum = 2343;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT")))));
- //BA.debugLineNum = 2325;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
-anywheresoftware.b4a.keywords.Common.LogImpl("713565974",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
+ //BA.debugLineNum = 2344;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
+anywheresoftware.b4a.keywords.Common.LogImpl("413631510",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
};
- //BA.debugLineNum = 2327;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa";
-anywheresoftware.b4a.keywords.Common.LogImpl("713565976",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0);
- //BA.debugLineNum = 2328;BA.debugLine="total = total + totalParcial";
+ //BA.debugLineNum = 2347;BA.debugLine="total = total + totalParcial";
_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial)));
}
};
};
- //BA.debugLineNum = 2331;BA.debugLine="cx.Close";
+ //BA.debugLineNum = 2350;BA.debugLine="cx.Close";
_cx.Close();
- //BA.debugLineNum = 2332;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
+ //BA.debugLineNum = 2351;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 2333;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("713565982",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0);
- //BA.debugLineNum = 2334;BA.debugLine="Return total";
+ //BA.debugLineNum = 2353;BA.debugLine="Return total";
if (true) return _total;
- //BA.debugLineNum = 2335;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2354;BA.debugLine="End Sub";
return "";
}
public static String _calculatotalconpromoxrango3(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
@@ -598,54 +586,54 @@ String _total = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null;
int _i = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null;
- //BA.debugLineNum = 2338;BA.debugLine="Sub calculaTotalConPromoXRango3(idCliente As Strin";
- //BA.debugLineNum = 2347;BA.debugLine="Private total As String = 0";
+ //BA.debugLineNum = 2357;BA.debugLine="Sub calculaTotalConPromoXRango3(idCliente As Strin";
+ //BA.debugLineNum = 2366;BA.debugLine="Private total As String = 0";
_total = BA.NumberToString(0);
- //BA.debugLineNum = 2348;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
+ //BA.debugLineNum = 2367;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '0' AND PE_PROID <> PE_CEDIS "))));
- //BA.debugLineNum = 2349;BA.debugLine="If cx.RowCount > 0 Then";
+ //BA.debugLineNum = 2368;BA.debugLine="If cx.RowCount > 0 Then";
if (_cx.getRowCount()>0) {
- //BA.debugLineNum = 2350;BA.debugLine="For i = 0 To cx.RowCount - 1";
+ //BA.debugLineNum = 2369;BA.debugLine="For i = 0 To cx.RowCount - 1";
{
final int step4 = 1;
final int limit4 = (int) (_cx.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit4 ;_i = _i + step4 ) {
- //BA.debugLineNum = 2352;BA.debugLine="cx.Position = i";
+ //BA.debugLineNum = 2371;BA.debugLine="cx.Position = i";
_cx.setPosition(_i);
- //BA.debugLineNum = 2353;BA.debugLine="Log(\"***************************************\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("713631503","***************************************",0);
- //BA.debugLineNum = 2355;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue";
+ //BA.debugLineNum = 2372;BA.debugLine="Log(\"***************************************\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("413697039","***************************************",0);
+ //BA.debugLineNum = 2374;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue";
_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cx.GetString("PE_PRONOMBRE")))+"' "))));
- //BA.debugLineNum = 2356;BA.debugLine="If precioprom.RowCount > 0 Then";
+ //BA.debugLineNum = 2375;BA.debugLine="If precioprom.RowCount > 0 Then";
if (_precioprom.getRowCount()>0) {
- //BA.debugLineNum = 2357;BA.debugLine="precioprom.Position = 0";
+ //BA.debugLineNum = 2376;BA.debugLine="precioprom.Position = 0";
_precioprom.setPosition((int) (0));
- //BA.debugLineNum = 2358;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))";
-anywheresoftware.b4a.keywords.Common.LogImpl("713631508",_precioprom.GetString("CAT_GP_PRECIO"),0);
- //BA.debugLineNum = 2359;BA.debugLine="Log (cx.GETSTRING(\"PE_CANT\"))";
-anywheresoftware.b4a.keywords.Common.LogImpl("713631509",_cx.GetString("PE_CANT"),0);
- //BA.debugLineNum = 2360;BA.debugLine="Log (cx.GETSTRING(\"PE_PRONOMBRE\"))";
-anywheresoftware.b4a.keywords.Common.LogImpl("713631510",_cx.GetString("PE_PRONOMBRE"),0);
- //BA.debugLineNum = 2362;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec";
+ //BA.debugLineNum = 2377;BA.debugLine="Log (precioprom.GETSTRING(\"CAT_GP_PRECIO\"))";
+anywheresoftware.b4a.keywords.Common.LogImpl("413697044",_precioprom.GetString("CAT_GP_PRECIO"),0);
+ //BA.debugLineNum = 2378;BA.debugLine="Log (cx.GETSTRING(\"PE_CANT\"))";
+anywheresoftware.b4a.keywords.Common.LogImpl("413697045",_cx.GetString("PE_CANT"),0);
+ //BA.debugLineNum = 2379;BA.debugLine="Log (cx.GETSTRING(\"PE_PRONOMBRE\"))";
+anywheresoftware.b4a.keywords.Common.LogImpl("413697046",_cx.GetString("PE_PRONOMBRE"),0);
+ //BA.debugLineNum = 2381;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec";
_total = BA.NumberToString((double)(Double.parseDouble(_total))+(((double)(Double.parseDouble(_cx.GetString("PE_CANT")))*(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO"))))));
};
- //BA.debugLineNum = 2366;BA.debugLine="Log($\"Total:${total} \"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("713631516",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" "),0);
+ //BA.debugLineNum = 2385;BA.debugLine="Log($\"Total:${total} \"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("413697052",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" "),0);
}
};
};
- //BA.debugLineNum = 2370;BA.debugLine="cx.Close";
+ //BA.debugLineNum = 2389;BA.debugLine="cx.Close";
_cx.Close();
- //BA.debugLineNum = 2371;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
+ //BA.debugLineNum = 2390;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 2372;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("713631522",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0);
- //BA.debugLineNum = 2373;BA.debugLine="Return total";
+ //BA.debugLineNum = 2391;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("413697058",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0);
+ //BA.debugLineNum = 2392;BA.debugLine="Return total";
if (true) return _total;
- //BA.debugLineNum = 2374;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2393;BA.debugLine="End Sub";
return "";
}
public static String _calculatotalconpromoxrango4(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
@@ -653,42 +641,42 @@ String _total = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null;
int _i = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _precioprom = null;
- //BA.debugLineNum = 2377;BA.debugLine="Sub calculaTotalConPromoXRango4(idCliente As Strin";
- //BA.debugLineNum = 2386;BA.debugLine="Private total As String = 0";
+ //BA.debugLineNum = 2396;BA.debugLine="Sub calculaTotalConPromoXRango4(idCliente As Strin";
+ //BA.debugLineNum = 2405;BA.debugLine="Private total As String = 0";
_total = BA.NumberToString(0);
- //BA.debugLineNum = 2387;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
+ //BA.debugLineNum = 2406;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_FUTURO = '1' AND PE_PROID <> PE_CEDIS "))));
- //BA.debugLineNum = 2388;BA.debugLine="If cx.RowCount > 0 Then";
+ //BA.debugLineNum = 2407;BA.debugLine="If cx.RowCount > 0 Then";
if (_cx.getRowCount()>0) {
- //BA.debugLineNum = 2389;BA.debugLine="For i = 0 To cx.RowCount - 1";
+ //BA.debugLineNum = 2408;BA.debugLine="For i = 0 To cx.RowCount - 1";
{
final int step4 = 1;
final int limit4 = (int) (_cx.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit4 ;_i = _i + step4 ) {
- //BA.debugLineNum = 2391;BA.debugLine="cx.Position = i";
+ //BA.debugLineNum = 2410;BA.debugLine="cx.Position = i";
_cx.setPosition(_i);
- //BA.debugLineNum = 2394;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue";
+ //BA.debugLineNum = 2413;BA.debugLine="Dim precioprom As Cursor = Starter.skmt.ExecQue";
_precioprom = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_precioprom = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CAT_GP_PRECIO FROM CAT_GUNAPROD WHERE CAT_GP_NOMBRE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cx.GetString("PE_PRONOMBRE")))+"' "))));
- //BA.debugLineNum = 2395;BA.debugLine="If precioprom.RowCount > 0 Then";
+ //BA.debugLineNum = 2414;BA.debugLine="If precioprom.RowCount > 0 Then";
if (_precioprom.getRowCount()>0) {
- //BA.debugLineNum = 2396;BA.debugLine="precioprom.Position = 0";
+ //BA.debugLineNum = 2415;BA.debugLine="precioprom.Position = 0";
_precioprom.setPosition((int) (0));
- //BA.debugLineNum = 2402;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec";
+ //BA.debugLineNum = 2421;BA.debugLine="total = total + ((cx.GETSTRING(\"PE_CANT\")*prec";
_total = BA.NumberToString((double)(Double.parseDouble(_total))+(((double)(Double.parseDouble(_cx.GetString("PE_CANT")))*(double)(Double.parseDouble(_precioprom.GetString("CAT_GP_PRECIO"))))));
};
}
};
};
- //BA.debugLineNum = 2410;BA.debugLine="cx.Close";
+ //BA.debugLineNum = 2429;BA.debugLine="cx.Close";
_cx.Close();
- //BA.debugLineNum = 2411;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
+ //BA.debugLineNum = 2430;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 2413;BA.debugLine="Return total";
+ //BA.debugLineNum = 2432;BA.debugLine="Return total";
if (true) return _total;
- //BA.debugLineNum = 2414;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2433;BA.debugLine="End Sub";
return "";
}
public static String _calculatotalconpromoxrango5(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
@@ -696,49 +684,49 @@ String _totalparcial = "";
String _total = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null;
int _i = 0;
- //BA.debugLineNum = 2417;BA.debugLine="Sub calculaTotalConPromoXRango5(idCliente As Strin";
- //BA.debugLineNum = 2425;BA.debugLine="Private totalParcial As String = 0";
+ //BA.debugLineNum = 2436;BA.debugLine="Sub calculaTotalConPromoXRango5(idCliente As Strin";
+ //BA.debugLineNum = 2444;BA.debugLine="Private totalParcial As String = 0";
_totalparcial = BA.NumberToString(0);
- //BA.debugLineNum = 2426;BA.debugLine="Private total As String = 0";
+ //BA.debugLineNum = 2445;BA.debugLine="Private total As String = 0";
_total = BA.NumberToString(0);
- //BA.debugLineNum = 2427;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
+ //BA.debugLineNum = 2446;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' and PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'CIGARRO')"))));
- //BA.debugLineNum = 2428;BA.debugLine="If cx.RowCount > 0 Then";
+ //BA.debugLineNum = 2447;BA.debugLine="If cx.RowCount > 0 Then";
if (_cx.getRowCount()>0) {
- //BA.debugLineNum = 2429;BA.debugLine="For i = 0 To cx.RowCount - 1";
+ //BA.debugLineNum = 2448;BA.debugLine="For i = 0 To cx.RowCount - 1";
{
final int step5 = 1;
final int limit5 = (int) (_cx.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit5 ;_i = _i + step5 ) {
- //BA.debugLineNum = 2431;BA.debugLine="cx.Position = i";
+ //BA.debugLineNum = 2450;BA.debugLine="cx.Position = i";
_cx.setPosition(_i);
- //BA.debugLineNum = 2433;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
+ //BA.debugLineNum = 2452;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
if ((_cx.GetString("RECANT")).equals("N")) {
- //BA.debugLineNum = 2434;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
+ //BA.debugLineNum = 2453;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
_totalparcial = _cx.GetString("PE_COSTO_TOT");
}else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) {
- //BA.debugLineNum = 2436;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
+ //BA.debugLineNum = 2455;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
_totalparcial = _cx.GetString("PE_RECALCULOTOT");
}else {
- //BA.debugLineNum = 2438;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
+ //BA.debugLineNum = 2457;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT")))));
- //BA.debugLineNum = 2439;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
-anywheresoftware.b4a.keywords.Common.LogImpl("713762582",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
+ //BA.debugLineNum = 2458;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
+anywheresoftware.b4a.keywords.Common.LogImpl("413828118",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
};
- //BA.debugLineNum = 2442;BA.debugLine="total = total + totalParcial";
+ //BA.debugLineNum = 2461;BA.debugLine="total = total + totalParcial";
_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial)));
}
};
};
- //BA.debugLineNum = 2445;BA.debugLine="cx.Close";
+ //BA.debugLineNum = 2464;BA.debugLine="cx.Close";
_cx.Close();
- //BA.debugLineNum = 2446;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
+ //BA.debugLineNum = 2465;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 2448;BA.debugLine="Return total";
+ //BA.debugLineNum = 2467;BA.debugLine="Return total";
if (true) return _total;
- //BA.debugLineNum = 2449;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2468;BA.debugLine="End Sub";
return "";
}
public static String _calculatotalconpromoxrango6(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
@@ -746,172 +734,192 @@ String _totalparcial = "";
String _total = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _cx = null;
int _i = 0;
- //BA.debugLineNum = 2453;BA.debugLine="Sub calculaTotalConPromoXRango6(idCliente As Strin";
- //BA.debugLineNum = 2461;BA.debugLine="Private totalParcial As String = 0";
+ //BA.debugLineNum = 2472;BA.debugLine="Sub calculaTotalConPromoXRango6(idCliente As Strin";
+ //BA.debugLineNum = 2480;BA.debugLine="Private totalParcial As String = 0";
_totalparcial = BA.NumberToString(0);
- //BA.debugLineNum = 2462;BA.debugLine="Private total As String = 0";
+ //BA.debugLineNum = 2481;BA.debugLine="Private total As String = 0";
_total = BA.NumberToString(0);
- //BA.debugLineNum = 2463;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
+ //BA.debugLineNum = 2482;BA.debugLine="Private cx As Cursor = Starter.skmt.ExecQuery($\"s";
_cx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_cx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select *, ifnull(pe_reccant, 'N') as RECANT from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"' AND PE_PROID IN (SELECT CAT_GP_ID FROM CAT_GUNAPROD WHERE CAT_GP_TIPO = 'PARTNERSHIP') "))));
- //BA.debugLineNum = 2464;BA.debugLine="If cx.RowCount > 0 Then";
+ //BA.debugLineNum = 2483;BA.debugLine="If cx.RowCount > 0 Then";
if (_cx.getRowCount()>0) {
- //BA.debugLineNum = 2465;BA.debugLine="For i = 0 To cx.RowCount - 1";
+ //BA.debugLineNum = 2484;BA.debugLine="For i = 0 To cx.RowCount - 1";
{
final int step5 = 1;
final int limit5 = (int) (_cx.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit5 ;_i = _i + step5 ) {
- //BA.debugLineNum = 2467;BA.debugLine="cx.Position = i";
+ //BA.debugLineNum = 2486;BA.debugLine="cx.Position = i";
_cx.setPosition(_i);
- //BA.debugLineNum = 2468;BA.debugLine="Log(\"***************************************\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("713828111","***************************************",0);
- //BA.debugLineNum = 2469;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
+ //BA.debugLineNum = 2488;BA.debugLine="If cx.getstring(\"RECANT\") = \"N\" Then ' Sin prod";
if ((_cx.GetString("RECANT")).equals("N")) {
- //BA.debugLineNum = 2470;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
+ //BA.debugLineNum = 2489;BA.debugLine="totalParcial = cx.getstring(\"PE_COSTO_TOT\")";
_totalparcial = _cx.GetString("PE_COSTO_TOT");
}else if((_cx.GetString("RECANT")).equals(_cx.GetString("PE_CANT"))) {
- //BA.debugLineNum = 2472;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
+ //BA.debugLineNum = 2491;BA.debugLine="totalParcial = cx.getstring(\"PE_RECALCULOTOT\")";
_totalparcial = _cx.GetString("PE_RECALCULOTOT");
}else {
- //BA.debugLineNum = 2474;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
+ //BA.debugLineNum = 2493;BA.debugLine="totalParcial = ((cx.getstring(\"PE_CANT\") - cx.";
_totalparcial = BA.NumberToString((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))+((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT")))));
- //BA.debugLineNum = 2475;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
-anywheresoftware.b4a.keywords.Common.LogImpl("713828118",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
+ //BA.debugLineNum = 2494;BA.debugLine="Log($\"${((cx.getstring(\"PE_CANT\") - cx.getstri";
+anywheresoftware.b4a.keywords.Common.LogImpl("413893654",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_cx.GetString("PE_CANT")))-(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))*(double)(Double.parseDouble(_cx.GetString("PE_COSTOU"))))))+" + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cx.GetString("PE_RECALCULO")))*(double)(Double.parseDouble(_cx.GetString("PE_RECCANT"))))))+" "),0);
};
- //BA.debugLineNum = 2477;BA.debugLine="Log($\"Total:${total} + Total Parcial: ${totalPa";
-anywheresoftware.b4a.keywords.Common.LogImpl("713828120",("Total:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+" + Total Parcial: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalparcial))+""),0);
- //BA.debugLineNum = 2478;BA.debugLine="total = total + totalParcial";
+ //BA.debugLineNum = 2497;BA.debugLine="total = total + totalParcial";
_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_totalparcial)));
}
};
};
- //BA.debugLineNum = 2481;BA.debugLine="cx.Close";
+ //BA.debugLineNum = 2500;BA.debugLine="cx.Close";
_cx.Close();
- //BA.debugLineNum = 2482;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
+ //BA.debugLineNum = 2501;BA.debugLine="total = NumberFormat2(total, 1, 2, 2, False)";
_total = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_total)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 2483;BA.debugLine="Log($\"Total con promocXrango = ${total}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("713828126",("Total con promocXrango = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_total))+""),0);
- //BA.debugLineNum = 2484;BA.debugLine="Return total";
+ //BA.debugLineNum = 2503;BA.debugLine="Return total";
if (true) return _total;
- //BA.debugLineNum = 2485;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2504;BA.debugLine="End Sub";
return "";
}
public static String _centraedittext(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.EditTextWrapper _elemento,int _anchoelementosuperior) throws Exception{
- //BA.debugLineNum = 591;BA.debugLine="Sub centraEditText(elemento As EditText, anchoElem";
- //BA.debugLineNum = 592;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
+ //BA.debugLineNum = 606;BA.debugLine="Sub centraEditText(elemento As EditText, anchoElem";
+ //BA.debugLineNum = 607;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2)));
- //BA.debugLineNum = 593;BA.debugLine="End Sub";
+ //BA.debugLineNum = 608;BA.debugLine="End Sub";
return "";
}
public static String _centraetiqueta(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{
- //BA.debugLineNum = 572;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement";
- //BA.debugLineNum = 573;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
-_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2)));
- //BA.debugLineNum = 574;BA.debugLine="End Sub";
-return "";
-}
-public static String _centralistview(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _elemento,int _anchoelementosuperior) throws Exception{
- //BA.debugLineNum = 52;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem";
- //BA.debugLineNum = 53;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
-_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2)));
- //BA.debugLineNum = 54;BA.debugLine="End Sub";
-return "";
-}
-public static String _centrapanel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{
- //BA.debugLineNum = 577;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu";
- //BA.debugLineNum = 578;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
-_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2)));
- //BA.debugLineNum = 579;BA.debugLine="End Sub";
-return "";
-}
-public static String _centrapanelv(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _altoelementosuperior) throws Exception{
- //BA.debugLineNum = 582;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu";
- //BA.debugLineNum = 583;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele";
-_elemento.setTop((int) (anywheresoftware.b4a.keywords.Common.Round(_altoelementosuperior/(double)2)-(_elemento.getHeight()/(double)2)));
- //BA.debugLineNum = 584;BA.debugLine="End Sub";
-return "";
-}
-public static String _centraprogressbar(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ProgressBarWrapper _elemento,int _anchoelementosuperior) throws Exception{
- //BA.debugLineNum = 587;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc";
+ //BA.debugLineNum = 587;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement";
//BA.debugLineNum = 588;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2)));
//BA.debugLineNum = 589;BA.debugLine="End Sub";
return "";
}
+public static String _centralistview(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _elemento,int _anchoelementosuperior) throws Exception{
+ //BA.debugLineNum = 67;BA.debugLine="Sub centraListView(elemento As ListView, anchoElem";
+ //BA.debugLineNum = 68;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
+_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2)));
+ //BA.debugLineNum = 69;BA.debugLine="End Sub";
+return "";
+}
+public static String _centrapanel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{
+ //BA.debugLineNum = 592;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu";
+ //BA.debugLineNum = 593;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
+_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2)));
+ //BA.debugLineNum = 594;BA.debugLine="End Sub";
+return "";
+}
+public static String _centrapanelv(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _altoelementosuperior) throws Exception{
+ //BA.debugLineNum = 597;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu";
+ //BA.debugLineNum = 598;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele";
+_elemento.setTop((int) (anywheresoftware.b4a.keywords.Common.Round(_altoelementosuperior/(double)2)-(_elemento.getHeight()/(double)2)));
+ //BA.debugLineNum = 599;BA.debugLine="End Sub";
+return "";
+}
+public static String _centraprogressbar(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ProgressBarWrapper _elemento,int _anchoelementosuperior) throws Exception{
+ //BA.debugLineNum = 602;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc";
+ //BA.debugLineNum = 603;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e";
+_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2)));
+ //BA.debugLineNum = 604;BA.debugLine="End Sub";
+return "";
+}
public static String _compress(anywheresoftware.b4a.BA _ba,String _str) throws Exception{
byte[] _compressed = null;
String _base64 = "";
- //BA.debugLineNum = 58;BA.debugLine="Sub compress(str As String) As String 'ignore";
- //BA.debugLineNum = 60;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)";
+ //BA.debugLineNum = 73;BA.debugLine="Sub compress(str As String) As String 'ignore";
+ //BA.debugLineNum = 75;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)";
_compressed = _gzip.compress(_str);
- //BA.debugLineNum = 63;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed";
+ //BA.debugLineNum = 78;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed";
_base64 = _su.EncodeBase64(_compressed);
- //BA.debugLineNum = 64;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("77012358",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
- //BA.debugLineNum = 66;BA.debugLine="Return base64";
+ //BA.debugLineNum = 79;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("47077894",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0);
+ //BA.debugLineNum = 81;BA.debugLine="Return base64";
if (true) return _base64;
- //BA.debugLineNum = 67;BA.debugLine="End Sub";
+ //BA.debugLineNum = 82;BA.debugLine="End Sub";
return "";
}
public static String _copiadb(anywheresoftware.b4a.BA _ba,boolean _result) throws Exception{
String _p = "";
String _thedir = "";
- //BA.debugLineNum = 530;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore";
- //BA.debugLineNum = 531;BA.debugLine="ToastMessageShow(\"copiaDB\", False)";
+ //BA.debugLineNum = 545;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore";
+ //BA.debugLineNum = 546;BA.debugLine="ToastMessageShow(\"copiaDB\", False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("copiaDB"),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 532;BA.debugLine="If result Then";
+ //BA.debugLineNum = 547;BA.debugLine="If result Then";
if (_result) {
- //BA.debugLineNum = 533;BA.debugLine="Dim p As String";
+ //BA.debugLineNum = 548;BA.debugLine="Dim p As String";
_p = "";
- //BA.debugLineNum = 534;BA.debugLine="If File.ExternalWritable Then";
+ //BA.debugLineNum = 549;BA.debugLine="If File.ExternalWritable Then";
if (anywheresoftware.b4a.keywords.Common.File.getExternalWritable()) {
- //BA.debugLineNum = 535;BA.debugLine="p = File.DirRootExternal";
+ //BA.debugLineNum = 550;BA.debugLine="p = File.DirRootExternal";
_p = anywheresoftware.b4a.keywords.Common.File.getDirRootExternal();
}else {
- //BA.debugLineNum = 538;BA.debugLine="p = File.DirInternal";
+ //BA.debugLineNum = 553;BA.debugLine="p = File.DirInternal";
_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal();
};
- //BA.debugLineNum = 541;BA.debugLine="Dim theDir As String";
+ //BA.debugLineNum = 556;BA.debugLine="Dim theDir As String";
_thedir = "";
- //BA.debugLineNum = 542;BA.debugLine="Try";
-try { //BA.debugLineNum = 543;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")";
+ //BA.debugLineNum = 557;BA.debugLine="Try";
+try { //BA.debugLineNum = 558;BA.debugLine="File.MakeDir(File.DirRootExternal,\"kmts\")";
anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),"kmts");
- //BA.debugLineNum = 544;BA.debugLine="theDir = \"/kmts\"";
+ //BA.debugLineNum = 559;BA.debugLine="theDir = \"/kmts\"";
_thedir = "/kmts";
}
catch (Exception e14) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e14); //BA.debugLineNum = 546;BA.debugLine="theDir = \"\"";
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e14); //BA.debugLineNum = 561;BA.debugLine="theDir = \"\"";
_thedir = "";
};
- //BA.debugLineNum = 548;BA.debugLine="Try";
-try { //BA.debugLineNum = 549;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo";
+ //BA.debugLineNum = 563;BA.debugLine="Try";
+try { //BA.debugLineNum = 564;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirRoo";
anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.File.getDirRootExternal()+_thedir,"cedex_kmt.db");
- //BA.debugLineNum = 550;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D";
+ //BA.debugLineNum = 565;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D";
anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"errorLog.db",anywheresoftware.b4a.keywords.Common.File.getDirRootExternal()+_thedir,"cedex_errorLog.db");
- //BA.debugLineNum = 551;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)";
+ //BA.debugLineNum = 566;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),anywheresoftware.b4a.keywords.Common.False);
}
catch (Exception e21) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 553;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&";
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 568;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))),anywheresoftware.b4a.keywords.Common.True);
};
- //BA.debugLineNum = 555;BA.debugLine="Log(\"rootExternal=\"&p)";
-anywheresoftware.b4a.keywords.Common.LogImpl("78912921","rootExternal="+_p,0);
- //BA.debugLineNum = 556;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
-anywheresoftware.b4a.keywords.Common.LogImpl("78912922","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
- //BA.debugLineNum = 557;BA.debugLine="Log(\"File.DirRootExternal=\"&File.DirRootExternal";
-anywheresoftware.b4a.keywords.Common.LogImpl("78912923","File.DirRootExternal="+anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),0);
+ //BA.debugLineNum = 570;BA.debugLine="Log(\"rootExternal=\"&p)";
+anywheresoftware.b4a.keywords.Common.LogImpl("48978457","rootExternal="+_p,0);
+ //BA.debugLineNum = 571;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)";
+anywheresoftware.b4a.keywords.Common.LogImpl("48978458","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0);
+ //BA.debugLineNum = 572;BA.debugLine="Log(\"File.DirRootExternal=\"&File.DirRootExternal";
+anywheresoftware.b4a.keywords.Common.LogImpl("48978459","File.DirRootExternal="+anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),0);
}else {
- //BA.debugLineNum = 559;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
+ //BA.debugLineNum = 574;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False);
};
- //BA.debugLineNum = 561;BA.debugLine="End Sub";
+ //BA.debugLineNum = 576;BA.debugLine="End Sub";
return "";
}
+public static anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _createbitmapwithnumber(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _originalbitmap,int _number) throws Exception{
+anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _newbitmap = null;
+anywheresoftware.b4a.objects.drawable.CanvasWrapper _canvas = null;
+anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _destrect = null;
+ //BA.debugLineNum = 42;BA.debugLine="Sub CreateBitmapWithNumber(OriginalBitmap As Bitma";
+ //BA.debugLineNum = 43;BA.debugLine="Dim NewBitmap As Bitmap";
+_newbitmap = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
+ //BA.debugLineNum = 44;BA.debugLine="NewBitmap.InitializeMutable(OriginalBitmap.Width,";
+_newbitmap.InitializeMutable(_originalbitmap.getWidth(),_originalbitmap.getHeight());
+ //BA.debugLineNum = 45;BA.debugLine="Dim Canvas As Canvas";
+_canvas = new anywheresoftware.b4a.objects.drawable.CanvasWrapper();
+ //BA.debugLineNum = 46;BA.debugLine="Canvas.Initialize2(NewBitmap)";
+_canvas.Initialize2((android.graphics.Bitmap)(_newbitmap.getObject()));
+ //BA.debugLineNum = 48;BA.debugLine="Dim DestRect As Rect";
+_destrect = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper();
+ //BA.debugLineNum = 49;BA.debugLine="DestRect.Initialize(0, 0, OriginalBitmap.Width, O";
+_destrect.Initialize((int) (0),(int) (0),_originalbitmap.getWidth(),_originalbitmap.getHeight());
+ //BA.debugLineNum = 51;BA.debugLine="Canvas.DrawBitmap(OriginalBitmap, Null, DestRect)";
+_canvas.DrawBitmap((android.graphics.Bitmap)(_originalbitmap.getObject()),(android.graphics.Rect)(anywheresoftware.b4a.keywords.Common.Null),(android.graphics.Rect)(_destrect.getObject()));
+ //BA.debugLineNum = 53;BA.debugLine="Canvas.DrawText(Number, (OriginalBitmap.Width / 2";
+_canvas.DrawText(_ba,BA.NumberToString(_number),(float) ((_originalbitmap.getWidth()/(double)2)),(float) ((_originalbitmap.getHeight()/(double)2.4)),anywheresoftware.b4a.keywords.Common.Typeface.DEFAULT,(float) (15),anywheresoftware.b4a.keywords.Common.Colors.White,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER"));
+ //BA.debugLineNum = 54;BA.debugLine="Return NewBitmap";
+if (true) return _newbitmap;
+ //BA.debugLineNum = 55;BA.debugLine="End Sub";
+return null;
+}
public static String _cuantosvariablestengobd(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{
- //BA.debugLineNum = 1244;BA.debugLine="Sub cuantosVariablesTengoBD(promo As String) As St";
- //BA.debugLineNum = 1255;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1263;BA.debugLine="Sub cuantosVariablesTengoBD(promo As String) As St";
+ //BA.debugLineNum = 1274;BA.debugLine="End Sub";
return "";
}
public static String _dameerroresjson(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.sql.SQL _sql,int _maxerrores,boolean _comprimido) throws Exception{
@@ -922,62 +930,62 @@ anywheresoftware.b4a.objects.collections.List _l = null;
int _i = 0;
anywheresoftware.b4a.objects.collections.Map _m = null;
anywheresoftware.b4a.objects.collections.Map _m2 = null;
- //BA.debugLineNum = 468;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,";
- //BA.debugLineNum = 469;BA.debugLine="Log(\"dameErroresJSON\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("78716289","dameErroresJSON",0);
- //BA.debugLineNum = 470;BA.debugLine="Private j As JSONGenerator";
+ //BA.debugLineNum = 483;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,";
+ //BA.debugLineNum = 484;BA.debugLine="Log(\"dameErroresJSON\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("48781825","dameErroresJSON",0);
+ //BA.debugLineNum = 485;BA.debugLine="Private j As JSONGenerator";
_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator();
- //BA.debugLineNum = 471;BA.debugLine="Private lim As String";
+ //BA.debugLineNum = 486;BA.debugLine="Private lim As String";
_lim = "";
- //BA.debugLineNum = 472;BA.debugLine="Private cur As ResultSet";
+ //BA.debugLineNum = 487;BA.debugLine="Private cur As ResultSet";
_cur = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
- //BA.debugLineNum = 473;BA.debugLine="Private l As List";
+ //BA.debugLineNum = 488;BA.debugLine="Private l As List";
_l = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 474;BA.debugLine="Private i As Int = 0";
+ //BA.debugLineNum = 489;BA.debugLine="Private i As Int = 0";
_i = (int) (0);
- //BA.debugLineNum = 475;BA.debugLine="l.Initialize";
+ //BA.debugLineNum = 490;BA.debugLine="l.Initialize";
_l.Initialize();
- //BA.debugLineNum = 476;BA.debugLine="Dim m, m2 As Map";
+ //BA.debugLineNum = 491;BA.debugLine="Dim m, m2 As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
_m2 = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 477;BA.debugLine="m2.Initialize";
+ //BA.debugLineNum = 492;BA.debugLine="m2.Initialize";
_m2.Initialize();
- //BA.debugLineNum = 478;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit";
+ //BA.debugLineNum = 493;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit";
if (_maxerrores==0) {
_lim = "";}
else {
_lim = "limit "+BA.NumberToString(_maxerrores);};
- //BA.debugLineNum = 479;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order";
+ //BA.debugLineNum = 494;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order";
_cur = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_sql.ExecQuery("select * from errores order by fecha desc "+_lim)));
- //BA.debugLineNum = 480;BA.debugLine="Do While cur.NextRow";
+ //BA.debugLineNum = 495;BA.debugLine="Do While cur.NextRow";
while (_cur.NextRow()) {
- //BA.debugLineNum = 481;BA.debugLine="m.Initialize";
+ //BA.debugLineNum = 496;BA.debugLine="m.Initialize";
_m.Initialize();
- //BA.debugLineNum = 482;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))";
+ //BA.debugLineNum = 497;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))";
_m.Put((Object)("fecha"),(Object)(_cur.GetString("fecha")));
- //BA.debugLineNum = 483;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))";
+ //BA.debugLineNum = 498;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))";
_m.Put((Object)("error"),(Object)(_cur.GetString("error")));
- //BA.debugLineNum = 484;BA.debugLine="m2.Put(i,m)";
+ //BA.debugLineNum = 499;BA.debugLine="m2.Put(i,m)";
_m2.Put((Object)(_i),(Object)(_m.getObject()));
- //BA.debugLineNum = 485;BA.debugLine="i = i + 1";
+ //BA.debugLineNum = 500;BA.debugLine="i = i + 1";
_i = (int) (_i+1);
}
;
- //BA.debugLineNum = 487;BA.debugLine="cur.Close";
+ //BA.debugLineNum = 502;BA.debugLine="cur.Close";
_cur.Close();
- //BA.debugLineNum = 488;BA.debugLine="j.Initialize(m2)";
+ //BA.debugLineNum = 503;BA.debugLine="j.Initialize(m2)";
_j.Initialize(_m2);
- //BA.debugLineNum = 489;BA.debugLine="Log(j.ToString)";
-anywheresoftware.b4a.keywords.Common.LogImpl("78716309",_j.ToString(),0);
- //BA.debugLineNum = 490;BA.debugLine="If comprimido Then";
+ //BA.debugLineNum = 504;BA.debugLine="Log(j.ToString)";
+anywheresoftware.b4a.keywords.Common.LogImpl("48781845",_j.ToString(),0);
+ //BA.debugLineNum = 505;BA.debugLine="If comprimido Then";
if (_comprimido) {
- //BA.debugLineNum = 491;BA.debugLine="Return compress(j.ToString)";
+ //BA.debugLineNum = 506;BA.debugLine="Return compress(j.ToString)";
if (true) return _compress(_ba,_j.ToString());
}else {
- //BA.debugLineNum = 493;BA.debugLine="Return j.ToString";
+ //BA.debugLineNum = 508;BA.debugLine="Return j.ToString";
if (true) return _j.ToString();
};
- //BA.debugLineNum = 495;BA.debugLine="End Sub";
+ //BA.debugLineNum = 510;BA.debugLine="End Sub";
return "";
}
public static String _dameruta(anywheresoftware.b4a.BA _ba,String _inicioruta,String _origenruta) throws Exception{
@@ -985,120 +993,120 @@ String _fechainicio = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _ruta2 = "";
int _i = 0;
- //BA.debugLineNum = 149;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S";
- //BA.debugLineNum = 151;BA.debugLine="Dim fechaInicio As String";
+ //BA.debugLineNum = 164;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S";
+ //BA.debugLineNum = 166;BA.debugLine="Dim fechaInicio As String";
_fechainicio = "";
- //BA.debugLineNum = 152;BA.debugLine="Try 'incioRuta es numero";
-try { //BA.debugLineNum = 153;BA.debugLine="inicioRuta = inicioRuta * 1";
+ //BA.debugLineNum = 167;BA.debugLine="Try 'incioRuta es numero";
+try { //BA.debugLineNum = 168;BA.debugLine="inicioRuta = inicioRuta * 1";
_inicioruta = BA.NumberToString((double)(Double.parseDouble(_inicioruta))*1);
- //BA.debugLineNum = 155;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime.";
+ //BA.debugLineNum = 170;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime.";
_fechainicio = _fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(anywheresoftware.b4a.keywords.Common.DateTime.TicksPerHour*(double)(Double.parseDouble(_inicioruta)))));
}
catch (Exception e6) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 157;BA.debugLine="fechaInicio = fechaInicioHoy";
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 172;BA.debugLine="fechaInicio = fechaInicioHoy";
_fechainicio = _fechainiciohoy(_ba);
};
- //BA.debugLineNum = 160;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&";
+ //BA.debugLineNum = 175;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&";
if (_subslogs) {
-anywheresoftware.b4a.keywords.Common.LogImpl("77471115","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
- //BA.debugLineNum = 161;BA.debugLine="Dim c As Cursor";
+anywheresoftware.b4a.keywords.Common.LogImpl("47536651","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);};
+ //BA.debugLineNum = 176;BA.debugLine="Dim c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 162;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize(";
+ //BA.debugLineNum = 177;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize(";
if (_kmt.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) {
_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);};
- //BA.debugLineNum = 163;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from";
+ //BA.debugLineNum = 178;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from";
if (_subslogs) {
-anywheresoftware.b4a.keywords.Common.LogImpl("77471118","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
- //BA.debugLineNum = 164;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&";
+anywheresoftware.b4a.keywords.Common.LogImpl("47536654","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);};
+ //BA.debugLineNum = 179;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints))));
- //BA.debugLineNum = 165;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 180;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 166;BA.debugLine="Dim ruta2 As String = \"\"";
+ //BA.debugLineNum = 181;BA.debugLine="Dim ruta2 As String = \"\"";
_ruta2 = "";
- //BA.debugLineNum = 167;BA.debugLine="If c.RowCount>0 Then";
+ //BA.debugLineNum = 182;BA.debugLine="If c.RowCount>0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 168;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 183;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step16 = 1;
final int limit16 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit16 ;_i = _i + step16 ) {
- //BA.debugLineNum = 169;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 184;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 170;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt";
+ //BA.debugLineNum = 185;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt";
_ruta2 = _ruta2+anywheresoftware.b4a.keywords.Common.CRLF+_c.GetString("LAT")+","+_c.GetString("LON")+","+_c.GetString("FECHA");
- //BA.debugLineNum = 171;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH";
+ //BA.debugLineNum = 186;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._fecharuta /*String*/ = _c.GetString("FECHA");
}
};
};
- //BA.debugLineNum = 174;BA.debugLine="c.Close";
+ //BA.debugLineNum = 189;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 175;BA.debugLine="Return compress(ruta2)";
+ //BA.debugLineNum = 190;BA.debugLine="Return compress(ruta2)";
if (true) return _compress(_ba,_ruta2);
- //BA.debugLineNum = 176;BA.debugLine="End Sub";
+ //BA.debugLineNum = 191;BA.debugLine="End Sub";
return "";
}
public static String _dameusuariodedb(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _u = "";
- //BA.debugLineNum = 606;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore";
- //BA.debugLineNum = 607;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 621;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore";
+ //BA.debugLineNum = 622;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 608;BA.debugLine="Private u As String = \"SinUsuario\"";
+ //BA.debugLineNum = 623;BA.debugLine="Private u As String = \"SinUsuario\"";
_u = "SinUsuario";
- //BA.debugLineNum = 609;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD";
+ //BA.debugLineNum = 624;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD";
if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) {
_revisabd(_ba);};
- //BA.debugLineNum = 610;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 625;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 611;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 626;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 612;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 627;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")";
if (_c.getRowCount()>0) {
_u = _c.GetString("USUARIO");};
- //BA.debugLineNum = 613;BA.debugLine="c.Close";
+ //BA.debugLineNum = 628;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 614;BA.debugLine="Return u";
+ //BA.debugLineNum = 629;BA.debugLine="Return u";
if (true) return _u;
- //BA.debugLineNum = 615;BA.debugLine="End Sub";
+ //BA.debugLineNum = 630;BA.debugLine="End Sub";
return "";
}
public static String _decompress(anywheresoftware.b4a.BA _ba,String _base64) throws Exception{
byte[] _decompressedbytes = null;
anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null;
String _uncompressed = "";
- //BA.debugLineNum = 70;BA.debugLine="Sub decompress(base64 As String) As String 'ignore";
- //BA.debugLineNum = 71;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64";
+ //BA.debugLineNum = 85;BA.debugLine="Sub decompress(base64 As String) As String 'ignore";
+ //BA.debugLineNum = 86;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64";
_decompressedbytes = _su.DecodeBase64(_base64);
- //BA.debugLineNum = 73;BA.debugLine="Dim bc As ByteConverter";
+ //BA.debugLineNum = 88;BA.debugLine="Dim bc As ByteConverter";
_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter();
- //BA.debugLineNum = 74;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d";
+ //BA.debugLineNum = 89;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d";
_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8");
- //BA.debugLineNum = 75;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("77077893",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
- //BA.debugLineNum = 77;BA.debugLine="Return uncompressed";
+ //BA.debugLineNum = 90;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("47143429",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0);
+ //BA.debugLineNum = 92;BA.debugLine="Return uncompressed";
if (true) return _uncompressed;
- //BA.debugLineNum = 78;BA.debugLine="End Sub";
+ //BA.debugLineNum = 93;BA.debugLine="End Sub";
return "";
}
public static String _deleteerrorlog_db(anywheresoftware.b4a.BA _ba) throws Exception{
- //BA.debugLineNum = 186;BA.debugLine="Sub deleteErrorLog_DB 'ignore";
- //BA.debugLineNum = 187;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")";
+ //BA.debugLineNum = 201;BA.debugLine="Sub deleteErrorLog_DB 'ignore";
+ //BA.debugLineNum = 202;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")";
_errorlog.ExecNonQuery("delete from errores");
- //BA.debugLineNum = 188;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")";
+ //BA.debugLineNum = 203;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")";
_errorlog.ExecNonQuery("vacuum;");
- //BA.debugLineNum = 189;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)";
+ //BA.debugLineNum = 204;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD Errores Borrada"),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 190;BA.debugLine="End Sub";
+ //BA.debugLineNum = 205;BA.debugLine="End Sub";
return "";
}
public static String _deletefolder(anywheresoftware.b4a.BA _ba,String _folder) throws Exception{
String _f = "";
- //BA.debugLineNum = 1913;BA.debugLine="Sub deleteFolder(folder As String)";
- //BA.debugLineNum = 1914;BA.debugLine="Log(\"Borrando \" & folder)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712910593","Borrando "+_folder,0);
- //BA.debugLineNum = 1915;BA.debugLine="For Each f As String In File.ListFiles(folder)";
+ //BA.debugLineNum = 1932;BA.debugLine="Sub deleteFolder(folder As String)";
+ //BA.debugLineNum = 1933;BA.debugLine="Log(\"Borrando \" & folder)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412976129","Borrando "+_folder,0);
+ //BA.debugLineNum = 1934;BA.debugLine="For Each f As String In File.ListFiles(folder)";
{
final anywheresoftware.b4a.BA.IterableList group2 = anywheresoftware.b4a.keywords.Common.File.ListFiles(_folder);
final int groupLen2 = group2.getSize()
@@ -1106,72 +1114,72 @@ final int groupLen2 = group2.getSize()
;
for (; index2 < groupLen2;index2++){
_f = BA.ObjectToString(group2.Get(index2));
- //BA.debugLineNum = 1916;BA.debugLine="Log(f)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712910595",_f,0);
- //BA.debugLineNum = 1917;BA.debugLine="If File.IsDirectory(folder, f) Then";
+ //BA.debugLineNum = 1935;BA.debugLine="Log(f)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412976131",_f,0);
+ //BA.debugLineNum = 1936;BA.debugLine="If File.IsDirectory(folder, f) Then";
if (anywheresoftware.b4a.keywords.Common.File.IsDirectory(_folder,_f)) {
- //BA.debugLineNum = 1918;BA.debugLine="deleteFolder(File.Combine(folder, f))";
+ //BA.debugLineNum = 1937;BA.debugLine="deleteFolder(File.Combine(folder, f))";
_deletefolder(_ba,anywheresoftware.b4a.keywords.Common.File.Combine(_folder,_f));
- //BA.debugLineNum = 1919;BA.debugLine="Log($\"Borramos ${File.Combine(folder, f)}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712910598",("Borramos "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.File.Combine(_folder,_f)))+""),0);
+ //BA.debugLineNum = 1938;BA.debugLine="Log($\"Borramos ${File.Combine(folder, f)}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412976134",("Borramos "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.File.Combine(_folder,_f)))+""),0);
};
- //BA.debugLineNum = 1921;BA.debugLine="File.Delete(folder, f)";
+ //BA.debugLineNum = 1940;BA.debugLine="File.Delete(folder, f)";
anywheresoftware.b4a.keywords.Common.File.Delete(_folder,_f);
}
};
- //BA.debugLineNum = 1923;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1942;BA.debugLine="End Sub";
return "";
}
public static String _deletegps_db(anywheresoftware.b4a.BA _ba) throws Exception{
- //BA.debugLineNum = 179;BA.debugLine="Sub deleteGPS_DB 'ignore";
- //BA.debugLineNum = 180;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")";
+ //BA.debugLineNum = 194;BA.debugLine="Sub deleteGPS_DB 'ignore";
+ //BA.debugLineNum = 195;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")";
_kmt.ExecNonQuery("delete from RUTA_GPS");
- //BA.debugLineNum = 181;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
+ //BA.debugLineNum = 196;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")";
_kmt.ExecNonQuery("vacuum;");
- //BA.debugLineNum = 182;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)";
+ //BA.debugLineNum = 197;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borramos BD Coords GPS"),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 183;BA.debugLine="End Sub";
+ //BA.debugLineNum = 198;BA.debugLine="End Sub";
return "";
}
public static String _enviawhatsappmsg(anywheresoftware.b4a.BA _ba) throws Exception{
- //BA.debugLineNum = 1925;BA.debugLine="Sub enviaWhatsappMsg()";
- //BA.debugLineNum = 1960;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1944;BA.debugLine="Sub enviaWhatsappMsg()";
+ //BA.debugLineNum = 1979;BA.debugLine="End Sub";
return "";
}
public static String _fechainiciohoy(anywheresoftware.b4a.BA _ba) throws Exception{
String _origformat = "";
String _h = "";
- //BA.debugLineNum = 277;BA.debugLine="Sub fechaInicioHoy As String 'ignore";
- //BA.debugLineNum = 278;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat";
+ //BA.debugLineNum = 292;BA.debugLine="Sub fechaInicioHoy As String 'ignore";
+ //BA.debugLineNum = 293;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat";
_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat();
- //BA.debugLineNum = 279;BA.debugLine="DateTime.DateFormat=\"yyMMdd\"";
+ //BA.debugLineNum = 294;BA.debugLine="DateTime.DateFormat=\"yyMMdd\"";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd");
- //BA.debugLineNum = 280;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now";
+ //BA.debugLineNum = 295;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now";
_h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow())+"000000";
- //BA.debugLineNum = 281;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig";
+ //BA.debugLineNum = 296;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
- //BA.debugLineNum = 282;BA.debugLine="Log(\"Hoy=\"&h)";
-anywheresoftware.b4a.keywords.Common.LogImpl("78060933","Hoy="+_h,0);
- //BA.debugLineNum = 283;BA.debugLine="Return h";
+ //BA.debugLineNum = 297;BA.debugLine="Log(\"Hoy=\"&h)";
+anywheresoftware.b4a.keywords.Common.LogImpl("48126469","Hoy="+_h,0);
+ //BA.debugLineNum = 298;BA.debugLine="Return h";
if (true) return _h;
- //BA.debugLineNum = 284;BA.debugLine="End Sub";
+ //BA.debugLineNum = 299;BA.debugLine="End Sub";
return "";
}
public static String _fechakmt(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{
String _origformat = "";
String _nuevafecha = "";
- //BA.debugLineNum = 81;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore";
- //BA.debugLineNum = 83;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '";
+ //BA.debugLineNum = 96;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore";
+ //BA.debugLineNum = 98;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '";
_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat();
- //BA.debugLineNum = 84;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\"";
+ //BA.debugLineNum = 99;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\"";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss");
- //BA.debugLineNum = 85;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)";
+ //BA.debugLineNum = 100;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)";
_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha)));
- //BA.debugLineNum = 86;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d";
+ //BA.debugLineNum = 101;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
- //BA.debugLineNum = 88;BA.debugLine="Return nuevaFecha";
+ //BA.debugLineNum = 103;BA.debugLine="Return nuevaFecha";
if (true) return _nuevafecha;
- //BA.debugLineNum = 89;BA.debugLine="End Sub";
+ //BA.debugLineNum = 104;BA.debugLine="End Sub";
return "";
}
public static long _fechakmt2ticks(anywheresoftware.b4a.BA _ba,String _fkmt) throws Exception{
@@ -1179,59 +1187,59 @@ String _partefecha = "";
String _partehora = "";
String _origformat = "";
long _ticks = 0L;
- //BA.debugLineNum = 498;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore";
- //BA.debugLineNum = 499;BA.debugLine="Try";
-try { //BA.debugLineNum = 500;BA.debugLine="If fKMT.Length = 12 Then";
+ //BA.debugLineNum = 513;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore";
+ //BA.debugLineNum = 514;BA.debugLine="Try";
+try { //BA.debugLineNum = 515;BA.debugLine="If fKMT.Length = 12 Then";
if (_fkmt.length()==12) {
- //BA.debugLineNum = 501;BA.debugLine="Private parteFecha As String = fKMT.SubString2(";
+ //BA.debugLineNum = 516;BA.debugLine="Private parteFecha As String = fKMT.SubString2(";
_partefecha = _fkmt.substring((int) (0),(int) (6));
- //BA.debugLineNum = 502;BA.debugLine="Private parteHora As String = fKMT.SubString(6)";
+ //BA.debugLineNum = 517;BA.debugLine="Private parteHora As String = fKMT.SubString(6)";
_partehora = _fkmt.substring((int) (6));
- //BA.debugLineNum = 503;BA.debugLine="Private OrigFormat As String = DateTime.DateFor";
+ //BA.debugLineNum = 518;BA.debugLine="Private OrigFormat As String = DateTime.DateFor";
_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat();
- //BA.debugLineNum = 504;BA.debugLine="DateTime.DateFormat=\"yymmdd\"";
+ //BA.debugLineNum = 519;BA.debugLine="DateTime.DateFormat=\"yymmdd\"";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yymmdd");
- //BA.debugLineNum = 505;BA.debugLine="DateTime.TimeFormat=\"HHmmss\"";
+ //BA.debugLineNum = 520;BA.debugLine="DateTime.TimeFormat=\"HHmmss\"";
anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss");
- //BA.debugLineNum = 506;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse(";
+ //BA.debugLineNum = 521;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse(";
_ticks = anywheresoftware.b4a.keywords.Common.DateTime.DateTimeParse(_partefecha,_partehora);
- //BA.debugLineNum = 507;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig";
+ //BA.debugLineNum = 522;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
- //BA.debugLineNum = 508;BA.debugLine="Return ticks";
+ //BA.debugLineNum = 523;BA.debugLine="Return ticks";
if (true) return _ticks;
}else {
- //BA.debugLineNum = 510;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '";
-anywheresoftware.b4a.keywords.Common.LogImpl("78781836","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
- //BA.debugLineNum = 511;BA.debugLine="Return 0";
+ //BA.debugLineNum = 525;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '";
+anywheresoftware.b4a.keywords.Common.LogImpl("48847372","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0);
+ //BA.debugLineNum = 526;BA.debugLine="Return 0";
if (true) return (long) (0);
};
}
catch (Exception e16) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 514;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("78781840",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
- //BA.debugLineNum = 515;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p";
-anywheresoftware.b4a.keywords.Common.LogImpl("78781841",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
- //BA.debugLineNum = 516;BA.debugLine="Return 0";
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 529;BA.debugLine="Log(LastException)";
+anywheresoftware.b4a.keywords.Common.LogImpl("48847376",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+ //BA.debugLineNum = 530;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p";
+anywheresoftware.b4a.keywords.Common.LogImpl("48847377",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ //BA.debugLineNum = 531;BA.debugLine="Return 0";
if (true) return (long) (0);
};
- //BA.debugLineNum = 518;BA.debugLine="End Sub";
+ //BA.debugLineNum = 533;BA.debugLine="End Sub";
return 0L;
}
public static String _fechanormal(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{
String _origformat = "";
String _nuevafecha = "";
- //BA.debugLineNum = 214;BA.debugLine="Sub fechanormal(fecha As String) As String 'ignore";
- //BA.debugLineNum = 216;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '";
+ //BA.debugLineNum = 229;BA.debugLine="Sub fechanormal(fecha As String) As String 'ignore";
+ //BA.debugLineNum = 231;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '";
_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat();
- //BA.debugLineNum = 217;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\"";
+ //BA.debugLineNum = 232;BA.debugLine="DateTime.DateFormat = \"YYYY/MM/dd HH:mm:ss\"";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("YYYY/MM/dd HH:mm:ss");
- //BA.debugLineNum = 218;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)";
+ //BA.debugLineNum = 233;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)";
_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha)));
- //BA.debugLineNum = 219;BA.debugLine="DateTime.DateFormat = OrigFormat 'return to orig";
+ //BA.debugLineNum = 234;BA.debugLine="DateTime.DateFormat = OrigFormat 'return to orig";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
- //BA.debugLineNum = 221;BA.debugLine="Return nuevaFecha";
+ //BA.debugLineNum = 236;BA.debugLine="Return nuevaFecha";
if (true) return _nuevafecha;
- //BA.debugLineNum = 222;BA.debugLine="End Sub";
+ //BA.debugLineNum = 237;BA.debugLine="End Sub";
return "";
}
public static String _getphnid(anywheresoftware.b4a.BA _ba) throws Exception{
@@ -1263,19 +1271,19 @@ if (true) return _devmodel;
return "";
}
public static String _getssid(anywheresoftware.b4a.BA _ba) throws Exception{
- //BA.debugLineNum = 225;BA.debugLine="Sub getSSID 'ignore";
- //BA.debugLineNum = 230;BA.debugLine="End Sub";
+ //BA.debugLineNum = 240;BA.debugLine="Sub getSSID 'ignore";
+ //BA.debugLineNum = 245;BA.debugLine="End Sub";
return "";
}
public static String _guardaappinfo(anywheresoftware.b4a.BA _ba) throws Exception{
- //BA.debugLineNum = 1314;BA.debugLine="Sub guardaAppInfo 'ignore";
- //BA.debugLineNum = 1315;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 1333;BA.debugLine="Sub guardaAppInfo 'ignore";
+ //BA.debugLineNum = 1334;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'");
- //BA.debugLineNum = 1316;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
+ //BA.debugLineNum = 1335;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getLabelName()))+"')"));
- //BA.debugLineNum = 1317;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
+ //BA.debugLineNum = 1336;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+"')"));
- //BA.debugLineNum = 1318;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1337;BA.debugLine="End Sub";
return "";
}
public static String _guardainfoenarchivo(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{
@@ -1285,145 +1293,145 @@ String _ubic = "";
anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null;
String _s = "";
byte[] _t = null;
- //BA.debugLineNum = 120;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore";
- //BA.debugLineNum = 122;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa";
+ //BA.debugLineNum = 135;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore";
+ //BA.debugLineNum = 137;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa";
_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat();
- //BA.debugLineNum = 123;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\"";
+ //BA.debugLineNum = 138;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\"";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MMM-dd HH:mm:ss");
- //BA.debugLineNum = 124;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N";
+ //BA.debugLineNum = 139;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N";
_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
- //BA.debugLineNum = 125;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d";
+ //BA.debugLineNum = 140;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat);
- //BA.debugLineNum = 127;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate";
+ //BA.debugLineNum = 142;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate";
_ubic = _coords+","+_lastupdate;
- //BA.debugLineNum = 128;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di";
+ //BA.debugLineNum = 143;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di";
_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper();
_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirRootExternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.True);
- //BA.debugLineNum = 129;BA.debugLine="Dim s As String = ubic & CRLF";
+ //BA.debugLineNum = 144;BA.debugLine="Dim s As String = ubic & CRLF";
_s = _ubic+anywheresoftware.b4a.keywords.Common.CRLF;
- //BA.debugLineNum = 130;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")";
+ //BA.debugLineNum = 145;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")";
_t = _s.getBytes("UTF-8");
- //BA.debugLineNum = 131;BA.debugLine="out.WriteBytes(t, 0, t.Length)";
+ //BA.debugLineNum = 146;BA.debugLine="out.WriteBytes(t, 0, t.Length)";
_out.WriteBytes(_t,(int) (0),_t.length);
- //BA.debugLineNum = 132;BA.debugLine="out.Close";
+ //BA.debugLineNum = 147;BA.debugLine="out.Close";
_out.Close();
- //BA.debugLineNum = 133;BA.debugLine="End Sub";
+ //BA.debugLineNum = 148;BA.debugLine="End Sub";
return "";
}
public static String _guardainfoenbd(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{
String[] _latlon = null;
- //BA.debugLineNum = 136;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore";
- //BA.debugLineNum = 137;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)";
-anywheresoftware.b4a.keywords.Common.LogImpl("77405569","Guardamos ubicacion en BD - "+_coords,0);
- //BA.debugLineNum = 138;BA.debugLine="Try";
-try { //BA.debugLineNum = 139;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord";
+ //BA.debugLineNum = 151;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore";
+ //BA.debugLineNum = 152;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)";
+anywheresoftware.b4a.keywords.Common.LogImpl("47471105","Guardamos ubicacion en BD - "+_coords,0);
+ //BA.debugLineNum = 153;BA.debugLine="Try";
+try { //BA.debugLineNum = 154;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord";
_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords);
- //BA.debugLineNum = 140;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\"";
+ //BA.debugLineNum = 155;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\"";
if (_latlon.length<2) {
_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);};
- //BA.debugLineNum = 141;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)";
+ //BA.debugLineNum = 156;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)";
if (_subslogs) {
-anywheresoftware.b4a.keywords.Common.LogImpl("77405573","LatLon="+BA.ObjectToString(_latlon),0);};
- //BA.debugLineNum = 142;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L";
+anywheresoftware.b4a.keywords.Common.LogImpl("47471109","LatLon="+BA.ObjectToString(_latlon),0);};
+ //BA.debugLineNum = 157;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L";
_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])}));
}
catch (Exception e8) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 144;BA.debugLine="LogColor(LastException, Colors.red)";
-anywheresoftware.b4a.keywords.Common.LogImpl("77405576",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 159;BA.debugLine="LogColor(LastException, Colors.red)";
+anywheresoftware.b4a.keywords.Common.LogImpl("47471112",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
- //BA.debugLineNum = 146;BA.debugLine="End Sub";
+ //BA.debugLineNum = 161;BA.debugLine="End Sub";
return "";
}
public static String _guardaproducto(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
- //BA.debugLineNum = 861;BA.debugLine="Sub guardaProducto(cedis As String, costoU As Stri";
- //BA.debugLineNum = 862;BA.debugLine="LogColor(\"guardaProducto: \"&prodId&\", cant=\"&cant";
-anywheresoftware.b4a.keywords.Common.LogImpl("710485761","guardaProducto: "+_prodid+", cant="+_cant+" - TV:"+_tipoventa,anywheresoftware.b4a.keywords.Common.Colors.Magenta);
- //BA.debugLineNum = 863;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 876;BA.debugLine="Sub guardaProducto(cedis As String, costoU As Stri";
+ //BA.debugLineNum = 877;BA.debugLine="LogColor(\"guardaProducto: \"&prodId&\", cant=\"&cant";
+anywheresoftware.b4a.keywords.Common.LogImpl("410551297","guardaProducto: "+_prodid+", cant="+_cant+" - TV:"+_tipoventa,anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+ //BA.debugLineNum = 878;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 864;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
+ //BA.debugLineNum = 879;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_traerutabitacora(_ba)),(Object)(_preciosin),(Object)(_tipoventa)}));
- //BA.debugLineNum = 865;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${t";
+ //BA.debugLineNum = 880;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${t";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)}));
- //BA.debugLineNum = 866;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe";
+ //BA.debugLineNum = 881;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 867;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 882;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 868;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
+ //BA.debugLineNum = 883;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");
- //BA.debugLineNum = 869;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into";
+ //BA.debugLineNum = 884;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_c.GetString("TOTAL_CLIE_SIN"))}));
- //BA.debugLineNum = 870;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i";
+ //BA.debugLineNum = 885;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info3 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)");
- //BA.debugLineNum = 871;BA.debugLine="End Sub";
+ //BA.debugLineNum = 886;BA.debugLine="End Sub";
return "";
}
public static String _guardaproductosin(anywheresoftware.b4a.BA _ba,String _cedis,String _costotot,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipov,String _precio2,String _query) throws Exception{
- //BA.debugLineNum = 626;BA.debugLine="Sub guardaProductoSin(cedis As String, costoTot As";
- //BA.debugLineNum = 639;BA.debugLine="ToastMessageShow(\"guardaProdSin\", False)";
+ //BA.debugLineNum = 641;BA.debugLine="Sub guardaProductoSin(cedis As String, costoTot As";
+ //BA.debugLineNum = 654;BA.debugLine="ToastMessageShow(\"guardaProdSin\", False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("guardaProdSin"),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 640;BA.debugLine="End Sub";
+ //BA.debugLineNum = 655;BA.debugLine="End Sub";
return "";
}
public static String _guardaproductosingestion(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _futuro,String _aplicades) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
- //BA.debugLineNum = 1833;BA.debugLine="Sub guardaProductoSinGestion(cedis As String, cost";
- //BA.debugLineNum = 1834;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(guar";
+ //BA.debugLineNum = 1852;BA.debugLine="Sub guardaProductoSinGestion(cedis As String, cost";
+ //BA.debugLineNum = 1853;BA.debugLine="If nombre.Length < 6 Then ToastMessageShow(\"(guar";
if (_nombre.length()<6) {
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("(guardaProductoSinGestion) El nombre del producto no es valido "+_nombre),anywheresoftware.b4a.keywords.Common.True);};
- //BA.debugLineNum = 1835;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal";
+ //BA.debugLineNum = 1854;BA.debugLine="precioSin = NumberFormat2(precioSin, 1, 2, 2, Fal";
_preciosin = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_preciosin)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 1836;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)";
+ //BA.debugLineNum = 1855;BA.debugLine="costoU = NumberFormat2(costoU, 1, 2, 2, False)";
_costou = anywheresoftware.b4a.keywords.Common.NumberFormat2((double)(Double.parseDouble(_costou)),(int) (1),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 1838;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 1857;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 1841;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (P";
+ //BA.debugLineNum = 1860;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO PEDIDO (P";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_RUTA, PE_COSTO_SIN, PE_FOLIO,PE_FUTURO,PE_DESC) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa),(Object)(_futuro),(Object)(_aplicades)}));
- //BA.debugLineNum = 1843;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuery2";
+ //BA.debugLineNum = 1862;BA.debugLine="If cedis <> \"DUR\" Then Starter.skmt.ExecNonQuery2";
if ((_cedis).equals("DUR") == false) {
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_tipoventa)))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)}));};
- //BA.debugLineNum = 1844;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot";
+ //BA.debugLineNum = 1863;BA.debugLine="c=Starter.skmt.ExecQuery(\"select sum(pe_costo_tot";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 1845;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 1864;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1848;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido_cl";
+ //BA.debugLineNum = 1867;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido_cl";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"));
- //BA.debugLineNum = 1849;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into pedido_cl";
+ //BA.debugLineNum = 1868;BA.debugLine="Starter.skmt.ExecNonQuery2(\"insert into pedido_cl";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_rutav),(Object)(_c.GetString("TOTAL_CLIE_SIN"))}));
- //BA.debugLineNum = 1850;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1869;BA.debugLine="End Sub";
return "";
}
public static String _guardaproductox(anywheresoftware.b4a.BA _ba,String _cedis,String _costotot,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _tipov,String _precio2,String _query) throws Exception{
- //BA.debugLineNum = 618;BA.debugLine="Sub guardaProductoX(cedis As String, costoTot As S";
- //BA.debugLineNum = 624;BA.debugLine="End Sub";
+ //BA.debugLineNum = 633;BA.debugLine="Sub guardaProductoX(cedis As String, costoTot As S";
+ //BA.debugLineNum = 639;BA.debugLine="End Sub";
return "";
}
public static String _guardavariable(anywheresoftware.b4a.BA _ba,String _nombre,String _valor) throws Exception{
- //BA.debugLineNum = 1890;BA.debugLine="Sub guardaVariable(nombre As String, valor As Stri";
- //BA.debugLineNum = 1891;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from";
+ //BA.debugLineNum = 1909;BA.debugLine="Sub guardaVariable(nombre As String, valor As Stri";
+ //BA.debugLineNum = 1910;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete from";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+"'"));
- //BA.debugLineNum = 1892;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
+ //BA.debugLineNum = 1911;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"insert into";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+"', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_valor))+"')"));
- //BA.debugLineNum = 1893;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1912;BA.debugLine="End Sub";
return "";
}
public static boolean _haypedido(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _thisc = null;
boolean _hay = false;
- //BA.debugLineNum = 852;BA.debugLine="Sub hayPedido As Boolean";
- //BA.debugLineNum = 853;BA.debugLine="Private thisC As Cursor=B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 867;BA.debugLine="Sub hayPedido As Boolean";
+ //BA.debugLineNum = 868;BA.debugLine="Private thisC As Cursor=B4XPages.MainPage.skmt.Ex";
_thisc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_thisc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(PE_CLIENTE) as hayPedido from PEDIDO where PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"))));
- //BA.debugLineNum = 854;BA.debugLine="thisC.Position=0";
+ //BA.debugLineNum = 869;BA.debugLine="thisC.Position=0";
_thisc.setPosition((int) (0));
- //BA.debugLineNum = 855;BA.debugLine="Private hay As Boolean = False";
+ //BA.debugLineNum = 870;BA.debugLine="Private hay As Boolean = False";
_hay = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 856;BA.debugLine="If thisC.GetInt(\"hayPedido\") > 0 Then hay = True";
+ //BA.debugLineNum = 871;BA.debugLine="If thisC.GetInt(\"hayPedido\") > 0 Then hay = True";
if (_thisc.GetInt("hayPedido")>0) {
_hay = anywheresoftware.b4a.keywords.Common.True;};
- //BA.debugLineNum = 858;BA.debugLine="Return hay";
+ //BA.debugLineNum = 873;BA.debugLine="Return hay";
if (true) return _hay;
- //BA.debugLineNum = 859;BA.debugLine="End Sub";
+ //BA.debugLineNum = 874;BA.debugLine="End Sub";
return false;
}
public static String _importabddesdewhatsapp(anywheresoftware.b4a.BA _ba) throws Exception{
@@ -1431,208 +1439,208 @@ String _xmldata = "";
anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outstr = null;
anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _instr = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null;
- //BA.debugLineNum = 1708;BA.debugLine="Sub importaBDDesdeWhatsApp";
- //BA.debugLineNum = 1710;BA.debugLine="Log(\"Revisamos intent de importar desde whatsapp\"";
-anywheresoftware.b4a.keywords.Common.LogImpl("712255234","Revisamos intent de importar desde whatsapp",0);
- //BA.debugLineNum = 1711;BA.debugLine="Log(B4XPages.MainPage.intentUsado)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712255235",BA.ObjectToString(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ ),0);
- //BA.debugLineNum = 1712;BA.debugLine="Log(in)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712255236",BA.ObjectToString(_in),0);
- //BA.debugLineNum = 1713;BA.debugLine="If Not(in.IsInitialized) Then in = B4XPages.GetNa";
+ //BA.debugLineNum = 1727;BA.debugLine="Sub importaBDDesdeWhatsApp";
+ //BA.debugLineNum = 1729;BA.debugLine="Log(\"Revisamos intent de importar desde whatsapp\"";
+anywheresoftware.b4a.keywords.Common.LogImpl("412320770","Revisamos intent de importar desde whatsapp",0);
+ //BA.debugLineNum = 1730;BA.debugLine="Log(B4XPages.MainPage.intentUsado)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412320771",BA.ObjectToString(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ ),0);
+ //BA.debugLineNum = 1731;BA.debugLine="Log(in)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412320772",BA.ObjectToString(_in),0);
+ //BA.debugLineNum = 1732;BA.debugLine="If Not(in.IsInitialized) Then in = B4XPages.GetNa";
if (anywheresoftware.b4a.keywords.Common.Not(_in.IsInitialized())) {
_in = mostCurrent._b4xpages._getnativeparent /*anywheresoftware.b4a.objects.ActivityWrapper*/ (_ba,(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba))).GetStartingIntent();};
- //BA.debugLineNum = 1714;BA.debugLine="If Not(B4XPages.MainPage.intentUsado) And in <> N";
+ //BA.debugLineNum = 1733;BA.debugLine="If Not(B4XPages.MainPage.intentUsado) And in <> N";
if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ ) && _in!= null) {
- //BA.debugLineNum = 1716;BA.debugLine="LogColor(\"Importamos base de datos desde Whatsap";
-anywheresoftware.b4a.keywords.Common.LogImpl("712255240","Importamos base de datos desde Whatsapp.",anywheresoftware.b4a.keywords.Common.Colors.Blue);
- //BA.debugLineNum = 1717;BA.debugLine="B4XPages.MainPage.intentUsado = True";
+ //BA.debugLineNum = 1735;BA.debugLine="LogColor(\"Importamos base de datos desde Whatsap";
+anywheresoftware.b4a.keywords.Common.LogImpl("412320776","Importamos base de datos desde Whatsapp.",anywheresoftware.b4a.keywords.Common.Colors.Blue);
+ //BA.debugLineNum = 1736;BA.debugLine="B4XPages.MainPage.intentUsado = True";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._intentusado /*boolean*/ = anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 1719;BA.debugLine="If in.GetData <> Null Then";
+ //BA.debugLineNum = 1738;BA.debugLine="If in.GetData <> Null Then";
if (_in.GetData()!= null) {
- //BA.debugLineNum = 1720;BA.debugLine="Dim XmlData As String";
+ //BA.debugLineNum = 1739;BA.debugLine="Dim XmlData As String";
_xmldata = "";
- //BA.debugLineNum = 1721;BA.debugLine="XmlData = in.GetData";
+ //BA.debugLineNum = 1740;BA.debugLine="XmlData = in.GetData";
_xmldata = _in.GetData();
- //BA.debugLineNum = 1722;BA.debugLine="Try";
-try { //BA.debugLineNum = 1723;BA.debugLine="Dim OutStr As OutputStream = File.OpenOutput(F";
+ //BA.debugLineNum = 1741;BA.debugLine="Try";
+try { //BA.debugLineNum = 1742;BA.debugLine="Dim OutStr As OutputStream = File.OpenOutput(F";
_outstr = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper();
_outstr = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.False);
- //BA.debugLineNum = 1724;BA.debugLine="Dim InStr As InputStream = File.OpenInput(\"Con";
+ //BA.debugLineNum = 1743;BA.debugLine="Dim InStr As InputStream = File.OpenInput(\"Con";
_instr = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
_instr = anywheresoftware.b4a.keywords.Common.File.OpenInput("ContentDir",_xmldata);
- //BA.debugLineNum = 1725;BA.debugLine="File.Copy2(InStr,OutStr)";
+ //BA.debugLineNum = 1744;BA.debugLine="File.Copy2(InStr,OutStr)";
anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_instr.getObject()),(java.io.OutputStream)(_outstr.getObject()));
- //BA.debugLineNum = 1726;BA.debugLine="LogColor(\"BD copiada a interna.\", Colors.Blue)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712255250","BD copiada a interna.",anywheresoftware.b4a.keywords.Common.Colors.Blue);
- //BA.debugLineNum = 1727;BA.debugLine="OutStr.Close";
+ //BA.debugLineNum = 1745;BA.debugLine="LogColor(\"BD copiada a interna.\", Colors.Blue)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412320786","BD copiada a interna.",anywheresoftware.b4a.keywords.Common.Colors.Blue);
+ //BA.debugLineNum = 1746;BA.debugLine="OutStr.Close";
_outstr.Close();
- //BA.debugLineNum = 1728;BA.debugLine="If in.As(String).Contains(\"whatsapp\") Then Toa";
+ //BA.debugLineNum = 1747;BA.debugLine="If in.As(String).Contains(\"whatsapp\") Then Toa";
if ((BA.ObjectToString(_in)).contains("whatsapp")) {
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD cargada desde Whatsapp"),anywheresoftware.b4a.keywords.Common.False);};
}
catch (Exception e19) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19); //BA.debugLineNum = 1730;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712255254",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e19); //BA.debugLineNum = 1749;BA.debugLine="Log(LastException)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412320790",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
};
- //BA.debugLineNum = 1735;BA.debugLine="Private a As Cursor = Starter.skmt.ExecQuery($\"";
+ //BA.debugLineNum = 1754;BA.debugLine="Private a As Cursor = Starter.skmt.ExecQuery($\"";
_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'APP_NAME'"))));
- //BA.debugLineNum = 1736;BA.debugLine="If a.RowCount > 0 Then";
+ //BA.debugLineNum = 1755;BA.debugLine="If a.RowCount > 0 Then";
if (_a.getRowCount()>0) {
- //BA.debugLineNum = 1737;BA.debugLine="a.Position = 0";
+ //BA.debugLineNum = 1756;BA.debugLine="a.Position = 0";
_a.setPosition((int) (0));
- //BA.debugLineNum = 1738;BA.debugLine="ToastMessageShow($\"BD de \"${a.GetString(\"CAT_V";
+ //BA.debugLineNum = 1757;BA.debugLine="ToastMessageShow($\"BD de \"${a.GetString(\"CAT_V";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence(("BD de \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_a.GetString("CAT_VA_VALOR")))+"\" cargada.")),anywheresoftware.b4a.keywords.Common.True);
};
- //BA.debugLineNum = 1740;BA.debugLine="a = Starter.skmt.ExecQuery($\"select * from usua";
+ //BA.debugLineNum = 1759;BA.debugLine="a = Starter.skmt.ExecQuery($\"select * from usua";
_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from usuarioa"))));
- //BA.debugLineNum = 1741;BA.debugLine="If a.RowCount > 0 Then";
+ //BA.debugLineNum = 1760;BA.debugLine="If a.RowCount > 0 Then";
if (_a.getRowCount()>0) {
- //BA.debugLineNum = 1742;BA.debugLine="a.Position = 0";
+ //BA.debugLineNum = 1761;BA.debugLine="a.Position = 0";
_a.setPosition((int) (0));
- //BA.debugLineNum = 1743;BA.debugLine="B4XPages.MainPage.user.Text = a.GetString(\"USU";
+ //BA.debugLineNum = 1762;BA.debugLine="B4XPages.MainPage.user.Text = a.GetString(\"USU";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._user /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_a.GetString("USUARIO")));
- //BA.debugLineNum = 1744;BA.debugLine="B4XPages.MainPage.pass.Text = a.GetString(\"PAS";
+ //BA.debugLineNum = 1763;BA.debugLine="B4XPages.MainPage.pass.Text = a.GetString(\"PAS";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._pass /*anywheresoftware.b4a.objects.EditTextWrapper*/ .setText(BA.ObjectToCharSequence(_a.GetString("PASS")));
};
};
};
- //BA.debugLineNum = 1748;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1767;BA.debugLine="End Sub";
return "";
}
public static String _iniciaactividad(anywheresoftware.b4a.BA _ba,String _ia) throws Exception{
- //BA.debugLineNum = 1516;BA.debugLine="Sub iniciaActividad(ia As String)";
- //BA.debugLineNum = 1517;BA.debugLine="If ia <> \"\" And ia <> Null Then";
+ //BA.debugLineNum = 1535;BA.debugLine="Sub iniciaActividad(ia As String)";
+ //BA.debugLineNum = 1536;BA.debugLine="If ia <> \"\" And ia <> Null Then";
if ((_ia).equals("") == false && _ia!= null) {
- //BA.debugLineNum = 1519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro";
+ //BA.debugLineNum = 1538;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ULTIMOMODULO")}));
- //BA.debugLineNum = 1520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
+ //BA.debugLineNum = 1539;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ULTIMOMODULO"),(Object)(_ia)}));
- //BA.debugLineNum = 1521;BA.debugLine="B4XPages.ShowPage(ia)";
+ //BA.debugLineNum = 1540;BA.debugLine="B4XPages.ShowPage(ia)";
mostCurrent._b4xpages._showpage /*String*/ (_ba,_ia);
};
- //BA.debugLineNum = 1524;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1543;BA.debugLine="End Sub";
return "";
}
public static String _insertarenglonespruebaenerrorlog(anywheresoftware.b4a.BA _ba) throws Exception{
int _x = 0;
- //BA.debugLineNum = 458;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore";
- //BA.debugLineNum = 459;BA.debugLine="revisaBD";
+ //BA.debugLineNum = 473;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore";
+ //BA.debugLineNum = 474;BA.debugLine="revisaBD";
_revisabd(_ba);
- //BA.debugLineNum = 460;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("78650754","insertamos 50 renglones a errorLog",0);
- //BA.debugLineNum = 461;BA.debugLine="For x = 1 To 50";
+ //BA.debugLineNum = 475;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("48716290","insertamos 50 renglones a errorLog",0);
+ //BA.debugLineNum = 476;BA.debugLine="For x = 1 To 50";
{
final int step3 = 1;
final int limit3 = (int) (50);
_x = (int) (1) ;
for (;_x <= limit3 ;_x = _x + step3 ) {
- //BA.debugLineNum = 462;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech";
+ //BA.debugLineNum = 477;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech";
_errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)("abc")}));
- //BA.debugLineNum = 463;BA.debugLine="Log(x)";
-anywheresoftware.b4a.keywords.Common.LogImpl("78650757",BA.NumberToString(_x),0);
+ //BA.debugLineNum = 478;BA.debugLine="Log(x)";
+anywheresoftware.b4a.keywords.Common.LogImpl("48716293",BA.NumberToString(_x),0);
}
};
- //BA.debugLineNum = 465;BA.debugLine="End Sub";
+ //BA.debugLineNum = 480;BA.debugLine="End Sub";
return "";
}
public static String _installapk(anywheresoftware.b4a.BA _ba,String _dir,String _apk) throws Exception{
anywheresoftware.b4a.objects.IntentWrapper _i = null;
- //BA.debugLineNum = 520;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno";
- //BA.debugLineNum = 521;BA.debugLine="If File.Exists(dir, apk) Then";
+ //BA.debugLineNum = 535;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno";
+ //BA.debugLineNum = 536;BA.debugLine="If File.Exists(dir, apk) Then";
if (anywheresoftware.b4a.keywords.Common.File.Exists(_dir,_apk)) {
- //BA.debugLineNum = 522;BA.debugLine="Dim i As Intent";
+ //BA.debugLineNum = 537;BA.debugLine="Dim i As Intent";
_i = new anywheresoftware.b4a.objects.IntentWrapper();
- //BA.debugLineNum = 523;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com";
+ //BA.debugLineNum = 538;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com";
_i.Initialize(_i.ACTION_VIEW,"file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_dir,_apk));
- //BA.debugLineNum = 524;BA.debugLine="i.SetType(\"application/vnd.android.package-archi";
+ //BA.debugLineNum = 539;BA.debugLine="i.SetType(\"application/vnd.android.package-archi";
_i.SetType("application/vnd.android.package-archive");
- //BA.debugLineNum = 525;BA.debugLine="StartActivity(i)";
+ //BA.debugLineNum = 540;BA.debugLine="StartActivity(i)";
anywheresoftware.b4a.keywords.Common.StartActivity((_ba.processBA == null ? _ba : _ba.processBA),(Object)(_i.getObject()));
};
- //BA.debugLineNum = 527;BA.debugLine="End Sub";
+ //BA.debugLineNum = 542;BA.debugLine="End Sub";
return "";
}
public static boolean _invsuficientepromoesp(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _y = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
int _i = 0;
- //BA.debugLineNum = 1374;BA.debugLine="Sub InvSuficientePromoEsp As Boolean";
- //BA.debugLineNum = 1375;BA.debugLine="Private y As Boolean = False";
+ //BA.debugLineNum = 1393;BA.debugLine="Sub InvSuficientePromoEsp As Boolean";
+ //BA.debugLineNum = 1394;BA.debugLine="Private y As Boolean = False";
_y = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1376;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1395;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_DP_IDPROD, CAT_DP_PZAS, ifnull(CAT_GP_ALMACEN, 0) As CAT_GP_ALMACEN from CAT_DETALLES_PAQ left JOIN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" ON CAT_DP_IDPROD = CAT_GP_ID WHERE CAT_DP_ID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP)"))));
- //BA.debugLineNum = 1377;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1396;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1378;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 1397;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step4 = 1;
final int limit4 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit4 ;_i = _i + step4 ) {
- //BA.debugLineNum = 1379;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 1398;BA.debugLine="c.Position = i";
_c.setPosition(_i);
- //BA.debugLineNum = 1380;BA.debugLine="If c.GetString(\"CAT_GP_ALMACEN\") >= c.GetString";
+ //BA.debugLineNum = 1399;BA.debugLine="If c.GetString(\"CAT_GP_ALMACEN\") >= c.GetString";
if ((double)(Double.parseDouble(_c.GetString("CAT_GP_ALMACEN")))>=(double)(Double.parseDouble(_c.GetString("CAT_DP_PZAS")))) {
- //BA.debugLineNum = 1381;BA.debugLine="y = True";
+ //BA.debugLineNum = 1400;BA.debugLine="y = True";
_y = anywheresoftware.b4a.keywords.Common.True;
}else {
- //BA.debugLineNum = 1385;BA.debugLine="y = False";
+ //BA.debugLineNum = 1404;BA.debugLine="y = False";
_y = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1388;BA.debugLine="Exit";
+ //BA.debugLineNum = 1407;BA.debugLine="Exit";
if (true) break;
};
}
};
};
- //BA.debugLineNum = 1392;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1411;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1393;BA.debugLine="Return y";
+ //BA.debugLineNum = 1412;BA.debugLine="Return y";
if (true) return _y;
- //BA.debugLineNum = 1394;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1413;BA.debugLine="End Sub";
return false;
}
public static anywheresoftware.b4a.objects.collections.Map _json2map(anywheresoftware.b4a.BA _ba,String _thejson) throws Exception{
anywheresoftware.b4a.objects.collections.JSONParser _json = null;
anywheresoftware.b4a.objects.collections.Map _m = null;
- //BA.debugLineNum = 233;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore";
- //BA.debugLineNum = 235;BA.debugLine="Try";
-try { //BA.debugLineNum = 236;BA.debugLine="Private json As JSONParser";
+ //BA.debugLineNum = 248;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore";
+ //BA.debugLineNum = 250;BA.debugLine="Try";
+try { //BA.debugLineNum = 251;BA.debugLine="Private json As JSONParser";
_json = new anywheresoftware.b4a.objects.collections.JSONParser();
- //BA.debugLineNum = 237;BA.debugLine="json.Initialize(theJson)";
+ //BA.debugLineNum = 252;BA.debugLine="json.Initialize(theJson)";
_json.Initialize(_thejson);
- //BA.debugLineNum = 238;BA.debugLine="Return json.NextObject";
+ //BA.debugLineNum = 253;BA.debugLine="Return json.NextObject";
if (true) return _json.NextObject();
}
catch (Exception e6) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 240;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("77929863",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
- //BA.debugLineNum = 241;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)";
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 255;BA.debugLine="Log(LastException)";
+anywheresoftware.b4a.keywords.Common.LogImpl("47995399",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+ //BA.debugLineNum = 256;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)";
_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)));
- //BA.debugLineNum = 242;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene";
+ //BA.debugLineNum = 257;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene";
_m = new anywheresoftware.b4a.objects.collections.Map();
_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("title"),(Object)("Error generating JSON"),(Object)("t"),(Object)("Error"),(Object)("Message"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject()),(Object)("text"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject())});
- //BA.debugLineNum = 243;BA.debugLine="Return m";
+ //BA.debugLineNum = 258;BA.debugLine="Return m";
if (true) return _m;
};
- //BA.debugLineNum = 245;BA.debugLine="End Sub";
+ //BA.debugLineNum = 260;BA.debugLine="End Sub";
return null;
}
public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{
- //BA.debugLineNum = 287;BA.debugLine="Sub log2DB(texto As String) 'ignore";
- //BA.debugLineNum = 288;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te";
-anywheresoftware.b4a.keywords.Common.LogImpl("78126465",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray);
- //BA.debugLineNum = 289;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te";
+ //BA.debugLineNum = 302;BA.debugLine="Sub log2DB(texto As String) 'ignore";
+ //BA.debugLineNum = 303;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te";
+anywheresoftware.b4a.keywords.Common.LogImpl("48192001",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray);
+ //BA.debugLineNum = 304;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te";
_kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_texto)}));
- //BA.debugLineNum = 290;BA.debugLine="End Sub";
+ //BA.debugLineNum = 305;BA.debugLine="End Sub";
return "";
}
public static String _logjobdoneresultados(anywheresoftware.b4a.BA _ba,gunav2.keymon.com.mx.dbrequestmanager._dbresult _resultado) throws Exception{
Object[] _records = null;
String _k = "";
- //BA.debugLineNum = 2488;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult)";
- //BA.debugLineNum = 2489;BA.debugLine="For Each records() As Object In resultado.Rows";
+ //BA.debugLineNum = 2507;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult)";
+ //BA.debugLineNum = 2508;BA.debugLine="For Each records() As Object In resultado.Rows";
{
final anywheresoftware.b4a.BA.IterableList group1 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen1 = group1.getSize()
@@ -1640,9 +1648,9 @@ final int groupLen1 = group1.getSize()
;
for (; index1 < groupLen1;index1++){
_records = (Object[])(group1.Get(index1));
- //BA.debugLineNum = 2490;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS =";
-anywheresoftware.b4a.keywords.Common.LogImpl("713893634",("====== "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0)));
- //BA.debugLineNum = 2491;BA.debugLine="For Each k As String In resultado.Columns.Keys";
+ //BA.debugLineNum = 2509;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS =";
+anywheresoftware.b4a.keywords.Common.LogImpl("413959170",("====== "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0)));
+ //BA.debugLineNum = 2510;BA.debugLine="For Each k As String In resultado.Columns.Keys";
{
final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys();
final int groupLen3 = group3.getSize()
@@ -1650,166 +1658,166 @@ final int groupLen3 = group3.getSize()
;
for (; index3 < groupLen3;index3++){
_k = BA.ObjectToString(group3.Get(index3));
- //BA.debugLineNum = 2492;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns.";
-anywheresoftware.b4a.keywords.Common.LogImpl("713893636",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0)));
+ //BA.debugLineNum = 2511;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns.";
+anywheresoftware.b4a.keywords.Common.LogImpl("413959172",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0)));
}
};
}
};
- //BA.debugLineNum = 2495;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2514;BA.debugLine="End Sub";
return "";
}
public static String _map2json(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{
anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _jg = null;
String _t = "";
- //BA.debugLineNum = 248;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore";
- //BA.debugLineNum = 251;BA.debugLine="Dim jg As JSONGenerator";
+ //BA.debugLineNum = 263;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore";
+ //BA.debugLineNum = 266;BA.debugLine="Dim jg As JSONGenerator";
_jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator();
- //BA.debugLineNum = 252;BA.debugLine="jg.Initialize(m)";
+ //BA.debugLineNum = 267;BA.debugLine="jg.Initialize(m)";
_jg.Initialize(_m);
- //BA.debugLineNum = 253;BA.debugLine="Dim t As String = jg.ToString";
+ //BA.debugLineNum = 268;BA.debugLine="Dim t As String = jg.ToString";
_t = _jg.ToString();
- //BA.debugLineNum = 254;BA.debugLine="Return t";
+ //BA.debugLineNum = 269;BA.debugLine="Return t";
if (true) return _t;
- //BA.debugLineNum = 255;BA.debugLine="End Sub";
+ //BA.debugLineNum = 270;BA.debugLine="End Sub";
return "";
}
public static boolean _masdexxmins(anywheresoftware.b4a.BA _ba,int _hora,int _mins) throws Exception{
- //BA.debugLineNum = 293;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole";
- //BA.debugLineNum = 294;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date";
+ //BA.debugLineNum = 308;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole";
+ //BA.debugLineNum = 309;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date";
if ((_hora+_mins*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute)\")";
+ //BA.debugLineNum = 1716;BA.debugLine="Private inicio As Int = error.IndexOf(\"\")";
_inicio = _error.indexOf("");
- //BA.debugLineNum = 1698;BA.debugLine="Private final As Int = error.IndexOf(\"\")";
+ //BA.debugLineNum = 1717;BA.debugLine="Private final As Int = error.IndexOf(\"\")";
_final = _error.indexOf("");
- //BA.debugLineNum = 1699;BA.debugLine="Log(\"|\" & inicio & \"|\" & final & \"|\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("712189700","|"+BA.NumberToString(_inicio)+"|"+BA.NumberToString(_final)+"|",0);
- //BA.debugLineNum = 1700;BA.debugLine="If inicio > 0 And final > 0 Then";
+ //BA.debugLineNum = 1718;BA.debugLine="Log(\"|\" & inicio & \"|\" & final & \"|\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("412255236","|"+BA.NumberToString(_inicio)+"|"+BA.NumberToString(_final)+"|",0);
+ //BA.debugLineNum = 1719;BA.debugLine="If inicio > 0 And final > 0 Then";
if (_inicio>0 && _final>0) {
- //BA.debugLineNum = 1701;BA.debugLine="nuevoError = error.SubString2(inicio + 17, final";
+ //BA.debugLineNum = 1720;BA.debugLine="nuevoError = error.SubString2(inicio + 17, final";
_nuevoerror = _error.substring((int) (_inicio+17),_final);
};
- //BA.debugLineNum = 1704;BA.debugLine="Return nuevoError";
+ //BA.debugLineNum = 1723;BA.debugLine="Return nuevoError";
if (true) return _nuevoerror;
- //BA.debugLineNum = 1705;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1724;BA.debugLine="End Sub";
return "";
}
public static boolean _pedidoguardado(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _guardado = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null;
- //BA.debugLineNum = 708;BA.debugLine="Sub pedidoGuardado As Boolean";
- //BA.debugLineNum = 709;BA.debugLine="Private guardado As Boolean = False";
+ //BA.debugLineNum = 723;BA.debugLine="Sub pedidoGuardado As Boolean";
+ //BA.debugLineNum = 724;BA.debugLine="Private guardado As Boolean = False";
_guardado = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 710;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 725;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec";
_g = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_g = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select gestion from kmt_info3 where CAT_CL_CODIGO in (Select CUENTA from cuentaa)")));
- //BA.debugLineNum = 711;BA.debugLine="If g.RowCount > 0 Then";
+ //BA.debugLineNum = 726;BA.debugLine="If g.RowCount > 0 Then";
if (_g.getRowCount()>0) {
- //BA.debugLineNum = 712;BA.debugLine="g.Position=0";
+ //BA.debugLineNum = 727;BA.debugLine="g.Position=0";
_g.setPosition((int) (0));
- //BA.debugLineNum = 713;BA.debugLine="If g.GetString(\"gestion\") = \"2\" Or g.GetString(\"";
+ //BA.debugLineNum = 728;BA.debugLine="If g.GetString(\"gestion\") = \"2\" Or g.GetString(\"";
if ((_g.GetString("gestion")).equals("2") || (_g.GetString("gestion")).equals("3")) {
_guardado = anywheresoftware.b4a.keywords.Common.True;};
};
- //BA.debugLineNum = 716;BA.debugLine="Return guardado";
+ //BA.debugLineNum = 731;BA.debugLine="Return guardado";
if (true) return _guardado;
- //BA.debugLineNum = 717;BA.debugLine="End Sub";
+ //BA.debugLineNum = 732;BA.debugLine="End Sub";
return false;
}
public static anywheresoftware.b4a.objects.collections.Map _procesapromocion(anywheresoftware.b4a.BA _ba,String _idpromo,String _cliente) throws Exception{
@@ -1818,65 +1826,65 @@ String _iniciocontador = "";
anywheresoftware.b4a.objects.collections.Map _pm = null;
anywheresoftware.b4a.objects.collections.Map _inventariosinfijos = null;
boolean _pv = false;
- //BA.debugLineNum = 1074;BA.debugLine="Sub procesaPromocion(idPromo As String, cliente As";
- //BA.debugLineNum = 1075;BA.debugLine="Private thisLog As Boolean = True 'Si es verdade";
+ //BA.debugLineNum = 1089;BA.debugLine="Sub procesaPromocion(idPromo As String, cliente As";
+ //BA.debugLineNum = 1090;BA.debugLine="Private thisLog As Boolean = True 'Si es verdade";
_thislog = anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 1076;BA.debugLine="Private inicioContador As String = DateTime.Now";
+ //BA.debugLineNum = 1091;BA.debugLine="Private inicioContador As String = DateTime.Now";
_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
- //BA.debugLineNum = 1077;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re";
+ //BA.debugLineNum = 1092;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710813443",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
- //BA.debugLineNum = 1079;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)";
+anywheresoftware.b4a.keywords.Common.LogImpl("410878979",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
+ //BA.debugLineNum = 1094;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)";
_pm = new anywheresoftware.b4a.objects.collections.Map();
_pm = _traepromo(_ba,_idpromo,_cliente);
- //BA.debugLineNum = 1080;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)";
+ //BA.debugLineNum = 1095;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710813446",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1081;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo";
+anywheresoftware.b4a.keywords.Common.LogImpl("410878982",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1096;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo";
if ((_pm.Get((Object)("resultado"))).equals((Object)("ok"))) {
- //BA.debugLineNum = 1083;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida";
+ //BA.debugLineNum = 1098;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710813449",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1084;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr";
+anywheresoftware.b4a.keywords.Common.LogImpl("410878985",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1099;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710813450","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);};
- //BA.debugLineNum = 1085;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM";
+anywheresoftware.b4a.keywords.Common.LogImpl("410878986","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);};
+ //BA.debugLineNum = 1100;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM";
if (_traepromosvendidas(_ba,_idpromo,_cliente)>=_traemaxpromos(_ba,_pm)) {
- //BA.debugLineNum = 1086;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p";
+ //BA.debugLineNum = 1101;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710813452","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);};
- //BA.debugLineNum = 1087;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)";
+anywheresoftware.b4a.keywords.Common.LogImpl("410878988","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);};
+ //BA.debugLineNum = 1102;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)";
if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())});
};
- //BA.debugLineNum = 1090;BA.debugLine="Private inventarioSinFijos As Map = restaFijosPr";
+ //BA.debugLineNum = 1105;BA.debugLine="Private inventarioSinFijos As Map = restaFijosPr";
_inventariosinfijos = new anywheresoftware.b4a.objects.collections.Map();
_inventariosinfijos = _restafijospromo(_ba,_pm);
- //BA.debugLineNum = 1091;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv";
+ //BA.debugLineNum = 1106;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710813457","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);};
- //BA.debugLineNum = 1093;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th";
+anywheresoftware.b4a.keywords.Common.LogImpl("410878993","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);};
+ //BA.debugLineNum = 1108;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th";
if ((_inventariosinfijos.Get((Object)("resultado"))).equals((Object)("ok"))) {
- //BA.debugLineNum = 1095;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa";
+ //BA.debugLineNum = 1110;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa";
_pv = _alcanzanlosvariablesparapromo(_ba,_pm,_inventariosinfijos);
- //BA.debugLineNum = 1096;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --";
+ //BA.debugLineNum = 1111;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710813462","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);};
- //BA.debugLineNum = 1097;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\"";
+anywheresoftware.b4a.keywords.Common.LogImpl("410878998","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);};
+ //BA.debugLineNum = 1112;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\"";
if (_pv) {
if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ok"),(Object)("mp"),(Object)(_pm.getObject())});}
else {
if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())});};
}else {
- //BA.debugLineNum = 1099;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF";
+ //BA.debugLineNum = 1114;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710813465","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);};
- //BA.debugLineNum = 1100;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)";
+anywheresoftware.b4a.keywords.Common.LogImpl("410879001","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);};
+ //BA.debugLineNum = 1115;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)";
if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())});
};
};
- //BA.debugLineNum = 1106;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat";
-anywheresoftware.b4a.keywords.Common.LogImpl("710813472","TIEMPO DE PROCESO ESTA PROMO: "+BA.NumberToString(((anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),anywheresoftware.b4a.keywords.Common.Colors.Red);
- //BA.debugLineNum = 1107;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1121;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat";
+anywheresoftware.b4a.keywords.Common.LogImpl("410879008","TIEMPO DE PROCESO ESTA PROMO: "+BA.NumberToString(((anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ //BA.debugLineNum = 1122;BA.debugLine="End Sub";
return null;
}
public static String _process_globals() throws Exception{
@@ -1918,167 +1926,167 @@ anywheresoftware.b4a.objects.collections.List _prodsfijos = null;
int _p = 0;
String _t = "";
anywheresoftware.b4a.objects.collections.Map _p2 = null;
- //BA.debugLineNum = 973;BA.debugLine="Sub restaFijosPromo(promoMap As Map) As Map 'ignor";
- //BA.debugLineNum = 974;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade";
+ //BA.debugLineNum = 988;BA.debugLine="Sub restaFijosPromo(promoMap As Map) As Map 'ignor";
+ //BA.debugLineNum = 989;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade";
_thislog = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 975;BA.debugLine="Private inventariosDisponiblesParaEstaPromo As Ma";
+ //BA.debugLineNum = 990;BA.debugLine="Private inventariosDisponiblesParaEstaPromo As Ma";
_inventariosdisponiblesparaestapromo = new anywheresoftware.b4a.objects.collections.Map();
_inventariosdisponiblesparaestapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_promomap.Get((Object)("id"))));
- //BA.debugLineNum = 976;BA.debugLine="If thisLog Then LogColor(inventariosDisponiblesPa";
+ //BA.debugLineNum = 991;BA.debugLine="If thisLog Then LogColor(inventariosDisponiblesPa";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710616835",BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);};
- //BA.debugLineNum = 977;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante";
+anywheresoftware.b4a.keywords.Common.LogImpl("410682371",BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);};
+ //BA.debugLineNum = 992;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710616836","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
- //BA.debugLineNum = 978;BA.debugLine="Private i As Int";
+anywheresoftware.b4a.keywords.Common.LogImpl("410682372","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);};
+ //BA.debugLineNum = 993;BA.debugLine="Private i As Int";
_i = 0;
- //BA.debugLineNum = 979;BA.debugLine="Private prodsmap As Map = promoMap.Get(\"productos";
+ //BA.debugLineNum = 994;BA.debugLine="Private prodsmap As Map = promoMap.Get(\"productos";
_prodsmap = new anywheresoftware.b4a.objects.collections.Map();
_prodsmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_promomap.Get((Object)("productos"))));
- //BA.debugLineNum = 980;BA.debugLine="Private prodsFijos As List = promoMap.get(\"prodsF";
+ //BA.debugLineNum = 995;BA.debugLine="Private prodsFijos As List = promoMap.get(\"prodsF";
_prodsfijos = new anywheresoftware.b4a.objects.collections.List();
_prodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijos"))));
- //BA.debugLineNum = 981;BA.debugLine="For p = 0 To prodsFijos.Size - 1";
+ //BA.debugLineNum = 996;BA.debugLine="For p = 0 To prodsFijos.Size - 1";
{
final int step8 = 1;
final int limit8 = (int) (_prodsfijos.getSize()-1);
_p = (int) (0) ;
for (;_p <= limit8 ;_p = _p + step8 ) {
- //BA.debugLineNum = 982;BA.debugLine="Private t As String = prodsFijos.Get(p) 'Obtenem";
+ //BA.debugLineNum = 997;BA.debugLine="Private t As String = prodsFijos.Get(p) 'Obtenem";
_t = BA.ObjectToString(_prodsfijos.Get(_p));
- //BA.debugLineNum = 983;BA.debugLine="Private p2 As Map = prodsmap.Get(t) 'Obtenemos u";
+ //BA.debugLineNum = 998;BA.debugLine="Private p2 As Map = prodsmap.Get(t) 'Obtenemos u";
_p2 = new anywheresoftware.b4a.objects.collections.Map();
_p2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_t))));
- //BA.debugLineNum = 984;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id";
+ //BA.debugLineNum = 999;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710616843",("T: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("idProducto")))+", piezas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("piezas")))+""),0);};
- //BA.debugLineNum = 985;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE";
+anywheresoftware.b4a.keywords.Common.LogImpl("410682379",("T: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("idProducto")))+", piezas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("piezas")))+""),0);};
+ //BA.debugLineNum = 1000;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710616844","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);};
- //BA.debugLineNum = 986;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK";
+anywheresoftware.b4a.keywords.Common.LogImpl("410682380","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);};
+ //BA.debugLineNum = 1001;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK";
if (_inventariosdisponiblesparaestapromo.ContainsKey((Object)(_t))) {
- //BA.debugLineNum = 987;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)";
+ //BA.debugLineNum = 1002;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)";
_i = (int)(BA.ObjectToNumber(_inventariosdisponiblesparaestapromo.Get((Object)(_t))));
- //BA.debugLineNum = 988;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:";
+ //BA.debugLineNum = 1003;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710616847",("Nuevo inventario de "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+": "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("1.0",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""),0);};
- //BA.debugLineNum = 989;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${";
+anywheresoftware.b4a.keywords.Common.LogImpl("410682383",("Nuevo inventario de "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+": "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("1.0",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""),0);};
+ //BA.debugLineNum = 1004;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${";
_inventariosdisponiblesparaestapromo.Put((Object)(_t),(Object)((""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+"")));
- //BA.debugLineNum = 990;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result";
+ //BA.debugLineNum = 1005;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result";
_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok"));
}else {
- //BA.debugLineNum = 992;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result";
+ //BA.debugLineNum = 1007;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result";
_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion."));
- //BA.debugLineNum = 993;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t";
-anywheresoftware.b4a.keywords.Common.LogImpl("710616852","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue);
- //BA.debugLineNum = 994;BA.debugLine="Exit";
+ //BA.debugLineNum = 1008;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t";
+anywheresoftware.b4a.keywords.Common.LogImpl("410682388","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue);
+ //BA.debugLineNum = 1009;BA.debugLine="Exit";
if (true) break;
};
- //BA.debugLineNum = 996;BA.debugLine="If i - p2.Get(\"piezas\") < 0 Then";
+ //BA.debugLineNum = 1011;BA.debugLine="If i - p2.Get(\"piezas\") < 0 Then";
if (_i-(double)(BA.ObjectToNumber(_p2.Get((Object)("piezas"))))<0) {
- //BA.debugLineNum = 997;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result";
+ //BA.debugLineNum = 1012;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result";
_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion."));
- //BA.debugLineNum = 998;BA.debugLine="Exit";
+ //BA.debugLineNum = 1013;BA.debugLine="Exit";
if (true) break;
};
}
};
- //BA.debugLineNum = 1001;BA.debugLine="If prodsFijos.Size = 0 Then inventariosDisponible";
+ //BA.debugLineNum = 1016;BA.debugLine="If prodsFijos.Size = 0 Then inventariosDisponible";
if (_prodsfijos.getSize()==0) {
_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok"));};
- //BA.debugLineNum = 1002;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues";
+ //BA.debugLineNum = 1017;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710616861","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1003;BA.debugLine="Return inventariosDisponiblesParaEstaPromo";
+anywheresoftware.b4a.keywords.Common.LogImpl("410682397","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1018;BA.debugLine="Return inventariosDisponiblesParaEstaPromo";
if (true) return _inventariosdisponiblesparaestapromo;
- //BA.debugLineNum = 1004;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1019;BA.debugLine="End Sub";
return null;
}
public static String _revisabd(anywheresoftware.b4a.BA _ba) throws Exception{
- //BA.debugLineNum = 202;BA.debugLine="Sub revisaBD 'ignore";
- //BA.debugLineNum = 204;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then";
+ //BA.debugLineNum = 217;BA.debugLine="Sub revisaBD 'ignore";
+ //BA.debugLineNum = 219;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then";
if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(mostCurrent._starter._ruta /*String*/ ,"kmt.db"))) {
anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db");};
- //BA.debugLineNum = 205;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta";
+ //BA.debugLineNum = 220;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta";
if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) {
_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);};
- //BA.debugLineNum = 206;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA";
+ //BA.debugLineNum = 221;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA";
_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)");
- //BA.debugLineNum = 208;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita";
+ //BA.debugLineNum = 223;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita";
_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)");
- //BA.debugLineNum = 210;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init";
+ //BA.debugLineNum = 225;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init";
if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) {
_errorlog.Initialize(mostCurrent._starter._ruta /*String*/ ,"errorLog.db",anywheresoftware.b4a.keywords.Common.True);};
- //BA.debugLineNum = 211;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS";
+ //BA.debugLineNum = 226;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS";
_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)");
- //BA.debugLineNum = 212;BA.debugLine="End Sub";
+ //BA.debugLineNum = 227;BA.debugLine="End Sub";
return "";
}
public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _todobienflp = false;
- //BA.debugLineNum = 365;BA.debugLine="Sub revisaFLP 'ignore";
- //BA.debugLineNum = 366;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col";
-anywheresoftware.b4a.keywords.Common.LogImpl("78454145","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
- //BA.debugLineNum = 367;BA.debugLine="Private todoBienFLP As Boolean = True";
+ //BA.debugLineNum = 380;BA.debugLine="Sub revisaFLP 'ignore";
+ //BA.debugLineNum = 381;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col";
+anywheresoftware.b4a.keywords.Common.LogImpl("48519681","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
+ //BA.debugLineNum = 382;BA.debugLine="Private todoBienFLP As Boolean = True";
_todobienflp = anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 368;BA.debugLine="Try";
-try { //BA.debugLineNum = 369;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then";
+ //BA.debugLineNum = 383;BA.debugLine="Try";
+try { //BA.debugLineNum = 384;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then";
if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized())) {
- //BA.debugLineNum = 370;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Re";
+ //BA.debugLineNum = 385;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Re";
_log2db(_ba,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'");
- //BA.debugLineNum = 371;BA.debugLine="Tracker.FLP.Initialize(\"flp\")";
+ //BA.debugLineNum = 386;BA.debugLine="Tracker.FLP.Initialize(\"flp\")";
mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .Initialize((_ba.processBA == null ? _ba : _ba.processBA),"flp");
- //BA.debugLineNum = 372;BA.debugLine="todoBienFLP = False";
+ //BA.debugLineNum = 387;BA.debugLine="todoBienFLP = False";
_todobienflp = anywheresoftware.b4a.keywords.Common.False;
};
}
catch (Exception e10) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e10); //BA.debugLineNum = 375;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---";
-anywheresoftware.b4a.keywords.Common.LogImpl("78454154","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e10); //BA.debugLineNum = 390;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---";
+anywheresoftware.b4a.keywords.Common.LogImpl("48519690","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
- //BA.debugLineNum = 377;BA.debugLine="Try";
-try { //BA.debugLineNum = 378;BA.debugLine="If Tracker.FLP.IsInitialized Then";
+ //BA.debugLineNum = 392;BA.debugLine="Try";
+try { //BA.debugLineNum = 393;BA.debugLine="If Tracker.FLP.IsInitialized Then";
if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized()) {
- //BA.debugLineNum = 379;BA.debugLine="Try";
-try { //BA.debugLineNum = 380;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then";
+ //BA.debugLineNum = 394;BA.debugLine="Try";
+try { //BA.debugLineNum = 395;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then";
if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected())) {
- //BA.debugLineNum = 381;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Rec";
+ //BA.debugLineNum = 396;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Rec";
_log2db(_ba,"revisaFLP: No esta conectado ... 'Reconectando FLP'");
- //BA.debugLineNum = 383;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")";
+ //BA.debugLineNum = 398;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")";
anywheresoftware.b4a.keywords.Common.CallSubDelayed((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject()),"StartFLP");
- //BA.debugLineNum = 384;BA.debugLine="todoBienFLP = False";
+ //BA.debugLineNum = 399;BA.debugLine="todoBienFLP = False";
_todobienflp = anywheresoftware.b4a.keywords.Common.False;
};
}
catch (Exception e21) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 387;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->";
-anywheresoftware.b4a.keywords.Common.LogImpl("78454166","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 402;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->";
+anywheresoftware.b4a.keywords.Common.LogImpl("48519702","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
- //BA.debugLineNum = 389;BA.debugLine="Try";
-try { //BA.debugLineNum = 390;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker.";
+ //BA.debugLineNum = 404;BA.debugLine="Try";
+try { //BA.debugLineNum = 405;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker.";
if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().DistanceTo((android.location.Location)(mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getObject()))>500) {
- //BA.debugLineNum = 393;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando,";
+ //BA.debugLineNum = 408;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando,";
_log2db(_ba,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'");
- //BA.debugLineNum = 394;BA.debugLine="StartService(Tracker)";
+ //BA.debugLineNum = 409;BA.debugLine="StartService(Tracker)";
anywheresoftware.b4a.keywords.Common.StartService((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject()));
- //BA.debugLineNum = 395;BA.debugLine="todoBienFLP = False";
+ //BA.debugLineNum = 410;BA.debugLine="todoBienFLP = False";
_todobienflp = anywheresoftware.b4a.keywords.Common.False;
};
}
catch (Exception e30) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e30); //BA.debugLineNum = 398;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I";
-anywheresoftware.b4a.keywords.Common.LogImpl("78454177","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e30); //BA.debugLineNum = 413;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I";
+anywheresoftware.b4a.keywords.Common.LogImpl("48519713","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
};
- //BA.debugLineNum = 401;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error";
+ //BA.debugLineNum = 416;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error";
if (_todobienflp) {
-anywheresoftware.b4a.keywords.Common.LogImpl("78454180"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
+anywheresoftware.b4a.keywords.Common.LogImpl("48519716"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
}
catch (Exception e35) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e35); //BA.debugLineNum = 403;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las";
-anywheresoftware.b4a.keywords.Common.LogImpl("78454182","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e35); //BA.debugLineNum = 418;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las";
+anywheresoftware.b4a.keywords.Common.LogImpl("48519718","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
- //BA.debugLineNum = 406;BA.debugLine="End Sub";
+ //BA.debugLineNum = 421;BA.debugLine="End Sub";
return "";
}
public static anywheresoftware.b4a.objects.collections.Map _revisaforzaractualizacion(anywheresoftware.b4a.BA _ba) throws Exception{
@@ -2086,72 +2094,72 @@ anywheresoftware.b4a.sql.SQL.ResultSetWrapper _ra = null;
String _nuevaversion = "";
int _forzaractualizacion = 0;
anywheresoftware.b4a.objects.collections.Map _m = null;
- //BA.debugLineNum = 1666;BA.debugLine="Sub revisaForzarActualizacion As Map";
- //BA.debugLineNum = 1667;BA.debugLine="Private ra As ResultSet = Starter.skmt.ExecQuery(";
+ //BA.debugLineNum = 1685;BA.debugLine="Sub revisaForzarActualizacion As Map";
+ //BA.debugLineNum = 1686;BA.debugLine="Private ra As ResultSet = Starter.skmt.ExecQuery(";
_ra = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_ra = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'VERSION_NUEVA' or CAT_VA_DESCRIPCION = 'FORZAR_ACTUALIZACION'"))));
- //BA.debugLineNum = 1668;BA.debugLine="Private nuevaVersion As String = \"\"";
+ //BA.debugLineNum = 1687;BA.debugLine="Private nuevaVersion As String = \"\"";
_nuevaversion = "";
- //BA.debugLineNum = 1669;BA.debugLine="Private forzarActualizacion As Int = 2";
+ //BA.debugLineNum = 1688;BA.debugLine="Private forzarActualizacion As Int = 2";
_forzaractualizacion = (int) (2);
- //BA.debugLineNum = 1670;BA.debugLine="Private m As Map";
+ //BA.debugLineNum = 1689;BA.debugLine="Private m As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 1671;BA.debugLine="m.Initialize";
+ //BA.debugLineNum = 1690;BA.debugLine="m.Initialize";
_m.Initialize();
- //BA.debugLineNum = 1672;BA.debugLine="Do While ra.NextRow";
+ //BA.debugLineNum = 1691;BA.debugLine="Do While ra.NextRow";
while (_ra.NextRow()) {
- //BA.debugLineNum = 1673;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"VERSION";
+ //BA.debugLineNum = 1692;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"VERSION";
if ((_ra.GetString("CAT_VA_DESCRIPCION")).equals("VERSION_NUEVA")) {
_nuevaversion = _ra.GetString("CAT_VA_VALOR");};
- //BA.debugLineNum = 1674;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"FORZAR_";
+ //BA.debugLineNum = 1693;BA.debugLine="If ra.GetString(\"CAT_VA_DESCRIPCION\") = \"FORZAR_";
if ((_ra.GetString("CAT_VA_DESCRIPCION")).equals("FORZAR_ACTUALIZACION")) {
_forzaractualizacion = _ra.GetInt("CAT_VA_VALOR");};
}
;
- //BA.debugLineNum = 1678;BA.debugLine="If nuevaVersion <> Application.VersionName And fo";
+ //BA.debugLineNum = 1697;BA.debugLine="If nuevaVersion <> Application.VersionName And fo";
if ((_nuevaversion).equals(anywheresoftware.b4a.keywords.Common.Application.getVersionName()) == false && _forzaractualizacion==1) {
- //BA.debugLineNum = 1679;BA.debugLine="m.Put(\"forzar\", 1)";
+ //BA.debugLineNum = 1698;BA.debugLine="m.Put(\"forzar\", 1)";
_m.Put((Object)("forzar"),(Object)(1));
- //BA.debugLineNum = 1680;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)";
+ //BA.debugLineNum = 1699;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)";
_m.Put((Object)("nuevaVersion"),(Object)(_nuevaversion));
}else if(_forzaractualizacion==2) {
- //BA.debugLineNum = 1682;BA.debugLine="m.Put(\"forzar\", 2)";
+ //BA.debugLineNum = 1701;BA.debugLine="m.Put(\"forzar\", 2)";
_m.Put((Object)("forzar"),(Object)(2));
- //BA.debugLineNum = 1683;BA.debugLine="m.Put(\"nuevaVersion\", \"Recargar\")";
+ //BA.debugLineNum = 1702;BA.debugLine="m.Put(\"nuevaVersion\", \"Recargar\")";
_m.Put((Object)("nuevaVersion"),(Object)("Recargar"));
}else {
- //BA.debugLineNum = 1685;BA.debugLine="m.Put(\"forzar\", 0)";
+ //BA.debugLineNum = 1704;BA.debugLine="m.Put(\"forzar\", 0)";
_m.Put((Object)("forzar"),(Object)(0));
- //BA.debugLineNum = 1686;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)";
+ //BA.debugLineNum = 1705;BA.debugLine="m.Put(\"nuevaVersion\", nuevaVersion)";
_m.Put((Object)("nuevaVersion"),(Object)(_nuevaversion));
};
- //BA.debugLineNum = 1688;BA.debugLine="If nuevaVersion = \"\" Or nuevaVersion = Null Or nu";
+ //BA.debugLineNum = 1707;BA.debugLine="If nuevaVersion = \"\" Or nuevaVersion = Null Or nu";
if ((_nuevaversion).equals("") || _nuevaversion== null || (_nuevaversion).equals("null")) {
- //BA.debugLineNum = 1689;BA.debugLine="m.Put(\"forzar\", 0)";
+ //BA.debugLineNum = 1708;BA.debugLine="m.Put(\"forzar\", 0)";
_m.Put((Object)("forzar"),(Object)(0));
- //BA.debugLineNum = 1690;BA.debugLine="m.Put(\"nuevaVersion\", \"\")";
+ //BA.debugLineNum = 1709;BA.debugLine="m.Put(\"nuevaVersion\", \"\")";
_m.Put((Object)("nuevaVersion"),(Object)(""));
};
- //BA.debugLineNum = 1692;BA.debugLine="Return m";
+ //BA.debugLineNum = 1711;BA.debugLine="Return m";
if (true) return _m;
- //BA.debugLineNum = 1693;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1712;BA.debugLine="End Sub";
return null;
}
public static boolean _revisaimpreso(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _impreso = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
- //BA.debugLineNum = 1906;BA.debugLine="Sub revisaImpreso As Boolean 'ignore";
- //BA.debugLineNum = 1907;BA.debugLine="Private impreso As Boolean = False";
+ //BA.debugLineNum = 1925;BA.debugLine="Sub revisaImpreso As Boolean 'ignore";
+ //BA.debugLineNum = 1926;BA.debugLine="Private impreso As Boolean = False";
_impreso = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1908;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel";
+ //BA.debugLineNum = 1927;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"sel";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select idCliente from ticket_impreso where idCliente in (select cuenta from cuentaa)")));
- //BA.debugLineNum = 1909;BA.debugLine="If c.RowCount > 0 Then impreso = True";
+ //BA.debugLineNum = 1928;BA.debugLine="If c.RowCount > 0 Then impreso = True";
if (_c.getRowCount()>0) {
_impreso = anywheresoftware.b4a.keywords.Common.True;};
- //BA.debugLineNum = 1910;BA.debugLine="Return impreso";
+ //BA.debugLineNum = 1929;BA.debugLine="Return impreso";
if (true) return _impreso;
- //BA.debugLineNum = 1911;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1930;BA.debugLine="End Sub";
return false;
}
public static int _revisamaxpromosprodsfijosporinventario(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{
@@ -2163,71 +2171,79 @@ anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null;
anywheresoftware.b4a.objects.collections.List _idprodsfijos = null;
int _p = 0;
String[] _x = null;
- //BA.debugLineNum = 1153;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario(pm As M";
- //BA.debugLineNum = 1154;BA.debugLine="Private thisLog As Boolean = False";
+ //BA.debugLineNum = 1168;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario(pm As M";
+ //BA.debugLineNum = 1169;BA.debugLine="Private thisLog As Boolean = False";
_thislog = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1155;BA.debugLine="Private invFijoXpromo As Map";
+ //BA.debugLineNum = 1170;BA.debugLine="Private invFijoXpromo As Map";
_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 1156;BA.debugLine="Private t As List";
+ //BA.debugLineNum = 1171;BA.debugLine="Private t As List";
_t = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 1157;BA.debugLine="t.Initialize";
+ //BA.debugLineNum = 1172;BA.debugLine="t.Initialize";
_t.Initialize();
- //BA.debugLineNum = 1158;BA.debugLine="t.Add(traeMaxPromos(pm)) ' Agregamos a la lista l";
+ //BA.debugLineNum = 1173;BA.debugLine="t.Add(traeMaxPromos(pm)) ' Agregamos a la lista l";
_t.Add((Object)(_traemaxpromos(_ba,_pm)));
- //BA.debugLineNum = 1159;BA.debugLine="invFijoXpromo.Initialize";
+ //BA.debugLineNum = 1174;BA.debugLine="invFijoXpromo.Initialize";
_invfijoxpromo.Initialize();
- //BA.debugLineNum = 1160;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu";
+ //BA.debugLineNum = 1175;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710944519",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1161;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010055",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1176;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map();
_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id"))));
- //BA.debugLineNum = 1162;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
+ //BA.debugLineNum = 1177;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710944521",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
- //BA.debugLineNum = 1163;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010057",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
+ //BA.debugLineNum = 1178;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF";
_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List();
_prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas"))));
- //BA.debugLineNum = 1164;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos";
+ //BA.debugLineNum = 1179;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos";
_idprodsfijos = new anywheresoftware.b4a.objects.collections.List();
_idprodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos"))));
- //BA.debugLineNum = 1165;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos una";
+ //BA.debugLineNum = 1180;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos una";
{
final int step12 = 1;
final int limit12 = (int) (_idprodsfijos.getSize()-1);
_p = (int) (0) ;
for (;_p <= limit12 ;_p = _p + step12 ) {
- //BA.debugLineNum = 1166;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},";
+ //BA.debugLineNum = 1181;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710944525",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_p))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_p)))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_prodsfijospiezas.Get(_p))+""),0);};
- //BA.debugLineNum = 1167;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010061",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_p))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_p)))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_prodsfijospiezas.Get(_p))+""),0);};
+ //BA.debugLineNum = 1182;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710944526",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""),0);};
- //BA.debugLineNum = 1168;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010062",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""),0);};
+ //BA.debugLineNum = 1183;BA.debugLine="Log(prodsFijosPiezas.Get(p))";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010063",BA.ObjectToString(_prodsfijospiezas.Get(_p)),0);
+ //BA.debugLineNum = 1184;BA.debugLine="Log(prodsFijosPiezas.Get(p))";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010064",BA.ObjectToString(_prodsfijospiezas.Get(_p)),0);
+ //BA.debugLineNum = 1185;BA.debugLine="Log(idProdsFijos.Get(p))";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010065",BA.ObjectToString(_idprodsfijos.Get(_p)),0);
+ //BA.debugLineNum = 1186;BA.debugLine="Log((invDispParaPromo.Get(idProdsFijos.Get(p)) /";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010066",BA.NumberToString(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))),0);
+ //BA.debugLineNum = 1187;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i";
_x = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""));
- //BA.debugLineNum = 1169;BA.debugLine="If thisLog Then Log(x(0))";
+ //BA.debugLineNum = 1188;BA.debugLine="If thisLog Then Log(x(0))";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710944528",_x[(int) (0)],0);};
- //BA.debugLineNum = 1170;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010068",_x[(int) (0)],0);};
+ //BA.debugLineNum = 1189;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del";
_t.Add((Object)(((int)(Double.parseDouble(_x[(int) (0)])))));
}
};
- //BA.debugLineNum = 1172;BA.debugLine="t.Sort(True) 'Ordenamos la lista para que en el l";
+ //BA.debugLineNum = 1191;BA.debugLine="t.Sort(True) 'Ordenamos la lista para que en el l";
_t.Sort(anywheresoftware.b4a.keywords.Common.True);
- //BA.debugLineNum = 1173;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi";
+ //BA.debugLineNum = 1192;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710944532",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1174;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010072",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1193;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710944533",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1175;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010073",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1194;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710944534",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1176;BA.debugLine="LogColor(\"Max promos de prodsFijos POR inventario";
-anywheresoftware.b4a.keywords.Common.LogImpl("710944535","Max promos de prodsFijos POR inventario = "+BA.ObjectToString(_t.Get((int) (0))),anywheresoftware.b4a.keywords.Common.Colors.Red);
- //BA.debugLineNum = 1177;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010074",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1195;BA.debugLine="LogColor(\"Max promos de prodsFijos POR inventario";
+anywheresoftware.b4a.keywords.Common.LogImpl("411010075","Max promos de prodsFijos POR inventario = "+BA.ObjectToString(_t.Get((int) (0))),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ //BA.debugLineNum = 1196;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ";
if (true) return (int)(BA.ObjectToNumber(_t.Get((int) (0))));
- //BA.debugLineNum = 1178;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1197;BA.debugLine="End Sub";
return 0;
}
public static int _revisamaxpromosprodsfijosporinventario2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{
@@ -2245,107 +2261,107 @@ int _p = 0;
int _i = 0;
int _q = 0;
String _q2 = "";
- //BA.debugLineNum = 1110;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario2(pm As";
- //BA.debugLineNum = 1111;BA.debugLine="Private thisLog As Boolean = False";
+ //BA.debugLineNum = 1125;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario2(pm As";
+ //BA.debugLineNum = 1126;BA.debugLine="Private thisLog As Boolean = False";
_thislog = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1112;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)";
+ //BA.debugLineNum = 1127;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710878978",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);};
- //BA.debugLineNum = 1114;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944514",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);};
+ //BA.debugLineNum = 1129;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map();
_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id"))));
- //BA.debugLineNum = 1115;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
+ //BA.debugLineNum = 1130;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710878981",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
- //BA.debugLineNum = 1116;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944517",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
+ //BA.debugLineNum = 1131;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)";
_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm));
- //BA.debugLineNum = 1117;BA.debugLine="Private maxPromosFijosXinv As Int = 1";
+ //BA.debugLineNum = 1132;BA.debugLine="Private maxPromosFijosXinv As Int = 1";
_maxpromosfijosxinv = (int) (1);
- //BA.debugLineNum = 1118;BA.debugLine="Private fpf2, pdp2 As Int";
+ //BA.debugLineNum = 1133;BA.debugLine="Private fpf2, pdp2 As Int";
_fpf2 = 0;
_pdp2 = 0;
- //BA.debugLineNum = 1119;BA.debugLine="Private salir As Boolean = False";
+ //BA.debugLineNum = 1134;BA.debugLine="Private salir As Boolean = False";
_salir = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1120;BA.debugLine="Private pf As List = pm.Get(\"prodsFijos\")";
+ //BA.debugLineNum = 1135;BA.debugLine="Private pf As List = pm.Get(\"prodsFijos\")";
_pf = new anywheresoftware.b4a.objects.collections.List();
_pf = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos"))));
- //BA.debugLineNum = 1121;BA.debugLine="Private pfp As List = pm.Get(\"prodsFijosPiezas\")";
+ //BA.debugLineNum = 1136;BA.debugLine="Private pfp As List = pm.Get(\"prodsFijosPiezas\")";
_pfp = new anywheresoftware.b4a.objects.collections.List();
_pfp = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas"))));
- //BA.debugLineNum = 1122;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro";
+ //BA.debugLineNum = 1137;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710878988",("maxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pf.getObject()))+", piezas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pfp.getObject()))+""),0);};
- //BA.debugLineNum = 1123;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944524",("maxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pf.getObject()))+", piezas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pfp.getObject()))+""),0);};
+ //BA.debugLineNum = 1138;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710878989",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1124;BA.debugLine="Private invFijoXpromo As Map";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944525",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1139;BA.debugLine="Private invFijoXpromo As Map";
_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 1125;BA.debugLine="invFijoXpromo.Initialize";
+ //BA.debugLineNum = 1140;BA.debugLine="invFijoXpromo.Initialize";
_invfijoxpromo.Initialize();
- //BA.debugLineNum = 1126;BA.debugLine="For p = 0 To pf.Size -1 'Generamos mapa con los p";
+ //BA.debugLineNum = 1141;BA.debugLine="For p = 0 To pf.Size -1 'Generamos mapa con los p";
{
final int step15 = 1;
final int limit15 = (int) (_pf.getSize()-1);
_p = (int) (0) ;
for (;_p <= limit15 ;_p = _p + step15 ) {
- //BA.debugLineNum = 1127;BA.debugLine="invFijoXpromo.Put(pf.Get(p), pfp.Get(p))";
+ //BA.debugLineNum = 1142;BA.debugLine="invFijoXpromo.Put(pf.Get(p), pfp.Get(p))";
_invfijoxpromo.Put(_pf.Get(_p),_pfp.Get(_p));
}
};
- //BA.debugLineNum = 1129;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos";
+ //BA.debugLineNum = 1144;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710878995","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);};
- //BA.debugLineNum = 1130;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944531","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);};
+ //BA.debugLineNum = 1145;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci";
{
final int step19 = 1;
final int limit19 = (int)(Double.parseDouble(_maxpromos));
_i = (int) (1) ;
for (;_i <= limit19 ;_i = _i + step19 ) {
- //BA.debugLineNum = 1131;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & (";
+ //BA.debugLineNum = 1146;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & (";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710878997","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
- //BA.debugLineNum = 1132;BA.debugLine="For q = 0 To pf.Size - 1";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944533","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);};
+ //BA.debugLineNum = 1147;BA.debugLine="For q = 0 To pf.Size - 1";
{
final int step21 = 1;
final int limit21 = (int) (_pf.getSize()-1);
_q = (int) (0) ;
for (;_q <= limit21 ;_q = _q + step21 ) {
- //BA.debugLineNum = 1133;BA.debugLine="Private q2 As String = pf.Get(q)";
+ //BA.debugLineNum = 1148;BA.debugLine="Private q2 As String = pf.Get(q)";
_q2 = BA.ObjectToString(_pf.Get(_q));
- //BA.debugLineNum = 1134;BA.debugLine="If thisLog Then Log(\"q=\"&q2)";
+ //BA.debugLineNum = 1149;BA.debugLine="If thisLog Then Log(\"q=\"&q2)";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710879000","q="+_q2,0);};
- //BA.debugLineNum = 1136;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944536","q="+_q2,0);};
+ //BA.debugLineNum = 1151;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas";
_fpf2 = (int) ((double)(BA.ObjectToNumber(_pfp.Get(_q)))*_i);
- //BA.debugLineNum = 1137;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)";
+ //BA.debugLineNum = 1152;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)";
_pdp2 = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_q2))));
- //BA.debugLineNum = 1138;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},";
+ //BA.debugLineNum = 1153;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710879004",("pf="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_q2))+", Actual="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_i)))+", max promos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fpf2))+"="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2-_fpf2))+""),0);};
- //BA.debugLineNum = 1139;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944540",("pf="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_q2))+", Actual="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_i)))+", max promos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fpf2))+"="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2-_fpf2))+""),0);};
+ //BA.debugLineNum = 1154;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne";
if (_pdp2-_fpf2<0) {
- //BA.debugLineNum = 1140;BA.debugLine="salir=True";
+ //BA.debugLineNum = 1155;BA.debugLine="salir=True";
_salir = anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 1141;BA.debugLine="Exit";
+ //BA.debugLineNum = 1156;BA.debugLine="Exit";
if (true) break;
};
}
};
- //BA.debugLineNum = 1144;BA.debugLine="If salir Then Exit";
+ //BA.debugLineNum = 1159;BA.debugLine="If salir Then Exit";
if (_salir) {
if (true) break;};
- //BA.debugLineNum = 1145;BA.debugLine="maxPromosFijosXinv = i";
+ //BA.debugLineNum = 1160;BA.debugLine="maxPromosFijosXinv = i";
_maxpromosfijosxinv = _i;
}
};
- //BA.debugLineNum = 1147;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro";
+ //BA.debugLineNum = 1162;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710879013","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 1148;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR";
-anywheresoftware.b4a.keywords.Common.LogImpl("710879014","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red);
- //BA.debugLineNum = 1149;BA.debugLine="Return maxPromosFijosXinv";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944549","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 1163;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR";
+anywheresoftware.b4a.keywords.Common.LogImpl("410944550","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ //BA.debugLineNum = 1164;BA.debugLine="Return maxPromosFijosXinv";
if (true) return _maxpromosfijosxinv;
- //BA.debugLineNum = 1150;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1165;BA.debugLine="End Sub";
return 0;
}
public static int _revisamaxpromosprodsvariablesporinventario(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{
@@ -2370,277 +2386,277 @@ int _maxpromosxvariables = 0;
int _maxpromosxvariables2 = 0;
int _x = 0;
int _i = 0;
- //BA.debugLineNum = 2103;BA.debugLine="Sub revisaMaxPromosProdsVariablesPorInventario(pm";
- //BA.debugLineNum = 2104;BA.debugLine="Private thisLog As Boolean = False";
+ //BA.debugLineNum = 2122;BA.debugLine="Sub revisaMaxPromosProdsVariablesPorInventario(pm";
+ //BA.debugLineNum = 2123;BA.debugLine="Private thisLog As Boolean = False";
_thislog = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 2105;BA.debugLine="If thisLog Then Log(\"============================";
+ //BA.debugLineNum = 2124;BA.debugLine="If thisLog Then Log(\"============================";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303810","======================================================",0);};
- //BA.debugLineNum = 2106;BA.debugLine="If thisLog Then Log(\"============================";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369346","======================================================",0);};
+ //BA.debugLineNum = 2125;BA.debugLine="If thisLog Then Log(\"============================";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303811","======================================================",0);};
- //BA.debugLineNum = 2107;BA.debugLine="Private invFijoXpromo As Map";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369347","======================================================",0);};
+ //BA.debugLineNum = 2126;BA.debugLine="Private invFijoXpromo As Map";
_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 2108;BA.debugLine="invFijoXpromo.Initialize";
+ //BA.debugLineNum = 2127;BA.debugLine="invFijoXpromo.Initialize";
_invfijoxpromo.Initialize();
- //BA.debugLineNum = 2109;BA.debugLine="Private totalProdsVariablesDisponibles As Int = 0";
+ //BA.debugLineNum = 2128;BA.debugLine="Private totalProdsVariablesDisponibles As Int = 0";
_totalprodsvariablesdisponibles = (int) (0);
- //BA.debugLineNum = 2110;BA.debugLine="Private totalProdsVariables2Disponibles As Int =";
+ //BA.debugLineNum = 2129;BA.debugLine="Private totalProdsVariables2Disponibles As Int =";
_totalprodsvariables2disponibles = (int) (0);
- //BA.debugLineNum = 2111;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu";
+ //BA.debugLineNum = 2130;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303816",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 2112;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369352",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 2131;BA.debugLine="Private invDispParaPromo As Map = traemosInventar";
_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map();
_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id"))));
- //BA.debugLineNum = 2113;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
+ //BA.debugLineNum = 2132;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303818",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
- //BA.debugLineNum = 2114;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369354",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);};
+ //BA.debugLineNum = 2133;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)";
_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm));
- //BA.debugLineNum = 2115;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP";
+ //BA.debugLineNum = 2134;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP";
_maxpromosxfijos = _revisamaxpromosprodsfijosporinventario(_ba,_pm);
- //BA.debugLineNum = 2116;BA.debugLine="Private idProdsVariables As List = pm.Get(\"prodsV";
+ //BA.debugLineNum = 2135;BA.debugLine="Private idProdsVariables As List = pm.Get(\"prodsV";
_idprodsvariables = new anywheresoftware.b4a.objects.collections.List();
_idprodsvariables = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsVariables"))));
- //BA.debugLineNum = 2117;BA.debugLine="Private idProdsVariables2 As List = pm.Get(\"prods";
+ //BA.debugLineNum = 2136;BA.debugLine="Private idProdsVariables2 As List = pm.Get(\"prods";
_idprodsvariables2 = new anywheresoftware.b4a.objects.collections.List();
_idprodsvariables2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsVariables2"))));
- //BA.debugLineNum = 2118;BA.debugLine="Private prodsVariablesRequeridos As Int = pm.Get(";
+ //BA.debugLineNum = 2137;BA.debugLine="Private prodsVariablesRequeridos As Int = pm.Get(";
_prodsvariablesrequeridos = (int)(BA.ObjectToNumber(_pm.Get((Object)("prodsVariablesRequeridos"))));
- //BA.debugLineNum = 2119;BA.debugLine="Private prodsVariables2Requeridos As Int = pm.Get";
+ //BA.debugLineNum = 2138;BA.debugLine="Private prodsVariables2Requeridos As Int = pm.Get";
_prodsvariables2requeridos = (int)(BA.ObjectToNumber(_pm.Get((Object)("prodsVariables2Requeridos"))));
- //BA.debugLineNum = 2120;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF";
+ //BA.debugLineNum = 2139;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF";
_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List();
_prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas"))));
- //BA.debugLineNum = 2121;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos";
+ //BA.debugLineNum = 2140;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos";
_idprodsfijos = new anywheresoftware.b4a.objects.collections.List();
_idprodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos"))));
- //BA.debugLineNum = 2122;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos mapa";
+ //BA.debugLineNum = 2141;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos mapa";
{
final int step19 = 1;
final int limit19 = (int) (_idprodsfijos.getSize()-1);
_p = (int) (0) ;
for (;_p <= limit19 ;_p = _p + step19 ) {
- //BA.debugLineNum = 2123;BA.debugLine="invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijo";
+ //BA.debugLineNum = 2142;BA.debugLine="invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijo";
_invfijoxpromo.Put(_idprodsfijos.Get(_p),_prodsfijospiezas.Get(_p));
- //BA.debugLineNum = 2124;BA.debugLine="Private idEsteProd As String = idProdsFijos.Get(";
+ //BA.debugLineNum = 2143;BA.debugLine="Private idEsteProd As String = idProdsFijos.Get(";
_idesteprod = BA.ObjectToString(_idprodsfijos.Get(_p));
- //BA.debugLineNum = 2125;BA.debugLine="Private invEsteProd As Int = invDispParaPromo.Ge";
+ //BA.debugLineNum = 2144;BA.debugLine="Private invEsteProd As Int = invDispParaPromo.Ge";
_investeprod = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_idesteprod))));
- //BA.debugLineNum = 2126;BA.debugLine="Private pzasReqEsteProd As Int = prodsFijosPieza";
+ //BA.debugLineNum = 2145;BA.debugLine="Private pzasReqEsteProd As Int = prodsFijosPieza";
_pzasreqesteprod = (int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p)));
- //BA.debugLineNum = 2127;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in";
+ //BA.debugLineNum = 2146;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303832",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idesteprod))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_investeprod))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pzasreqesteprod))+""),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("413369368",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idesteprod))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_investeprod))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pzasreqesteprod))+""),0);};
}
};
- //BA.debugLineNum = 2130;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}";
+ //BA.debugLineNum = 2149;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303835",("MaxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", promosXFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromosxfijos))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 2131;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369371",("MaxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", promosXFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromosxfijos))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 2150;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303836",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 2132;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369372",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 2151;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303837",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 2133;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369373",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 2152;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303838",("prodsVariables="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 2134;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369374",("prodsVariables="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 2153;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303839",("prodsVariables2="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables2.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables2 Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariables2requeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 2135;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369375",("prodsVariables2="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables2.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables2 Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariables2requeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 2154;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303840",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 2136;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369376",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 2155;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303841",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);};
- //BA.debugLineNum = 2137;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369377",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);};
+ //BA.debugLineNum = 2156;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303842",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);};
- //BA.debugLineNum = 2138;BA.debugLine="Private maxPromosXVariables As Int = 0";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369378",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);};
+ //BA.debugLineNum = 2157;BA.debugLine="Private maxPromosXVariables As Int = 0";
_maxpromosxvariables = (int) (0);
- //BA.debugLineNum = 2139;BA.debugLine="Private maxPromosXVariables2 As Int = 0";
+ //BA.debugLineNum = 2158;BA.debugLine="Private maxPromosXVariables2 As Int = 0";
_maxpromosxvariables2 = (int) (0);
- //BA.debugLineNum = 2140;BA.debugLine="For x = 1 To maxPromosXFijos";
+ //BA.debugLineNum = 2159;BA.debugLine="For x = 1 To maxPromosXFijos";
{
final int step36 = 1;
final int limit36 = _maxpromosxfijos;
_x = (int) (1) ;
for (;_x <= limit36 ;_x = _x + step36 ) {
- //BA.debugLineNum = 2141;BA.debugLine="If thisLog Then Log(\"===========================";
+ //BA.debugLineNum = 2160;BA.debugLine="If thisLog Then Log(\"===========================";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303846","=====================================================",0);};
- //BA.debugLineNum = 2142;BA.debugLine="If thisLog Then Log(\"===========================";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369382","=====================================================",0);};
+ //BA.debugLineNum = 2161;BA.debugLine="If thisLog Then Log(\"===========================";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303847","=====================================================",0);};
- //BA.debugLineNum = 2143;BA.debugLine="For i = 0 To idProdsFijos.Size - 1";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369383","=====================================================",0);};
+ //BA.debugLineNum = 2162;BA.debugLine="For i = 0 To idProdsFijos.Size - 1";
{
final int step39 = 1;
final int limit39 = (int) (_idprodsfijos.getSize()-1);
_i = (int) (0) ;
for (;_i <= limit39 ;_i = _i + step39 ) {
- //BA.debugLineNum = 2144;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get";
+ //BA.debugLineNum = 2163;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303849",("FIJO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_i))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_i)))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)))+""),0);};
- //BA.debugLineNum = 2145;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369385",("FIJO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_i))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_i)))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)))+""),0);};
+ //BA.debugLineNum = 2164;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi";
_invdispparapromo.Put(_idprodsfijos.Get(_i),(Object)(((int)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_i)))))-((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)));
}
};
- //BA.debugLineNum = 2147;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues";
+ //BA.debugLineNum = 2166;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303852","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
- //BA.debugLineNum = 2149;BA.debugLine="totalProdsVariablesDisponibles = 0";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369388","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);};
+ //BA.debugLineNum = 2168;BA.debugLine="totalProdsVariablesDisponibles = 0";
_totalprodsvariablesdisponibles = (int) (0);
- //BA.debugLineNum = 2150;BA.debugLine="totalProdsVariables2Disponibles = 0";
+ //BA.debugLineNum = 2169;BA.debugLine="totalProdsVariables2Disponibles = 0";
_totalprodsvariables2disponibles = (int) (0);
- //BA.debugLineNum = 2151;BA.debugLine="For i = 0 To idProdsVariables.Size - 1 'Obtenemo";
+ //BA.debugLineNum = 2170;BA.debugLine="For i = 0 To idProdsVariables.Size - 1 'Obtenemo";
{
final int step46 = 1;
final int limit46 = (int) (_idprodsvariables.getSize()-1);
_i = (int) (0) ;
for (;_i <= limit46 ;_i = _i + step46 ) {
- //BA.debugLineNum = 2152;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable";
+ //BA.debugLineNum = 2171;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable";
if (_invdispparapromo.ContainsKey(_idprodsvariables.Get(_i))) {
- //BA.debugLineNum = 2153;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVar";
+ //BA.debugLineNum = 2172;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVar";
_totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles+(double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsvariables.Get(_i)))));
};
}
};
- //BA.debugLineNum = 2156;BA.debugLine="For i = 0 To idProdsVariables2.Size - 1 'Obtenem";
+ //BA.debugLineNum = 2175;BA.debugLine="For i = 0 To idProdsVariables2.Size - 1 'Obtenem";
{
final int step51 = 1;
final int limit51 = (int) (_idprodsvariables2.getSize()-1);
_i = (int) (0) ;
for (;_i <= limit51 ;_i = _i + step51 ) {
- //BA.debugLineNum = 2157;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable";
+ //BA.debugLineNum = 2176;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable";
if (_invdispparapromo.ContainsKey(_idprodsvariables2.Get(_i))) {
- //BA.debugLineNum = 2158;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVa";
+ //BA.debugLineNum = 2177;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVa";
_totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles+(double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsvariables2.Get(_i)))));
};
}
};
- //BA.debugLineNum = 2162;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req";
+ //BA.debugLineNum = 2181;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303867",("Var disponibles - var requeridos : "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos*_x))+""),0);};
- //BA.debugLineNum = 2163;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369403",("Var disponibles - var requeridos : "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos*_x))+""),0);};
+ //BA.debugLineNum = 2182;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria";
_totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles-(_prodsvariablesrequeridos*_x));
- //BA.debugLineNum = 2164;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari";
+ //BA.debugLineNum = 2183;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari";
_totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles-(_prodsvariables2requeridos*_x));
- //BA.debugLineNum = 2165;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles";
+ //BA.debugLineNum = 2184;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303870","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);};
- //BA.debugLineNum = 2166;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369406","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);};
+ //BA.debugLineNum = 2185;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303871","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);};
- //BA.debugLineNum = 2167;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369407","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);};
+ //BA.debugLineNum = 2186;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit";
if (_totalprodsvariablesdisponibles<0) {
if (true) break;};
- //BA.debugLineNum = 2168;BA.debugLine="If totalProdsVariables2Disponibles < 0 Then Exit";
+ //BA.debugLineNum = 2187;BA.debugLine="If totalProdsVariables2Disponibles < 0 Then Exit";
if (_totalprodsvariables2disponibles<0) {
if (true) break;};
- //BA.debugLineNum = 2169;BA.debugLine="maxPromosXVariables = x";
+ //BA.debugLineNum = 2188;BA.debugLine="maxPromosXVariables = x";
_maxpromosxvariables = _x;
}
};
- //BA.debugLineNum = 2172;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari";
+ //BA.debugLineNum = 2191;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("713303877","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);};
- //BA.debugLineNum = 2173;BA.debugLine="Return maxPromosXVariables";
+anywheresoftware.b4a.keywords.Common.LogImpl("413369413","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);};
+ //BA.debugLineNum = 2192;BA.debugLine="Return maxPromosXVariables";
if (true) return _maxpromosxvariables;
- //BA.debugLineNum = 2174;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2193;BA.debugLine="End Sub";
return 0;
}
public static boolean _revisapro2265(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null;
boolean _x = false;
- //BA.debugLineNum = 1632;BA.debugLine="Sub revisaPRO2265(idCliente As String) As Boolean";
- //BA.debugLineNum = 1633;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($";
+ //BA.debugLineNum = 1651;BA.debugLine="Sub revisaPRO2265(idCliente As String) As Boolean";
+ //BA.debugLineNum = 1652;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($";
_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from HIST_PRO2265 where H_IDCLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'"))));
- //BA.debugLineNum = 1634;BA.debugLine="Private x As Boolean = False";
+ //BA.debugLineNum = 1653;BA.debugLine="Private x As Boolean = False";
_x = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1635;BA.debugLine="Do While r.NextRow";
+ //BA.debugLineNum = 1654;BA.debugLine="Do While r.NextRow";
while (_r.NextRow()) {
- //BA.debugLineNum = 1636;BA.debugLine="x = True";
+ //BA.debugLineNum = 1655;BA.debugLine="x = True";
_x = anywheresoftware.b4a.keywords.Common.True;
}
;
- //BA.debugLineNum = 1638;BA.debugLine="Log($\">>>> revisaPRO2265 ${idCliente} = ${x}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711927558",(">>>> revisaPRO2265 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0);
- //BA.debugLineNum = 1639;BA.debugLine="Return x";
+ //BA.debugLineNum = 1657;BA.debugLine="Log($\">>>> revisaPRO2265 ${idCliente} = ${x}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411993094",(">>>> revisaPRO2265 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0);
+ //BA.debugLineNum = 1658;BA.debugLine="Return x";
if (true) return _x;
- //BA.debugLineNum = 1640;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1659;BA.debugLine="End Sub";
return false;
}
public static boolean _revisapro3054(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null;
boolean _x = false;
- //BA.debugLineNum = 1643;BA.debugLine="Sub revisaPRO3054(idCliente As String) As Boolean";
- //BA.debugLineNum = 1644;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($";
+ //BA.debugLineNum = 1662;BA.debugLine="Sub revisaPRO3054(idCliente As String) As Boolean";
+ //BA.debugLineNum = 1663;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($";
_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from HIST_PRO3054 where H_IDCLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'"))));
- //BA.debugLineNum = 1645;BA.debugLine="Private x As Boolean = False";
+ //BA.debugLineNum = 1664;BA.debugLine="Private x As Boolean = False";
_x = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1646;BA.debugLine="Do While r.NextRow";
+ //BA.debugLineNum = 1665;BA.debugLine="Do While r.NextRow";
while (_r.NextRow()) {
- //BA.debugLineNum = 1647;BA.debugLine="x = True";
+ //BA.debugLineNum = 1666;BA.debugLine="x = True";
_x = anywheresoftware.b4a.keywords.Common.True;
}
;
- //BA.debugLineNum = 1649;BA.debugLine="Log($\">>>> revisaPRO3054 ${idCliente} = ${x}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711993094",(">>>> revisaPRO3054 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0);
- //BA.debugLineNum = 1650;BA.debugLine="Return x";
+ //BA.debugLineNum = 1668;BA.debugLine="Log($\">>>> revisaPRO3054 ${idCliente} = ${x}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412058630",(">>>> revisaPRO3054 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0);
+ //BA.debugLineNum = 1669;BA.debugLine="Return x";
if (true) return _x;
- //BA.debugLineNum = 1651;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1670;BA.debugLine="End Sub";
return false;
}
public static boolean _revisapro3055(anywheresoftware.b4a.BA _ba,String _idcliente) throws Exception{
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null;
boolean _x = false;
- //BA.debugLineNum = 1654;BA.debugLine="Sub revisaPRO3055(idCliente As String) As Boolean";
- //BA.debugLineNum = 1655;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($";
+ //BA.debugLineNum = 1673;BA.debugLine="Sub revisaPRO3055(idCliente As String) As Boolean";
+ //BA.debugLineNum = 1674;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($";
_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from HIST_PRO3055 where H_IDCLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'"))));
- //BA.debugLineNum = 1656;BA.debugLine="Private x As Boolean = False";
+ //BA.debugLineNum = 1675;BA.debugLine="Private x As Boolean = False";
_x = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1657;BA.debugLine="Do While r.NextRow";
+ //BA.debugLineNum = 1676;BA.debugLine="Do While r.NextRow";
while (_r.NextRow()) {
- //BA.debugLineNum = 1658;BA.debugLine="x = True";
+ //BA.debugLineNum = 1677;BA.debugLine="x = True";
_x = anywheresoftware.b4a.keywords.Common.True;
}
;
- //BA.debugLineNum = 1660;BA.debugLine="Log($\">>>> revisaPRO3055 ${idCliente} = ${x}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712058630",(">>>> revisaPRO3055 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0);
- //BA.debugLineNum = 1661;BA.debugLine="Return x";
+ //BA.debugLineNum = 1679;BA.debugLine="Log($\">>>> revisaPRO3055 ${idCliente} = ${x}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412124166",(">>>> revisaPRO3055 "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_x))+""),0);
+ //BA.debugLineNum = 1680;BA.debugLine="Return x";
if (true) return _x;
- //BA.debugLineNum = 1662;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1681;BA.debugLine="End Sub";
return false;
}
public static boolean _revisaprodfueradepromo(anywheresoftware.b4a.BA _ba,String _prodid) throws Exception{
boolean _fueradepromo = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _p = null;
- //BA.debugLineNum = 1863;BA.debugLine="Sub revisaProdFueraDePromo(prodId As String) As Bo";
- //BA.debugLineNum = 1864;BA.debugLine="Private fueraDePromo As Boolean = False";
+ //BA.debugLineNum = 1882;BA.debugLine="Sub revisaProdFueraDePromo(prodId As String) As Bo";
+ //BA.debugLineNum = 1883;BA.debugLine="Private fueraDePromo As Boolean = False";
_fueradepromo = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1865;BA.debugLine="Private p As Cursor = Starter.skmt.ExecQuery($\"se";
+ //BA.debugLineNum = 1884;BA.debugLine="Private p As Cursor = Starter.skmt.ExecQuery($\"se";
_p = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_p = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CEDIS from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and PE_CEDIS in (select id_almacen from CAT_ALMACEN) and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._cliente /*gunav2.keymon.com.mx.c_cliente*/ ._la_cuenta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()))+"'"))));
- //BA.debugLineNum = 1866;BA.debugLine="Log(\"rowcount: \" & p.RowCount)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712582915","rowcount: "+BA.NumberToString(_p.getRowCount()),0);
- //BA.debugLineNum = 1867;BA.debugLine="If p.RowCount > 0 Then";
+ //BA.debugLineNum = 1885;BA.debugLine="Log(\"rowcount: \" & p.RowCount)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412648451","rowcount: "+BA.NumberToString(_p.getRowCount()),0);
+ //BA.debugLineNum = 1886;BA.debugLine="If p.RowCount > 0 Then";
if (_p.getRowCount()>0) {
- //BA.debugLineNum = 1868;BA.debugLine="p.Position = 0";
+ //BA.debugLineNum = 1887;BA.debugLine="p.Position = 0";
_p.setPosition((int) (0));
- //BA.debugLineNum = 1869;BA.debugLine="Log($\"|${p.GetString(\"PE_CEDIS\")}|${prodId}|\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712582918",("|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p.GetString("PE_CEDIS")))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"|"),0);
- //BA.debugLineNum = 1870;BA.debugLine="fueraDePromo = True";
+ //BA.debugLineNum = 1888;BA.debugLine="Log($\"|${p.GetString(\"PE_CEDIS\")}|${prodId}|\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412648454",("|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p.GetString("PE_CEDIS")))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"|"),0);
+ //BA.debugLineNum = 1889;BA.debugLine="fueraDePromo = True";
_fueradepromo = anywheresoftware.b4a.keywords.Common.True;
};
- //BA.debugLineNum = 1872;BA.debugLine="Return fueraDePromo";
+ //BA.debugLineNum = 1891;BA.debugLine="Return fueraDePromo";
if (true) return _fueradepromo;
- //BA.debugLineNum = 1873;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1892;BA.debugLine="End Sub";
return false;
}
public static String _revisapromoprocterpro3009(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _prodsmap1) throws Exception{
@@ -2656,303 +2672,303 @@ anywheresoftware.b4a.objects.collections.Map _m2 = null;
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r2 = null;
anywheresoftware.b4a.objects.CSBuilder _cs = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null;
- //BA.debugLineNum = 1527;BA.debugLine="Sub revisaPromoProcterPRO3009(prodsMap1 As Map)";
- //BA.debugLineNum = 1528;BA.debugLine="Log(\"entramos a promo Procter\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796481","entramos a promo Procter",0);
- //BA.debugLineNum = 1529;BA.debugLine="Dim almacenes As List";
+ //BA.debugLineNum = 1546;BA.debugLine="Sub revisaPromoProcterPRO3009(prodsMap1 As Map)";
+ //BA.debugLineNum = 1547;BA.debugLine="Log(\"entramos a promo Procter\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862017","entramos a promo Procter",0);
+ //BA.debugLineNum = 1548;BA.debugLine="Dim almacenes As List";
_almacenes = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 1530;BA.debugLine="almacenes.Initialize2(Array As String(\"3\", \"17\",";
+ //BA.debugLineNum = 1549;BA.debugLine="almacenes.Initialize2(Array As String(\"3\", \"17\",";
_almacenes.Initialize2(anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"3","17","37","31","68","71","33","80"}));
- //BA.debugLineNum = 1531;BA.debugLine="Log(\"Posicion de almacen: \" & almacenes.IndexOf(t";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796484","Posicion de almacen: "+BA.NumberToString(_almacenes.IndexOf((Object)(_traealmacen(_ba)))),0);
- //BA.debugLineNum = 1533;BA.debugLine="If almacenes.IndexOf(traeAlmacen) >= 0 Then ' Si";
+ //BA.debugLineNum = 1550;BA.debugLine="Log(\"Posicion de almacen: \" & almacenes.IndexOf(t";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862020","Posicion de almacen: "+BA.NumberToString(_almacenes.IndexOf((Object)(_traealmacen(_ba)))),0);
+ //BA.debugLineNum = 1552;BA.debugLine="If almacenes.IndexOf(traeAlmacen) >= 0 Then ' Si";
if (_almacenes.IndexOf((Object)(_traealmacen(_ba)))>=0) {
- //BA.debugLineNum = 1534;BA.debugLine="Private idRegalo As String = \"PYG1016\"";
+ //BA.debugLineNum = 1553;BA.debugLine="Private idRegalo As String = \"PYG1016\"";
_idregalo = "PYG1016";
- //BA.debugLineNum = 1535;BA.debugLine="Private newProdsMap As Map = prodsMap1";
+ //BA.debugLineNum = 1554;BA.debugLine="Private newProdsMap As Map = prodsMap1";
_newprodsmap = new anywheresoftware.b4a.objects.collections.Map();
_newprodsmap = _prodsmap1;
- //BA.debugLineNum = 1536;BA.debugLine="Private monto As String = 0";
+ //BA.debugLineNum = 1555;BA.debugLine="Private monto As String = 0";
_monto = BA.NumberToString(0);
- //BA.debugLineNum = 1537;BA.debugLine="Private invRegalo As Int = 0";
+ //BA.debugLineNum = 1556;BA.debugLine="Private invRegalo As Int = 0";
_invregalo = (int) (0);
- //BA.debugLineNum = 1538;BA.debugLine="Private totalRegalos As Int = 0";
+ //BA.debugLineNum = 1557;BA.debugLine="Private totalRegalos As Int = 0";
_totalregalos = (int) (0);
- //BA.debugLineNum = 1539;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery(";
+ //BA.debugLineNum = 1558;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery(";
_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select ifnull(cat_gp_almacen, 0) as CAT_GP_ALMACEN from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"'"))));
- //BA.debugLineNum = 1540;BA.debugLine="Do While r.NextRow";
+ //BA.debugLineNum = 1559;BA.debugLine="Do While r.NextRow";
while (_r.NextRow()) {
- //BA.debugLineNum = 1541;BA.debugLine="Log(r.GetString(\"CAT_GP_ALMACEN\"))";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796494",_r.GetString("CAT_GP_ALMACEN"),0);
- //BA.debugLineNum = 1542;BA.debugLine="If r.GetString(\"CAT_GP_ALMACEN\") > 0 Then invRe";
+ //BA.debugLineNum = 1560;BA.debugLine="Log(r.GetString(\"CAT_GP_ALMACEN\"))";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862030",_r.GetString("CAT_GP_ALMACEN"),0);
+ //BA.debugLineNum = 1561;BA.debugLine="If r.GetString(\"CAT_GP_ALMACEN\") > 0 Then invRe";
if ((double)(Double.parseDouble(_r.GetString("CAT_GP_ALMACEN")))>0) {
_invregalo = (int)(Double.parseDouble(_r.GetString("CAT_GP_ALMACEN")));};
}
;
- //BA.debugLineNum = 1544;BA.debugLine="Log(\"INV REGALO: \" & invRegalo)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796497","INV REGALO: "+BA.NumberToString(_invregalo),0);
- //BA.debugLineNum = 1545;BA.debugLine="r = Starter.skmt.ExecQuery($\"select pe_proid fro";
+ //BA.debugLineNum = 1563;BA.debugLine="Log(\"INV REGALO: \" & invRegalo)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862033","INV REGALO: "+BA.NumberToString(_invregalo),0);
+ //BA.debugLineNum = 1564;BA.debugLine="r = Starter.skmt.ExecQuery($\"select pe_proid fro";
_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select pe_proid from pedido where pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cedis = 'PRO3009' and pe_cant = 1 and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"' "))));
- //BA.debugLineNum = 1546;BA.debugLine="If r.RowCount > 0 Then totalRegalos = r.RowCount";
+ //BA.debugLineNum = 1565;BA.debugLine="If r.RowCount > 0 Then totalRegalos = r.RowCount";
if (_r.getRowCount()>0) {
_totalregalos = _r.getRowCount();};
- //BA.debugLineNum = 1547;BA.debugLine="Log($\"TOTAL REGALOS: ${totalRegalos}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796500",("TOTAL REGALOS: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalregalos))+""),0);
- //BA.debugLineNum = 1548;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1014\") Then ' Calcu";
+ //BA.debugLineNum = 1566;BA.debugLine="Log($\"TOTAL REGALOS: ${totalRegalos}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862036",("TOTAL REGALOS: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalregalos))+""),0);
+ //BA.debugLineNum = 1567;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1014\") Then ' Calcu";
if (_prodsmap1.ContainsKey((Object)("PYG1014"))) {
- //BA.debugLineNum = 1549;BA.debugLine="Private m1 As Map = prodsMap1.Get(\"PYG1014\")";
+ //BA.debugLineNum = 1568;BA.debugLine="Private m1 As Map = prodsMap1.Get(\"PYG1014\")";
_m1 = new anywheresoftware.b4a.objects.collections.Map();
_m1 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap1.Get((Object)("PYG1014"))));
- //BA.debugLineNum = 1550;BA.debugLine="monto = monto + m1.Get(\"cant\") * m1.Get(\"precio";
+ //BA.debugLineNum = 1569;BA.debugLine="monto = monto + m1.Get(\"cant\") * m1.Get(\"precio";
_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(BA.ObjectToNumber(_m1.Get((Object)("cant"))))*(double)(BA.ObjectToNumber(_m1.Get((Object)("precio")))));
};
- //BA.debugLineNum = 1552;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1025\") Then ' Calc";
+ //BA.debugLineNum = 1571;BA.debugLine="If prodsMap1.ContainsKey(\"PYG1025\") Then ' Calc";
if (_prodsmap1.ContainsKey((Object)("PYG1025"))) {
- //BA.debugLineNum = 1553;BA.debugLine="Private m2 As Map = prodsMap1.Get(\"PYG1025\")";
+ //BA.debugLineNum = 1572;BA.debugLine="Private m2 As Map = prodsMap1.Get(\"PYG1025\")";
_m2 = new anywheresoftware.b4a.objects.collections.Map();
_m2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap1.Get((Object)("PYG1025"))));
- //BA.debugLineNum = 1554;BA.debugLine="monto = monto + m2.Get(\"cant\") * m2.Get(\"precio";
+ //BA.debugLineNum = 1573;BA.debugLine="monto = monto + m2.Get(\"cant\") * m2.Get(\"precio";
_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(BA.ObjectToNumber(_m2.Get((Object)("cant"))))*(double)(BA.ObjectToNumber(_m2.Get((Object)("precio")))));
};
- //BA.debugLineNum = 1556;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery";
+ //BA.debugLineNum = 1575;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery";
_r2 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_r2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select ifnull(sum(pe_costo_tot),0) as monto from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"' and PE_PROID in (\"PYG1014\", \"PYG1025\")"))));
- //BA.debugLineNum = 1557;BA.debugLine="Do While r2.NextRow";
+ //BA.debugLineNum = 1576;BA.debugLine="Do While r2.NextRow";
while (_r2.NextRow()) {
- //BA.debugLineNum = 1558;BA.debugLine="monto = monto + r2.GetString(\"monto\")";
+ //BA.debugLineNum = 1577;BA.debugLine="monto = monto + r2.GetString(\"monto\")";
_monto = BA.NumberToString((double)(Double.parseDouble(_monto))+(double)(Double.parseDouble(_r2.GetString("monto"))));
}
;
- //BA.debugLineNum = 1560;BA.debugLine="Log($\"Monto: ${monto}\"$)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796513",("Monto: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0);
- //BA.debugLineNum = 1562;BA.debugLine="Log(\"prodsMap.Size: \" & prodsMap1.Size)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796515","prodsMap.Size: "+BA.NumberToString(_prodsmap1.getSize()),0);
- //BA.debugLineNum = 1563;BA.debugLine="If prodsMap1.Size > 0 Then";
+ //BA.debugLineNum = 1579;BA.debugLine="Log($\"Monto: ${monto}\"$)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862049",("Monto: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_monto))+""),0);
+ //BA.debugLineNum = 1581;BA.debugLine="Log(\"prodsMap.Size: \" & prodsMap1.Size)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862051","prodsMap.Size: "+BA.NumberToString(_prodsmap1.getSize()),0);
+ //BA.debugLineNum = 1582;BA.debugLine="If prodsMap1.Size > 0 Then";
if (_prodsmap1.getSize()>0) {
- //BA.debugLineNum = 1564;BA.debugLine="If monto > 149 Then";
+ //BA.debugLineNum = 1583;BA.debugLine="If monto > 149 Then";
if ((double)(Double.parseDouble(_monto))>149) {
- //BA.debugLineNum = 1565;BA.debugLine="Log(\"Mas de 149\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796518","Mas de 149",0);
- //BA.debugLineNum = 1566;BA.debugLine="If invRegalo > 0 Then";
+ //BA.debugLineNum = 1584;BA.debugLine="Log(\"Mas de 149\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862054","Mas de 149",0);
+ //BA.debugLineNum = 1585;BA.debugLine="If invRegalo > 0 Then";
if (_invregalo>0) {
- //BA.debugLineNum = 1567;BA.debugLine="Log(\"Hay inventario para regalo\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796520","Hay inventario para regalo",0);
- //BA.debugLineNum = 1568;BA.debugLine="If totalRegalos = 0 Then";
+ //BA.debugLineNum = 1586;BA.debugLine="Log(\"Hay inventario para regalo\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862056","Hay inventario para regalo",0);
+ //BA.debugLineNum = 1587;BA.debugLine="If totalRegalos = 0 Then";
if (_totalregalos==0) {
- //BA.debugLineNum = 1569;BA.debugLine="guardaProducto(\"PRO3009\", 1, 1, traeProdNomb";
+ //BA.debugLineNum = 1588;BA.debugLine="guardaProducto(\"PRO3009\", 1, 1, traeProdNomb";
_guardaproducto(_ba,"PRO3009",BA.NumberToString(1),BA.NumberToString(1),_traeprodnombre(_ba,_idregalo),_idregalo,_traecliente(_ba),_traefecha(_ba),_traeusuariodebd(_ba),_traeruta(_ba),BA.NumberToString(0),mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ );
- //BA.debugLineNum = 1571;BA.debugLine="Private cs As CSBuilder";
+ //BA.debugLineNum = 1590;BA.debugLine="Private cs As CSBuilder";
_cs = new anywheresoftware.b4a.objects.CSBuilder();
- //BA.debugLineNum = 1572;BA.debugLine="cs.Initialize";
+ //BA.debugLineNum = 1591;BA.debugLine="cs.Initialize";
_cs.Initialize();
- //BA.debugLineNum = 1573;BA.debugLine="Msgbox(cs.Color(Colors.red).append(\"PRO3009:";
+ //BA.debugLineNum = 1592;BA.debugLine="Msgbox(cs.Color(Colors.red).append(\"PRO3009:";
anywheresoftware.b4a.keywords.Common.Msgbox(BA.ObjectToCharSequence(_cs.Color(anywheresoftware.b4a.keywords.Common.Colors.Red).Append(BA.ObjectToCharSequence("PRO3009:")).Pop().Append(BA.ObjectToCharSequence(" En la compra de $150 de la linea Oral B Procter & Gamble se agrega 1 Salvo Multiusuos 500 ml.")).Color(anywheresoftware.b4a.keywords.Common.Colors.Red).Append(BA.ObjectToCharSequence(" con precio de $1.00")).PopAll().getObject()),BA.ObjectToCharSequence("Producto de regalo agregado"),_ba);
};
}else {
- //BA.debugLineNum = 1576;BA.debugLine="LogColor(\"NO hay inventario para regalo PRO30";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796529","NO hay inventario para regalo PRO3009 Procter & Gamble.",anywheresoftware.b4a.keywords.Common.Colors.Red);
+ //BA.debugLineNum = 1595;BA.debugLine="LogColor(\"NO hay inventario para regalo PRO30";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862065","NO hay inventario para regalo PRO3009 Procter & Gamble.",anywheresoftware.b4a.keywords.Common.Colors.Red);
};
}else {
- //BA.debugLineNum = 1579;BA.debugLine="Log(\"Menos de 149\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796532","Menos de 149",0);
- //BA.debugLineNum = 1580;BA.debugLine="If totalRegalos > 0 Then";
+ //BA.debugLineNum = 1598;BA.debugLine="Log(\"Menos de 149\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862068","Menos de 149",0);
+ //BA.debugLineNum = 1599;BA.debugLine="If totalRegalos > 0 Then";
if (_totalregalos>0) {
- //BA.debugLineNum = 1581;BA.debugLine="Log(\"Quitamos regalo\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796534","Quitamos regalo",0);
- //BA.debugLineNum = 1582;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid";
+ //BA.debugLineNum = 1600;BA.debugLine="Log(\"Quitamos regalo\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862070","Quitamos regalo",0);
+ //BA.debugLineNum = 1601;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedid";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = 'PRO3009' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"' and pe_cant = 1 "));
- //BA.debugLineNum = 1583;BA.debugLine="Log($\"Borramos pe_cedis='PRO3009' and pe_proi";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796536",("Borramos pe_cedis='PRO3009' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0);
- //BA.debugLineNum = 1584;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery";
+ //BA.debugLineNum = 1602;BA.debugLine="Log($\"Borramos pe_cedis='PRO3009' and pe_proi";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862072",("Borramos pe_cedis='PRO3009' and pe_proid='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0);
+ //BA.debugLineNum = 1603;BA.debugLine="Private pe As Cursor = Starter.skmt.ExecQuery";
_pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)")));
- //BA.debugLineNum = 1585;BA.debugLine="pe.Position=0";
+ //BA.debugLineNum = 1604;BA.debugLine="pe.Position=0";
_pe.setPosition((int) (0));
- //BA.debugLineNum = 1586;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then";
+ //BA.debugLineNum = 1605;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then";
if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1587;BA.debugLine="Log(\"###### delete from pedido_cliente -";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796540","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_traecliente(_ba),0);
- //BA.debugLineNum = 1588;BA.debugLine="Log($\"delete from pedido_cliente where PC_CL";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796541",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0);
- //BA.debugLineNum = 1589;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedi";
+ //BA.debugLineNum = 1606;BA.debugLine="Log(\"###### delete from pedido_cliente -";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862076","###### delete from pedido_cliente - "+_traecliente(_ba)+"|"+_traecliente(_ba),0);
+ //BA.debugLineNum = 1607;BA.debugLine="Log($\"delete from pedido_cliente where PC_CL";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862077",("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"),0);
+ //BA.debugLineNum = 1608;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedi";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where PC_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'"));
};
- //BA.debugLineNum = 1591;BA.debugLine="ToastMessageShow(\"Quitamos regalo PRO3009\", F";
+ //BA.debugLineNum = 1610;BA.debugLine="ToastMessageShow(\"Quitamos regalo PRO3009\", F";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Quitamos regalo PRO3009"),anywheresoftware.b4a.keywords.Common.False);
};
};
};
}else {
- //BA.debugLineNum = 1596;BA.debugLine="LogColor(\"El almacen actual NO esta en la lista";
-anywheresoftware.b4a.keywords.Common.LogImpl("711796549","El almacen actual NO esta en la lista para la promo de Procter & Gamble.",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+ //BA.debugLineNum = 1615;BA.debugLine="LogColor(\"El almacen actual NO esta en la lista";
+anywheresoftware.b4a.keywords.Common.LogImpl("411862085","El almacen actual NO esta en la lista para la promo de Procter & Gamble.",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
};
- //BA.debugLineNum = 1599;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1618;BA.debugLine="End Sub";
return "";
}
public static String _revisauug(anywheresoftware.b4a.BA _ba) throws Exception{
int _daa = 0;
- //BA.debugLineNum = 347;BA.debugLine="Sub revisaUUG 'ignore";
- //BA.debugLineNum = 348;BA.debugLine="Try";
-try { //BA.debugLineNum = 350;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize";
+ //BA.debugLineNum = 362;BA.debugLine="Sub revisaUUG 'ignore";
+ //BA.debugLineNum = 363;BA.debugLine="Try";
+try { //BA.debugLineNum = 365;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize";
if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) {
- //BA.debugLineNum = 351;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(T";
+ //BA.debugLineNum = 366;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(T";
_daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject())));
- //BA.debugLineNum = 352;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f";
+ //BA.debugLineNum = 367;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f";
if (mostCurrent._starter._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("78388613",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
- //BA.debugLineNum = 353;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio";
+anywheresoftware.b4a.keywords.Common.LogImpl("48454149",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
+ //BA.debugLineNum = 368;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio";
if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) {
- //BA.debugLineNum = 354;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,";
+ //BA.debugLineNum = 369;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,";
_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude())}));
- //BA.debugLineNum = 355;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a";
+ //BA.debugLineNum = 370;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a";
if (mostCurrent._starter._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("78388616","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("48454152","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);};
};
- //BA.debugLineNum = 357;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc";
+ //BA.debugLineNum = 372;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc";
mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation();
};
}
catch (Exception e12) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e12); //BA.debugLineNum = 360;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is";
-anywheresoftware.b4a.keywords.Common.LogImpl("78388621","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e12); //BA.debugLineNum = 375;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is";
+anywheresoftware.b4a.keywords.Common.LogImpl("48454157","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
- //BA.debugLineNum = 362;BA.debugLine="End Sub";
+ //BA.debugLineNum = 377;BA.debugLine="End Sub";
return "";
}
public static String _setdivider(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ListViewWrapper _lv,int _color,int _height) throws Exception{
anywheresoftware.b4a.agraham.reflection.Reflection _r = null;
anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null;
- //BA.debugLineNum = 42;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh";
- //BA.debugLineNum = 43;BA.debugLine="Dim r As Reflector";
+ //BA.debugLineNum = 57;BA.debugLine="Sub SetDivider(lv As ListView, Color As Int, Heigh";
+ //BA.debugLineNum = 58;BA.debugLine="Dim r As Reflector";
_r = new anywheresoftware.b4a.agraham.reflection.Reflection();
- //BA.debugLineNum = 44;BA.debugLine="r.Target = lv";
+ //BA.debugLineNum = 59;BA.debugLine="r.Target = lv";
_r.Target = (Object)(_lv.getObject());
- //BA.debugLineNum = 45;BA.debugLine="Dim CD As ColorDrawable";
+ //BA.debugLineNum = 60;BA.debugLine="Dim CD As ColorDrawable";
_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable();
- //BA.debugLineNum = 46;BA.debugLine="CD.Initialize(Color, 0)";
+ //BA.debugLineNum = 61;BA.debugLine="CD.Initialize(Color, 0)";
_cd.Initialize(_color,(int) (0));
- //BA.debugLineNum = 47;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A";
+ //BA.debugLineNum = 62;BA.debugLine="r.RunMethod4(\"setDivider\", Array As Object(CD), A";
_r.RunMethod4("setDivider",new Object[]{(Object)(_cd.getObject())},new String[]{"android.graphics.drawable.Drawable"});
- //BA.debugLineNum = 48;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la";
+ //BA.debugLineNum = 63;BA.debugLine="r.RunMethod2(\"setDividerHeight\", Height, \"java.la";
_r.RunMethod2("setDividerHeight",BA.NumberToString(_height),"java.lang.int");
- //BA.debugLineNum = 49;BA.debugLine="End Sub";
+ //BA.debugLineNum = 64;BA.debugLine="End Sub";
return "";
}
public static String _totalpedido(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _ct = null;
String _ptotal = "";
String _tempt = "";
- //BA.debugLineNum = 755;BA.debugLine="Sub totalPedido As String";
- //BA.debugLineNum = 756;BA.debugLine="Private cT As Cursor = Starter.skmt.ExecQuery($\"s";
+ //BA.debugLineNum = 770;BA.debugLine="Sub totalPedido As String";
+ //BA.debugLineNum = 771;BA.debugLine="Private cT As Cursor = Starter.skmt.ExecQuery($\"s";
_ct = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_ct = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total from PEDIDO where PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"' AND PE_CEDIS <> 'DUR'"))));
- //BA.debugLineNum = 757;BA.debugLine="Private pTotal As String = \"0\"";
+ //BA.debugLineNum = 772;BA.debugLine="Private pTotal As String = \"0\"";
_ptotal = "0";
- //BA.debugLineNum = 758;BA.debugLine="If cT.RowCount > 0 Then";
+ //BA.debugLineNum = 773;BA.debugLine="If cT.RowCount > 0 Then";
if (_ct.getRowCount()>0) {
- //BA.debugLineNum = 759;BA.debugLine="cT.Position = 0";
+ //BA.debugLineNum = 774;BA.debugLine="cT.Position = 0";
_ct.setPosition((int) (0));
- //BA.debugLineNum = 761;BA.debugLine="Private tempT As String = cT.GetLong(\"total\")";
+ //BA.debugLineNum = 776;BA.debugLine="Private tempT As String = cT.GetLong(\"total\")";
_tempt = BA.NumberToString(_ct.GetLong("total"));
- //BA.debugLineNum = 762;BA.debugLine="If tempT <> \"null\" And tempT <> Null Then";
+ //BA.debugLineNum = 777;BA.debugLine="If tempT <> \"null\" And tempT <> Null Then";
if ((_tempt).equals("null") == false && _tempt!= null) {
- //BA.debugLineNum = 764;BA.debugLine="pTotal = tempT";
+ //BA.debugLineNum = 779;BA.debugLine="pTotal = tempT";
_ptotal = _tempt;
};
};
- //BA.debugLineNum = 768;BA.debugLine="cT.Close";
+ //BA.debugLineNum = 783;BA.debugLine="cT.Close";
_ct.Close();
- //BA.debugLineNum = 769;BA.debugLine="Return pTotal";
+ //BA.debugLineNum = 784;BA.debugLine="Return pTotal";
if (true) return _ptotal;
- //BA.debugLineNum = 770;BA.debugLine="End Sub";
+ //BA.debugLineNum = 785;BA.debugLine="End Sub";
return "";
}
public static String _traealmacen(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _a = "";
- //BA.debugLineNum = 643;BA.debugLine="Sub traeAlmacen As String 'ignore";
- //BA.debugLineNum = 644;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 658;BA.debugLine="Sub traeAlmacen As String 'ignore";
+ //BA.debugLineNum = 659;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 645;BA.debugLine="Private a As String = \"NA\"";
+ //BA.debugLineNum = 660;BA.debugLine="Private a As String = \"NA\"";
_a = "NA";
- //BA.debugLineNum = 646;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL";
+ //BA.debugLineNum = 661;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN")));
- //BA.debugLineNum = 647;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 662;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 648;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 663;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 649;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")";
+ //BA.debugLineNum = 664;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")";
_a = _c.GetString("ID_ALMACEN");
};
- //BA.debugLineNum = 651;BA.debugLine="c.Close";
+ //BA.debugLineNum = 666;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 652;BA.debugLine="Return a";
+ //BA.debugLineNum = 667;BA.debugLine="Return a";
if (true) return _a;
- //BA.debugLineNum = 653;BA.debugLine="End Sub";
+ //BA.debugLineNum = 668;BA.debugLine="End Sub";
return "";
}
public static String _traecliente(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _cl = "";
- //BA.debugLineNum = 819;BA.debugLine="Sub traeCliente As String 'ignore";
- //BA.debugLineNum = 820;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 834;BA.debugLine="Sub traeCliente As String 'ignore";
+ //BA.debugLineNum = 835;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 821;BA.debugLine="Private cl As String";
+ //BA.debugLineNum = 836;BA.debugLine="Private cl As String";
_cl = "";
- //BA.debugLineNum = 822;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA";
+ //BA.debugLineNum = 837;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa")));
- //BA.debugLineNum = 823;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 838;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 824;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 839;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 825;BA.debugLine="cl = c.GetString(\"CUENTA\")";
+ //BA.debugLineNum = 840;BA.debugLine="cl = c.GetString(\"CUENTA\")";
_cl = _c.GetString("CUENTA");
};
- //BA.debugLineNum = 827;BA.debugLine="c.Close";
+ //BA.debugLineNum = 842;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 829;BA.debugLine="Return cl";
+ //BA.debugLineNum = 844;BA.debugLine="Return cl";
if (true) return _cl;
- //BA.debugLineNum = 830;BA.debugLine="End Sub";
+ //BA.debugLineNum = 845;BA.debugLine="End Sub";
return "";
}
public static String _traefecha(anywheresoftware.b4a.BA _ba) throws Exception{
String _sdate = "";
String _stime = "";
- //BA.debugLineNum = 832;BA.debugLine="Sub traeFecha As String 'ignore";
- //BA.debugLineNum = 833;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
+ //BA.debugLineNum = 847;BA.debugLine="Sub traeFecha As String 'ignore";
+ //BA.debugLineNum = 848;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\"";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy");
- //BA.debugLineNum = 834;BA.debugLine="Private sDate As String =DateTime.Date(DateTime.N";
+ //BA.debugLineNum = 849;BA.debugLine="Private sDate As String =DateTime.Date(DateTime.N";
_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
- //BA.debugLineNum = 835;BA.debugLine="Private sTime As String =DateTime.Time(DateTime.N";
+ //BA.debugLineNum = 850;BA.debugLine="Private sTime As String =DateTime.Time(DateTime.N";
_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
- //BA.debugLineNum = 836;BA.debugLine="Return sDate & sTime";
+ //BA.debugLineNum = 851;BA.debugLine="Return sDate & sTime";
if (true) return _sdate+_stime;
- //BA.debugLineNum = 837;BA.debugLine="End Sub";
+ //BA.debugLineNum = 852;BA.debugLine="End Sub";
return "";
}
public static String _traeinventario(anywheresoftware.b4a.BA _ba,String _id) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _inventario = "";
- //BA.debugLineNum = 1980;BA.debugLine="Sub traeinventario(id As String) As String";
- //BA.debugLineNum = 1981;BA.debugLine="Dim c As Cursor";
+ //BA.debugLineNum = 1999;BA.debugLine="Sub traeinventario(id As String) As String";
+ //BA.debugLineNum = 2000;BA.debugLine="Dim c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 1982;BA.debugLine="Dim inventario As String = \"0\"";
+ //BA.debugLineNum = 2001;BA.debugLine="Dim inventario As String = \"0\"";
_inventario = "0";
- //BA.debugLineNum = 1983;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G";
+ //BA.debugLineNum = 2002;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ )))+" where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'"))));
- //BA.debugLineNum = 1985;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 2004;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1986;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2005;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1987;BA.debugLine="inventario = c.GetString(\"CAT_GP_ALMACEN\")";
+ //BA.debugLineNum = 2006;BA.debugLine="inventario = c.GetString(\"CAT_GP_ALMACEN\")";
_inventario = _c.GetString("CAT_GP_ALMACEN");
};
- //BA.debugLineNum = 1989;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2008;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1990;BA.debugLine="Return inventario";
+ //BA.debugLineNum = 2009;BA.debugLine="Return inventario";
if (true) return _inventario;
- //BA.debugLineNum = 1991;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2010;BA.debugLine="End Sub";
return "";
}
public static int _traemaxpromos(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{
@@ -2960,229 +2976,229 @@ boolean _thislog = false;
anywheresoftware.b4a.objects.collections.List _maxpromos = null;
int _vendidas = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
- //BA.debugLineNum = 1029;BA.debugLine="Sub traeMaxPromos(pm As Map) As Int";
- //BA.debugLineNum = 1030;BA.debugLine="Private thisLog As Boolean = True 'Si es verdader";
+ //BA.debugLineNum = 1044;BA.debugLine="Sub traeMaxPromos(pm As Map) As Int";
+ //BA.debugLineNum = 1045;BA.debugLine="Private thisLog As Boolean = True 'Si es verdader";
_thislog = anywheresoftware.b4a.keywords.Common.True;
- //BA.debugLineNum = 1031;BA.debugLine="Private maxPromos As List";
+ //BA.debugLineNum = 1046;BA.debugLine="Private maxPromos As List";
_maxpromos = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 1032;BA.debugLine="Private vendidas As Int = 0";
+ //BA.debugLineNum = 1047;BA.debugLine="Private vendidas As Int = 0";
_vendidas = (int) (0);
- //BA.debugLineNum = 1033;BA.debugLine="maxPromos.Initialize";
+ //BA.debugLineNum = 1048;BA.debugLine="maxPromos.Initialize";
_maxpromos.Initialize();
- //BA.debugLineNum = 1035;BA.debugLine="If thisLog Then Log(pm)";
+ //BA.debugLineNum = 1050;BA.debugLine="If thisLog Then Log(pm)";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710682374",BA.ObjectToString(_pm),0);};
- //BA.debugLineNum = 1036;BA.debugLine="If pm.Get(\"historico\") = \"1\" Then maxPromos.Add(p";
+anywheresoftware.b4a.keywords.Common.LogImpl("410747910",BA.ObjectToString(_pm),0);};
+ //BA.debugLineNum = 1051;BA.debugLine="If pm.Get(\"historico\") = \"1\" Then maxPromos.Add(p";
if ((_pm.Get((Object)("historico"))).equals((Object)("1"))) {
_maxpromos.Add(_pm.Get((Object)("maxRecurrente")));};
- //BA.debugLineNum = 1037;BA.debugLine="maxPromos.Add(pm.Get(\"maxPromos\")) 'Agregamos max";
+ //BA.debugLineNum = 1052;BA.debugLine="maxPromos.Add(pm.Get(\"maxPromos\")) 'Agregamos max";
_maxpromos.Add(_pm.Get((Object)("maxPromos")));
- //BA.debugLineNum = 1038;BA.debugLine="maxPromos.Add(pm.Get(\"maxXcliente\")) 'Agregamos m";
+ //BA.debugLineNum = 1053;BA.debugLine="maxPromos.Add(pm.Get(\"maxXcliente\")) 'Agregamos m";
_maxpromos.Add(_pm.Get((Object)("maxXcliente")));
- //BA.debugLineNum = 1039;BA.debugLine="If thisLog Then Log(maxPromos)";
+ //BA.debugLineNum = 1054;BA.debugLine="If thisLog Then Log(maxPromos)";
if (_thislog) {
-anywheresoftware.b4a.keywords.Common.LogImpl("710682378",BA.ObjectToString(_maxpromos),0);};
- //BA.debugLineNum = 1040;BA.debugLine="maxPromos.Sort(True)";
+anywheresoftware.b4a.keywords.Common.LogImpl("410747914",BA.ObjectToString(_maxpromos),0);};
+ //BA.debugLineNum = 1055;BA.debugLine="maxPromos.Sort(True)";
_maxpromos.Sort(anywheresoftware.b4a.keywords.Common.True);
- //BA.debugLineNum = 1042;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR";
+ //BA.debugLineNum = 1057;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR";
if ((mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) {
- //BA.debugLineNum = 1043;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 1058;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? AND PE_FUTURO = '1' ",new String[]{(BA.ObjectToString(_pm.Get((Object)("id")))).trim(),_traecliente(_ba).trim()})));
}else {
- //BA.debugLineNum = 1045;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe";
+ //BA.debugLineNum = 1060;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? AND PE_FUTURO = '0' ",new String[]{(BA.ObjectToString(_pm.Get((Object)("id")))).trim(),_traecliente(_ba).trim()})));
};
- //BA.debugLineNum = 1047;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1062;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1048;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1063;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1049;BA.debugLine="vendidas = c.GetInt(\"vendidas\")";
+ //BA.debugLineNum = 1064;BA.debugLine="vendidas = c.GetInt(\"vendidas\")";
_vendidas = _c.GetInt("vendidas");
};
- //BA.debugLineNum = 1055;BA.debugLine="Return maxPromos.Get(0) - vendidas 'Regresamos el";
+ //BA.debugLineNum = 1070;BA.debugLine="Return maxPromos.Get(0) - vendidas 'Regresamos el";
if (true) return (int) ((double)(BA.ObjectToNumber(_maxpromos.Get((int) (0))))-_vendidas);
- //BA.debugLineNum = 1056;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1071;BA.debugLine="End Sub";
return 0;
}
public static boolean _traemontoprod(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _x = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null;
- //BA.debugLineNum = 1321;BA.debugLine="Sub TraeMontoProd As Boolean";
- //BA.debugLineNum = 1322;BA.debugLine="Private x As Boolean = False";
+ //BA.debugLineNum = 1340;BA.debugLine="Sub TraeMontoProd As Boolean";
+ //BA.debugLineNum = 1341;BA.debugLine="Private x As Boolean = False";
_x = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1323;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1342;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 1324;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1343;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1325;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1344;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1326;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 1345;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP")));
- //BA.debugLineNum = 1327;BA.debugLine="If c2.RowCount > 0 Then";
+ //BA.debugLineNum = 1346;BA.debugLine="If c2.RowCount > 0 Then";
if (_c2.getRowCount()>0) {
- //BA.debugLineNum = 1328;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 1347;BA.debugLine="c2.Position = 0";
_c2.setPosition((int) (0));
- //BA.debugLineNum = 1329;BA.debugLine="If c.GetString(\"suma\") >= c2.GetString(\"CAT_PE";
+ //BA.debugLineNum = 1348;BA.debugLine="If c.GetString(\"suma\") >= c2.GetString(\"CAT_PE";
if ((double)(Double.parseDouble(_c.GetString("suma")))>=(double)(Double.parseDouble(_c2.GetString("CAT_PE_MONTO")))) {
- //BA.debugLineNum = 1330;BA.debugLine="x = True";
+ //BA.debugLineNum = 1349;BA.debugLine="x = True";
_x = anywheresoftware.b4a.keywords.Common.True;
}else {
- //BA.debugLineNum = 1333;BA.debugLine="x = False";
+ //BA.debugLineNum = 1352;BA.debugLine="x = False";
_x = anywheresoftware.b4a.keywords.Common.False;
};
};
};
- //BA.debugLineNum = 1338;BA.debugLine="Return x";
+ //BA.debugLineNum = 1357;BA.debugLine="Return x";
if (true) return _x;
- //BA.debugLineNum = 1339;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1358;BA.debugLine="End Sub";
return false;
}
public static boolean _traemontoprod2(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _x = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null;
- //BA.debugLineNum = 1343;BA.debugLine="Sub TraeMontoProd2 As Boolean";
- //BA.debugLineNum = 1345;BA.debugLine="Private x As Boolean = False";
+ //BA.debugLineNum = 1362;BA.debugLine="Sub TraeMontoProd2 As Boolean";
+ //BA.debugLineNum = 1364;BA.debugLine="Private x As Boolean = False";
_x = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1347;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1366;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ifnull( SUM (PE_COSTO_TOT),0) As suma FROM PEDIDO JOIN CAT_PROMO_ESP ON CAT_PE_ID = PE_PROID WHERE PE_CLIENTE IN (Select CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 1349;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1368;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1351;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1370;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1353;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex";
+ //BA.debugLineNum = 1372;BA.debugLine="Private c2 As Cursor = B4XPages.MainPage.skmt.Ex";
_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT DISTINCT CAT_PE_MONTO FROM CAT_PROMO_ESP")));
- //BA.debugLineNum = 1355;BA.debugLine="If c2.RowCount > 0 Then";
+ //BA.debugLineNum = 1374;BA.debugLine="If c2.RowCount > 0 Then";
if (_c2.getRowCount()>0) {
- //BA.debugLineNum = 1357;BA.debugLine="c2.Position = 0";
+ //BA.debugLineNum = 1376;BA.debugLine="c2.Position = 0";
_c2.setPosition((int) (0));
- //BA.debugLineNum = 1359;BA.debugLine="If c.GetString(\"suma\") >= 350 And c.GetString(\"";
+ //BA.debugLineNum = 1378;BA.debugLine="If c.GetString(\"suma\") >= 350 And c.GetString(\"";
if ((double)(Double.parseDouble(_c.GetString("suma")))>=350 && (double)(Double.parseDouble(_c.GetString("suma")))<=499.99) {
- //BA.debugLineNum = 1361;BA.debugLine="x = True";
+ //BA.debugLineNum = 1380;BA.debugLine="x = True";
_x = anywheresoftware.b4a.keywords.Common.True;
}else {
- //BA.debugLineNum = 1364;BA.debugLine="x = False";
+ //BA.debugLineNum = 1383;BA.debugLine="x = False";
_x = anywheresoftware.b4a.keywords.Common.False;
};
};
};
- //BA.debugLineNum = 1370;BA.debugLine="Return x";
+ //BA.debugLineNum = 1389;BA.debugLine="Return x";
if (true) return _x;
- //BA.debugLineNum = 1372;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1391;BA.debugLine="End Sub";
return false;
}
public static anywheresoftware.b4a.objects.collections.Map _traemosinventariodisponibleparapromo(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
anywheresoftware.b4a.objects.collections.Map _prods = null;
int _i = 0;
- //BA.debugLineNum = 952;BA.debugLine="Sub traemosInventarioDisponibleParaPromo(promo As";
- //BA.debugLineNum = 953;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 967;BA.debugLine="Sub traemosInventarioDisponibleParaPromo(promo As";
+ //BA.debugLineNum = 968;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 954;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA";
+ //BA.debugLineNum = 969;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)"),new String[]{_promo})));
- //BA.debugLineNum = 957;BA.debugLine="Private prods As Map";
+ //BA.debugLineNum = 972;BA.debugLine="Private prods As Map";
_prods = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 958;BA.debugLine="prods.Initialize";
+ //BA.debugLineNum = 973;BA.debugLine="prods.Initialize";
_prods.Initialize();
- //BA.debugLineNum = 959;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 974;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 960;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 975;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step6 = 1;
final int limit6 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit6 ;_i = _i + step6 ) {
- //BA.debugLineNum = 961;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 976;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 962;BA.debugLine="prods.Put(c.GetString(\"CAT_GP_ID\"), c.GetString";
+ //BA.debugLineNum = 977;BA.debugLine="prods.Put(c.GetString(\"CAT_GP_ID\"), c.GetString";
_prods.Put((Object)(_c.GetString("CAT_GP_ID")),(Object)(_c.GetString("CAT_GP_ALMACEN")));
}
};
};
- //BA.debugLineNum = 967;BA.debugLine="Return prods";
+ //BA.debugLineNum = 982;BA.debugLine="Return prods";
if (true) return _prods;
- //BA.debugLineNum = 968;BA.debugLine="End Sub";
+ //BA.debugLineNum = 983;BA.debugLine="End Sub";
return null;
}
public static String _traenombrecliente(anywheresoftware.b4a.BA _ba,String _id) throws Exception{
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _c = null;
String _n = "";
- //BA.debugLineNum = 1506;BA.debugLine="Sub traeNombreCliente(id As String) As String";
- //BA.debugLineNum = 1507;BA.debugLine="Private c As ResultSet = B4XPages.MainPage.skmt.E";
+ //BA.debugLineNum = 1525;BA.debugLine="Sub traeNombreCliente(id As String) As String";
+ //BA.debugLineNum = 1526;BA.debugLine="Private c As ResultSet = B4XPages.MainPage.skmt.E";
_c = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_c = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'"))));
- //BA.debugLineNum = 1508;BA.debugLine="Private n As String = \"N/A\"";
+ //BA.debugLineNum = 1527;BA.debugLine="Private n As String = \"N/A\"";
_n = "N/A";
- //BA.debugLineNum = 1509;BA.debugLine="Do While c.NextRow";
+ //BA.debugLineNum = 1528;BA.debugLine="Do While c.NextRow";
while (_c.NextRow()) {
- //BA.debugLineNum = 1510;BA.debugLine="n = c.GetString(\"CAT_CL_NOMBRE\")";
+ //BA.debugLineNum = 1529;BA.debugLine="n = c.GetString(\"CAT_CL_NOMBRE\")";
_n = _c.GetString("CAT_CL_NOMBRE");
}
;
- //BA.debugLineNum = 1512;BA.debugLine="Return n";
+ //BA.debugLineNum = 1531;BA.debugLine="Return n";
if (true) return _n;
- //BA.debugLineNum = 1513;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1532;BA.debugLine="End Sub";
return "";
}
public static anywheresoftware.b4a.objects.collections.Map _traeprodiddebd(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
anywheresoftware.b4a.objects.collections.Map _m = null;
- //BA.debugLineNum = 1259;BA.debugLine="Sub traeProdIdDeBD As Map 'ignore";
- //BA.debugLineNum = 1260;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 1278;BA.debugLine="Sub traeProdIdDeBD As Map 'ignore";
+ //BA.debugLineNum = 1279;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 1261;BA.debugLine="Private m As Map";
+ //BA.debugLineNum = 1280;BA.debugLine="Private m As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 1262;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G";
+ //BA.debugLineNum = 1281;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_TIPO, CAT_GP_SUBTIPO from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where CAT_GP_NOMBRE In (Select PDESC from PROID)"))));
- //BA.debugLineNum = 1263;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1282;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1264;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1283;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1265;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no";
+ //BA.debugLineNum = 1284;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no";
_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_c.GetString("CAT_GP_ID")),(Object)("nombre"),(Object)(_c.GetString("CAT_GP_NOMBRE")),(Object)("tipo"),(Object)(_c.GetString("CAT_GP_TIPO")),(Object)("subtipo"),(Object)(_c.GetString("CAT_GP_SUBTIPO"))});
}else {
- //BA.debugLineNum = 1267;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\"";
+ //BA.debugLineNum = 1286;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\"";
_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)("N/A"),(Object)("nombre"),(Object)("N/A"),(Object)("tipo"),(Object)("N/A"),(Object)("subtipo"),(Object)("N/A")});
};
- //BA.debugLineNum = 1269;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1288;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1270;BA.debugLine="Return m";
+ //BA.debugLineNum = 1289;BA.debugLine="Return m";
if (true) return _m;
- //BA.debugLineNum = 1271;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1290;BA.debugLine="End Sub";
return null;
}
public static String _traeprodnombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null;
String _n = "";
- //BA.debugLineNum = 656;BA.debugLine="Sub traeProdNombre(id As String) As String";
- //BA.debugLineNum = 657;BA.debugLine="Private h As Cursor";
+ //BA.debugLineNum = 671;BA.debugLine="Sub traeProdNombre(id As String) As String";
+ //BA.debugLineNum = 672;BA.debugLine="Private h As Cursor";
_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 658;BA.debugLine="Private n As String";
+ //BA.debugLineNum = 673;BA.debugLine="Private n As String";
_n = "";
- //BA.debugLineNum = 659;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT_";
+ //BA.debugLineNum = 674;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT_";
_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where CAT_GP_ID = ? "),new String[]{_id.trim()})));
- //BA.debugLineNum = 660;BA.debugLine="If h.RowCount > 0 Then";
+ //BA.debugLineNum = 675;BA.debugLine="If h.RowCount > 0 Then";
if (_h.getRowCount()>0) {
- //BA.debugLineNum = 661;BA.debugLine="h.Position = 0";
+ //BA.debugLineNum = 676;BA.debugLine="h.Position = 0";
_h.setPosition((int) (0));
- //BA.debugLineNum = 662;BA.debugLine="n = h.GetString(\"CAT_GP_NOMBRE\")";
+ //BA.debugLineNum = 677;BA.debugLine="n = h.GetString(\"CAT_GP_NOMBRE\")";
_n = _h.GetString("CAT_GP_NOMBRE");
};
- //BA.debugLineNum = 665;BA.debugLine="h.Close";
+ //BA.debugLineNum = 680;BA.debugLine="h.Close";
_h.Close();
- //BA.debugLineNum = 666;BA.debugLine="If n = Null Or n=\"\" Then n = \"N/A\"";
+ //BA.debugLineNum = 681;BA.debugLine="If n = Null Or n=\"\" Then n = \"N/A\"";
if (_n== null || (_n).equals("")) {
_n = "N/A";};
- //BA.debugLineNum = 668;BA.debugLine="Return n";
+ //BA.debugLineNum = 683;BA.debugLine="Return n";
if (true) return _n;
- //BA.debugLineNum = 669;BA.debugLine="End Sub";
+ //BA.debugLineNum = 684;BA.debugLine="End Sub";
return "";
}
public static anywheresoftware.b4a.objects.collections.Map _traepromo(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{
@@ -3202,17 +3218,17 @@ anywheresoftware.b4a.objects.collections.Map _tipos = null;
int _i = 0;
String _pvr = "";
String _pvr2 = "";
- //BA.debugLineNum = 2013;BA.debugLine="Sub traePromo(promo As String, cliente As String)";
- //BA.debugLineNum = 2014;BA.debugLine="Private inicioContador As String = DateTime.Now";
+ //BA.debugLineNum = 2032;BA.debugLine="Sub traePromo(promo As String, cliente As String)";
+ //BA.debugLineNum = 2033;BA.debugLine="Private inicioContador As String = DateTime.Now";
_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
- //BA.debugLineNum = 2015;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 2034;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from promos_comp where cat_pa_id = '"+_promo+"'")));
- //BA.debugLineNum = 2016;BA.debugLine="Private siHistorico As String = 0";
+ //BA.debugLineNum = 2035;BA.debugLine="Private siHistorico As String = 0";
_sihistorico = BA.NumberToString(0);
- //BA.debugLineNum = 2017;BA.debugLine="Private promoMap As Map";
+ //BA.debugLineNum = 2036;BA.debugLine="Private promoMap As Map";
_promomap = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 2018;BA.debugLine="Private prodsFijos, prodsFijosPrecios, prodsFijos";
+ //BA.debugLineNum = 2037;BA.debugLine="Private prodsFijos, prodsFijosPrecios, prodsFijos";
_prodsfijos = new anywheresoftware.b4a.objects.collections.List();
_prodsfijosprecios = new anywheresoftware.b4a.objects.collections.List();
_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List();
@@ -3220,207 +3236,207 @@ _prodsvariables = new anywheresoftware.b4a.objects.collections.List();
_prodsvariables2 = new anywheresoftware.b4a.objects.collections.List();
_prodsvariablesprecios = new anywheresoftware.b4a.objects.collections.List();
_prodsvariablesprecios2 = new anywheresoftware.b4a.objects.collections.List();
- //BA.debugLineNum = 2019;BA.debugLine="promoMap.Initialize";
+ //BA.debugLineNum = 2038;BA.debugLine="promoMap.Initialize";
_promomap.Initialize();
- //BA.debugLineNum = 2020;BA.debugLine="prodsFijos.Initialize";
+ //BA.debugLineNum = 2039;BA.debugLine="prodsFijos.Initialize";
_prodsfijos.Initialize();
- //BA.debugLineNum = 2021;BA.debugLine="prodsFijosPrecios.Initialize";
+ //BA.debugLineNum = 2040;BA.debugLine="prodsFijosPrecios.Initialize";
_prodsfijosprecios.Initialize();
- //BA.debugLineNum = 2022;BA.debugLine="prodsFijosPiezas.Initialize";
+ //BA.debugLineNum = 2041;BA.debugLine="prodsFijosPiezas.Initialize";
_prodsfijospiezas.Initialize();
- //BA.debugLineNum = 2023;BA.debugLine="prodsVariables.Initialize";
+ //BA.debugLineNum = 2042;BA.debugLine="prodsVariables.Initialize";
_prodsvariables.Initialize();
- //BA.debugLineNum = 2024;BA.debugLine="prodsVariables2.Initialize";
+ //BA.debugLineNum = 2043;BA.debugLine="prodsVariables2.Initialize";
_prodsvariables2.Initialize();
- //BA.debugLineNum = 2025;BA.debugLine="prodsVariablesPrecios.Initialize";
+ //BA.debugLineNum = 2044;BA.debugLine="prodsVariablesPrecios.Initialize";
_prodsvariablesprecios.Initialize();
- //BA.debugLineNum = 2026;BA.debugLine="prodsVariablesPrecios2.Initialize";
+ //BA.debugLineNum = 2045;BA.debugLine="prodsVariablesPrecios2.Initialize";
_prodsvariablesprecios2.Initialize();
- //BA.debugLineNum = 2027;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2046;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2028;BA.debugLine="If c.RowCount > 0 Then promoMap = CreateMap(\"id\":";
+ //BA.debugLineNum = 2047;BA.debugLine="If c.RowCount > 0 Then promoMap = CreateMap(\"id\":";
if (_c.getRowCount()>0) {
_promomap = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_promo),(Object)("maxXcliente"),(Object)(_c.GetString("CAT_PA_MAXPROMCLIE")),(Object)("maxRecurrente"),(Object)(_c.GetString("CAT_PA_MAXPROMREC")),(Object)("maxPromos"),(Object)(_c.GetString("CAT_PA_MAXPROM"))});};
- //BA.debugLineNum = 2029;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select coun";
+ //BA.debugLineNum = 2048;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select coun";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as hist from HIST_PROMOS where HP_CLIENTE = '"+_cliente+"' and HP_CODIGO_PROMOCION = '"+_promo+"'")));
- //BA.debugLineNum = 2030;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2049;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2031;BA.debugLine="If c.GetString(\"hist\") > 0 Then siHistorico = 1";
+ //BA.debugLineNum = 2050;BA.debugLine="If c.GetString(\"hist\") > 0 Then siHistorico = 1";
if ((double)(Double.parseDouble(_c.GetString("hist")))>0) {
_sihistorico = BA.NumberToString(1);};
- //BA.debugLineNum = 2032;BA.debugLine="promoMap.Put(\"historico\", siHistorico)";
+ //BA.debugLineNum = 2051;BA.debugLine="promoMap.Put(\"historico\", siHistorico)";
_promomap.Put((Object)("historico"),(Object)(_sihistorico));
- //BA.debugLineNum = 2033;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select * fr";
+ //BA.debugLineNum = 2052;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select * fr";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CAT_DETALLES_PAQ where CAT_DP_ID = '"+_promo+"'")));
- //BA.debugLineNum = 2034;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2053;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2035;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 2054;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 2036;BA.debugLine="Private prods, tipos As Map";
+ //BA.debugLineNum = 2055;BA.debugLine="Private prods, tipos As Map";
_prods = new anywheresoftware.b4a.objects.collections.Map();
_tipos = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 2037;BA.debugLine="prods.Initialize";
+ //BA.debugLineNum = 2056;BA.debugLine="prods.Initialize";
_prods.Initialize();
- //BA.debugLineNum = 2038;BA.debugLine="tipos.Initialize";
+ //BA.debugLineNum = 2057;BA.debugLine="tipos.Initialize";
_tipos.Initialize();
- //BA.debugLineNum = 2039;BA.debugLine="For i=0 To c.RowCount -1";
+ //BA.debugLineNum = 2058;BA.debugLine="For i=0 To c.RowCount -1";
{
final int step26 = 1;
final int limit26 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit26 ;_i = _i + step26 ) {
- //BA.debugLineNum = 2040;BA.debugLine="c.Position=i";
+ //BA.debugLineNum = 2059;BA.debugLine="c.Position=i";
_c.setPosition(_i);
- //BA.debugLineNum = 2041;BA.debugLine="prods.Put(c.GetString(\"CAT_DP_IDPROD\"), CreateM";
+ //BA.debugLineNum = 2060;BA.debugLine="prods.Put(c.GetString(\"CAT_DP_IDPROD\"), CreateM";
_prods.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("idProducto"),(Object)(_c.GetString("CAT_DP_IDPROD")),(Object)("precioSimptos"),(Object)(_c.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)("precio"),(Object)(_c.GetString("CAT_DP_PRECIO")),(Object)("almacen"),(Object)(_c.GetString("CAT_DP_ALMACEN")),(Object)("tipo"),(Object)(_c.GetString("CAT_DP_TIPO")),(Object)("piezas"),(Object)(_c.GetString("CAT_DP_PZAS")),(Object)("usuario"),(Object)(_c.GetString("CAT_DP_USUARIO")),(Object)("regalo"),(Object)(_c.GetString("CAT_DP_REGALO")),(Object)("clasif"),(Object)(_c.GetString("CAT_DP_CLASIF"))}).getObject()));
- //BA.debugLineNum = 2042;BA.debugLine="tipos.Put(c.GetString(\"CAT_DP_IDPROD\"), c.GetSt";
+ //BA.debugLineNum = 2061;BA.debugLine="tipos.Put(c.GetString(\"CAT_DP_IDPROD\"), c.GetSt";
_tipos.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(_c.GetString("CAT_DP_TIPO")));
- //BA.debugLineNum = 2043;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"0\" Then";
+ //BA.debugLineNum = 2062;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"0\" Then";
if ((_c.GetString("CAT_DP_TIPO")).equals("0")) {
- //BA.debugLineNum = 2044;BA.debugLine="prodsFijos.Add(c.GetString(\"CAT_DP_IDPROD\"))";
+ //BA.debugLineNum = 2063;BA.debugLine="prodsFijos.Add(c.GetString(\"CAT_DP_IDPROD\"))";
_prodsfijos.Add((Object)(_c.GetString("CAT_DP_IDPROD")));
- //BA.debugLineNum = 2045;BA.debugLine="prodsFijosPrecios.Add(c.GetString(\"CAT_DP_PREC";
+ //BA.debugLineNum = 2064;BA.debugLine="prodsFijosPrecios.Add(c.GetString(\"CAT_DP_PREC";
_prodsfijosprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO")));
- //BA.debugLineNum = 2046;BA.debugLine="prodsFijosPiezas.Add(c.GetString(\"CAT_DP_PZAS\"";
+ //BA.debugLineNum = 2065;BA.debugLine="prodsFijosPiezas.Add(c.GetString(\"CAT_DP_PZAS\"";
_prodsfijospiezas.Add((Object)(_c.GetString("CAT_DP_PZAS")));
};
- //BA.debugLineNum = 2048;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"1\" Then";
+ //BA.debugLineNum = 2067;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"1\" Then";
if ((_c.GetString("CAT_DP_TIPO")).equals("1")) {
- //BA.debugLineNum = 2049;BA.debugLine="prodsVariables.Add(c.GetString(\"CAT_DP_IDPROD\"";
+ //BA.debugLineNum = 2068;BA.debugLine="prodsVariables.Add(c.GetString(\"CAT_DP_IDPROD\"";
_prodsvariables.Add((Object)(_c.GetString("CAT_DP_IDPROD")));
- //BA.debugLineNum = 2050;BA.debugLine="prodsVariablesPrecios.Add(c.GetString(\"CAT_DP_";
+ //BA.debugLineNum = 2069;BA.debugLine="prodsVariablesPrecios.Add(c.GetString(\"CAT_DP_";
_prodsvariablesprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO")));
};
- //BA.debugLineNum = 2052;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"2\" Then";
+ //BA.debugLineNum = 2071;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"2\" Then";
if ((_c.GetString("CAT_DP_TIPO")).equals("2")) {
- //BA.debugLineNum = 2054;BA.debugLine="prodsVariables2.Add(c.GetString(\"CAT_DP_IDPROD";
+ //BA.debugLineNum = 2073;BA.debugLine="prodsVariables2.Add(c.GetString(\"CAT_DP_IDPROD";
_prodsvariables2.Add((Object)(_c.GetString("CAT_DP_IDPROD")));
- //BA.debugLineNum = 2055;BA.debugLine="prodsVariablesPrecios2.Add(c.GetString(\"CAT_DP";
+ //BA.debugLineNum = 2074;BA.debugLine="prodsVariablesPrecios2.Add(c.GetString(\"CAT_DP";
_prodsvariablesprecios2.Add((Object)(_c.GetString("CAT_DP_PRECIO")));
};
}
};
- //BA.debugLineNum = 2060;BA.debugLine="promoMap.Put(\"productos\", prods) 'Mapa con los p";
+ //BA.debugLineNum = 2079;BA.debugLine="promoMap.Put(\"productos\", prods) 'Mapa con los p";
_promomap.Put((Object)("productos"),(Object)(_prods.getObject()));
- //BA.debugLineNum = 2061;BA.debugLine="promoMap.Put(\"tipos\", tipos) 'Mapa con los produ";
+ //BA.debugLineNum = 2080;BA.debugLine="promoMap.Put(\"tipos\", tipos) 'Mapa con los produ";
_promomap.Put((Object)("tipos"),(Object)(_tipos.getObject()));
- //BA.debugLineNum = 2062;BA.debugLine="promoMap.Put(\"prodsFijos\", prodsFijos) 'Lista de";
+ //BA.debugLineNum = 2081;BA.debugLine="promoMap.Put(\"prodsFijos\", prodsFijos) 'Lista de";
_promomap.Put((Object)("prodsFijos"),(Object)(_prodsfijos.getObject()));
- //BA.debugLineNum = 2063;BA.debugLine="promoMap.Put(\"prodsVariables\", prodsVariables) '";
+ //BA.debugLineNum = 2082;BA.debugLine="promoMap.Put(\"prodsVariables\", prodsVariables) '";
_promomap.Put((Object)("prodsVariables"),(Object)(_prodsvariables.getObject()));
- //BA.debugLineNum = 2064;BA.debugLine="promoMap.Put(\"prodsVariables2\", prodsVariables2)";
+ //BA.debugLineNum = 2083;BA.debugLine="promoMap.Put(\"prodsVariables2\", prodsVariables2)";
_promomap.Put((Object)("prodsVariables2"),(Object)(_prodsvariables2.getObject()));
- //BA.debugLineNum = 2065;BA.debugLine="promoMap.Put(\"prodsFijosCant\", prodsFijos.Size)";
+ //BA.debugLineNum = 2084;BA.debugLine="promoMap.Put(\"prodsFijosCant\", prodsFijos.Size)";
_promomap.Put((Object)("prodsFijosCant"),(Object)(_prodsfijos.getSize()));
- //BA.debugLineNum = 2066;BA.debugLine="promoMap.Put(\"prodsFijosPrecios\", prodsFijosPrec";
+ //BA.debugLineNum = 2085;BA.debugLine="promoMap.Put(\"prodsFijosPrecios\", prodsFijosPrec";
_promomap.Put((Object)("prodsFijosPrecios"),(Object)(_prodsfijosprecios.getObject()));
- //BA.debugLineNum = 2067;BA.debugLine="promoMap.Put(\"prodsFijosPiezas\", prodsFijosPieza";
+ //BA.debugLineNum = 2086;BA.debugLine="promoMap.Put(\"prodsFijosPiezas\", prodsFijosPieza";
_promomap.Put((Object)("prodsFijosPiezas"),(Object)(_prodsfijospiezas.getObject()));
- //BA.debugLineNum = 2068;BA.debugLine="promoMap.Put(\"prodsVariablesCant\", prodsVariable";
+ //BA.debugLineNum = 2087;BA.debugLine="promoMap.Put(\"prodsVariablesCant\", prodsVariable";
_promomap.Put((Object)("prodsVariablesCant"),(Object)(_prodsvariables.getSize()));
- //BA.debugLineNum = 2069;BA.debugLine="promoMap.Put(\"prodsVariables2Cant\", prodsVariabl";
+ //BA.debugLineNum = 2088;BA.debugLine="promoMap.Put(\"prodsVariables2Cant\", prodsVariabl";
_promomap.Put((Object)("prodsVariables2Cant"),(Object)(_prodsvariables2.getSize()));
- //BA.debugLineNum = 2070;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios\", prodsVaria";
+ //BA.debugLineNum = 2089;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios\", prodsVaria";
_promomap.Put((Object)("prodsVariablesPrecios"),(Object)(_prodsvariablesprecios.getObject()));
- //BA.debugLineNum = 2071;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios2\", prodsVari";
+ //BA.debugLineNum = 2090;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios2\", prodsVari";
_promomap.Put((Object)("prodsVariablesPrecios2"),(Object)(_prodsvariablesprecios2.getObject()));
- //BA.debugLineNum = 2072;BA.debugLine="promoMap.Put(\"resultado\", \"ok\")";
+ //BA.debugLineNum = 2091;BA.debugLine="promoMap.Put(\"resultado\", \"ok\")";
_promomap.Put((Object)("resultado"),(Object)("ok"));
}else {
- //BA.debugLineNum = 2074;BA.debugLine="promoMap.Put(\"resultado\", \"No hay datos de la pr";
+ //BA.debugLineNum = 2093;BA.debugLine="promoMap.Put(\"resultado\", \"No hay datos de la pr";
_promomap.Put((Object)("resultado"),(Object)("No hay datos de la promoción."));
};
- //BA.debugLineNum = 2076;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"Select CA";
+ //BA.debugLineNum = 2095;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"Select CA";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select CAT_GP_STS, CAT_GP_IMP1, CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = ?"),new String[]{_promo})));
- //BA.debugLineNum = 2077;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2096;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2078;BA.debugLine="Private pvr As String = 0";
+ //BA.debugLineNum = 2097;BA.debugLine="Private pvr As String = 0";
_pvr = BA.NumberToString(0);
- //BA.debugLineNum = 2079;BA.debugLine="Private pvr2 As String = 0";
+ //BA.debugLineNum = 2098;BA.debugLine="Private pvr2 As String = 0";
_pvr2 = BA.NumberToString(0);
- //BA.debugLineNum = 2080;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 2099;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 2081;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 2100;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 2082;BA.debugLine="pvr = c.GetString(\"CAT_GP_STS\")";
+ //BA.debugLineNum = 2101;BA.debugLine="pvr = c.GetString(\"CAT_GP_STS\")";
_pvr = _c.GetString("CAT_GP_STS");
- //BA.debugLineNum = 2083;BA.debugLine="pvr2 = c.GetString(\"CAT_GP_IMP1\")";
+ //BA.debugLineNum = 2102;BA.debugLine="pvr2 = c.GetString(\"CAT_GP_IMP1\")";
_pvr2 = _c.GetString("CAT_GP_IMP1");
- //BA.debugLineNum = 2084;BA.debugLine="If pvr = Null Or pvr = \"null\" Then pvr = 0";
+ //BA.debugLineNum = 2103;BA.debugLine="If pvr = Null Or pvr = \"null\" Then pvr = 0";
if (_pvr== null || (_pvr).equals("null")) {
_pvr = BA.NumberToString(0);};
- //BA.debugLineNum = 2085;BA.debugLine="If pvr2 = Null Or pvr2 = \"null\" Then pvr2 = 0";
+ //BA.debugLineNum = 2104;BA.debugLine="If pvr2 = Null Or pvr2 = \"null\" Then pvr2 = 0";
if (_pvr2== null || (_pvr2).equals("null")) {
_pvr2 = BA.NumberToString(0);};
- //BA.debugLineNum = 2086;BA.debugLine="promoMap.Put(\"prodsVariablesRequeridos\", pvr) 'C";
+ //BA.debugLineNum = 2105;BA.debugLine="promoMap.Put(\"prodsVariablesRequeridos\", pvr) 'C";
_promomap.Put((Object)("prodsVariablesRequeridos"),(Object)(_pvr));
- //BA.debugLineNum = 2087;BA.debugLine="promoMap.Put(\"prodsVariables2Requeridos\", pvr2)";
+ //BA.debugLineNum = 2106;BA.debugLine="promoMap.Put(\"prodsVariables2Requeridos\", pvr2)";
_promomap.Put((Object)("prodsVariables2Requeridos"),(Object)(_pvr2));
- //BA.debugLineNum = 2088;BA.debugLine="promoMap.put(\"descripcion\", c.GetString(\"CAT_GP_";
+ //BA.debugLineNum = 2107;BA.debugLine="promoMap.put(\"descripcion\", c.GetString(\"CAT_GP_";
_promomap.Put((Object)("descripcion"),(Object)(_c.GetString("CAT_GP_NOMBRE")));
};
- //BA.debugLineNum = 2090;BA.debugLine="c.Close";
+ //BA.debugLineNum = 2109;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 2095;BA.debugLine="Return promoMap";
+ //BA.debugLineNum = 2114;BA.debugLine="Return promoMap";
if (true) return _promomap;
- //BA.debugLineNum = 2096;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2115;BA.debugLine="End Sub";
return null;
}
public static anywheresoftware.b4a.objects.collections.Map _traepromoiddebd(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
anywheresoftware.b4a.objects.collections.Map _m = null;
- //BA.debugLineNum = 1276;BA.debugLine="Sub traePromoIdDeBD As Map 'ignore";
- //BA.debugLineNum = 1277;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 1295;BA.debugLine="Sub traePromoIdDeBD As Map 'ignore";
+ //BA.debugLineNum = 1296;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 1278;BA.debugLine="Private m As Map";
+ //BA.debugLineNum = 1297;BA.debugLine="Private m As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 1280;BA.debugLine="Log(\"ENTRE\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("711141124","ENTRE",0);
- //BA.debugLineNum = 1281;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G";
+ //BA.debugLineNum = 1299;BA.debugLine="Log(\"ENTRE\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("411206660","ENTRE",0);
+ //BA.debugLineNum = 1300;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_TIPO, CAT_GP_SUBTIPO from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_traetipoventadebd(_ba))))+" where CAT_GP_NOMBRE In (Select PDESC from PROID) and CAT_GP_TIPO = 'PROMOS'"))));
- //BA.debugLineNum = 1282;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1301;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1283;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1302;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1284;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no";
+ //BA.debugLineNum = 1303;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no";
_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_c.GetString("CAT_GP_ID")),(Object)("nombre"),(Object)(_c.GetString("CAT_GP_NOMBRE")),(Object)("tipo"),(Object)(_c.GetString("CAT_GP_TIPO")),(Object)("subtipo"),(Object)(_c.GetString("CAT_GP_SUBTIPO"))});
}else {
- //BA.debugLineNum = 1286;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\"";
+ //BA.debugLineNum = 1305;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\"";
_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)("N/A"),(Object)("nombre"),(Object)("N/A"),(Object)("tipo"),(Object)("N/A"),(Object)("subtipo"),(Object)("N/A")});
};
- //BA.debugLineNum = 1288;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1307;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1290;BA.debugLine="Return m";
+ //BA.debugLineNum = 1309;BA.debugLine="Return m";
if (true) return _m;
- //BA.debugLineNum = 1291;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1310;BA.debugLine="End Sub";
return null;
}
public static int _traepromosvendidas(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
int _pv = 0;
- //BA.debugLineNum = 1059;BA.debugLine="Sub traePromosVendidas(promo As String, cliente As";
- //BA.debugLineNum = 1060;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 1074;BA.debugLine="Sub traePromosVendidas(promo As String, cliente As";
+ //BA.debugLineNum = 1075;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 1061;BA.debugLine="Private pv As Int = 0";
+ //BA.debugLineNum = 1076;BA.debugLine="Private pv As Int = 0";
_pv = (int) (0);
- //BA.debugLineNum = 1062;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR";
+ //BA.debugLineNum = 1077;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA_FUTUR";
if ((mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ).equals("PREVENTA_FUTURA")) {
- //BA.debugLineNum = 1063;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C";
+ //BA.debugLineNum = 1078;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CANT from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_promo))+"' and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' AND PE_FUTURO = '1' "))));
}else {
- //BA.debugLineNum = 1065;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C";
+ //BA.debugLineNum = 1080;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_C";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CANT from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_promo))+"' and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' AND PE_FUTURO = '0' "))));
};
- //BA.debugLineNum = 1067;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1082;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1068;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 1083;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 1069;BA.debugLine="pv = c.GetInt(\"PE_CANT\")";
+ //BA.debugLineNum = 1084;BA.debugLine="pv = c.GetInt(\"PE_CANT\")";
_pv = _c.GetInt("PE_CANT");
};
- //BA.debugLineNum = 1071;BA.debugLine="Return pv";
+ //BA.debugLineNum = 1086;BA.debugLine="Return pv";
if (true) return _pv;
- //BA.debugLineNum = 1072;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1087;BA.debugLine="End Sub";
return 0;
}
public static String _traeruta(anywheresoftware.b4a.BA _ba) throws Exception{
@@ -3428,291 +3444,291 @@ anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _r = "";
String _idcliente = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _elcc = null;
- //BA.debugLineNum = 673;BA.debugLine="Sub traeRuta As String 'ignore";
- //BA.debugLineNum = 674;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 688;BA.debugLine="Sub traeRuta As String 'ignore";
+ //BA.debugLineNum = 689;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 675;BA.debugLine="Private r As String = \"0\"";
+ //BA.debugLineNum = 690;BA.debugLine="Private r As String = \"0\"";
_r = "0";
- //BA.debugLineNum = 676;BA.debugLine="Private idCliente As String = \"\"";
+ //BA.debugLineNum = 691;BA.debugLine="Private idCliente As String = \"\"";
_idcliente = "";
- //BA.debugLineNum = 677;BA.debugLine="Try";
-try { //BA.debugLineNum = 678;BA.debugLine="Private elCc As Cursor = Starter.skmt.ExecQuery(";
+ //BA.debugLineNum = 692;BA.debugLine="Try";
+try { //BA.debugLineNum = 693;BA.debugLine="Private elCc As Cursor = Starter.skmt.ExecQuery(";
_elcc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_elcc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CUENTA from CUENTAA"))));
- //BA.debugLineNum = 679;BA.debugLine="If elCc.RowCount > 0 Then";
+ //BA.debugLineNum = 694;BA.debugLine="If elCc.RowCount > 0 Then";
if (_elcc.getRowCount()>0) {
- //BA.debugLineNum = 680;BA.debugLine="elCc.Position = 0";
+ //BA.debugLineNum = 695;BA.debugLine="elCc.Position = 0";
_elcc.setPosition((int) (0));
- //BA.debugLineNum = 681;BA.debugLine="idCliente = elCc.GetString(\"CUENTA\")";
+ //BA.debugLineNum = 696;BA.debugLine="idCliente = elCc.GetString(\"CUENTA\")";
_idcliente = _elcc.GetString("CUENTA");
- //BA.debugLineNum = 682;BA.debugLine="Log(\"|\"&elCc.GetString(\"CUENTA\")&\"|\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("79764873","|"+_elcc.GetString("CUENTA")+"|",0);
+ //BA.debugLineNum = 697;BA.debugLine="Log(\"|\"&elCc.GetString(\"CUENTA\")&\"|\")";
+anywheresoftware.b4a.keywords.Common.LogImpl("49830409","|"+_elcc.GetString("CUENTA")+"|",0);
};
- //BA.debugLineNum = 685;BA.debugLine="If idCliente <> \"\" Then";
+ //BA.debugLineNum = 700;BA.debugLine="If idCliente <> \"\" Then";
if ((_idcliente).equals("") == false) {
- //BA.debugLineNum = 687;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select d";
+ //BA.debugLineNum = 702;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select d";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idcliente))+"'"))));
}else {
- //BA.debugLineNum = 690;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select di";
+ //BA.debugLineNum = 705;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select di";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_CL_RUTA from kmt_info3 where CAT_CL_RUTA not in (select * from ruta_suplencia)")));
};
- //BA.debugLineNum = 693;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 708;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 695;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 710;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 696;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")";
+ //BA.debugLineNum = 711;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")";
_r = _c.GetString("CAT_CL_RUTA");
};
- //BA.debugLineNum = 698;BA.debugLine="c.Close";
+ //BA.debugLineNum = 713;BA.debugLine="c.Close";
_c.Close();
}
catch (Exception e22) {
- (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e22); //BA.debugLineNum = 700;BA.debugLine="Log(LastException)";
-anywheresoftware.b4a.keywords.Common.LogImpl("79764891",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
+ (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e22); //BA.debugLineNum = 715;BA.debugLine="Log(LastException)";
+anywheresoftware.b4a.keywords.Common.LogImpl("49830427",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0);
};
- //BA.debugLineNum = 703;BA.debugLine="Return r";
+ //BA.debugLineNum = 718;BA.debugLine="Return r";
if (true) return _r;
- //BA.debugLineNum = 704;BA.debugLine="End Sub";
+ //BA.debugLineNum = 719;BA.debugLine="End Sub";
return "";
}
public static String _traeruta2(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _r = "";
- //BA.debugLineNum = 773;BA.debugLine="Sub traeRuta2 (cliente As String) As String 'ignor";
- //BA.debugLineNum = 774;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 788;BA.debugLine="Sub traeRuta2 (cliente As String) As String 'ignor";
+ //BA.debugLineNum = 789;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 775;BA.debugLine="Private r As String";
+ //BA.debugLineNum = 790;BA.debugLine="Private r As String";
_r = "";
- //BA.debugLineNum = 776;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C";
+ //BA.debugLineNum = 791;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_RUTA from kmt_info3 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'"))));
- //BA.debugLineNum = 777;BA.debugLine="r = \"0\"";
+ //BA.debugLineNum = 792;BA.debugLine="r = \"0\"";
_r = "0";
- //BA.debugLineNum = 778;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 793;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 779;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 794;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 780;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")";
+ //BA.debugLineNum = 795;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")";
_r = _c.GetString("CAT_CL_RUTA");
};
- //BA.debugLineNum = 782;BA.debugLine="c.Close";
+ //BA.debugLineNum = 797;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 783;BA.debugLine="Return r";
+ //BA.debugLineNum = 798;BA.debugLine="Return r";
if (true) return _r;
- //BA.debugLineNum = 784;BA.debugLine="End Sub";
+ //BA.debugLineNum = 799;BA.debugLine="End Sub";
return "";
}
public static String _traerutabitacora(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _r = "";
- //BA.debugLineNum = 786;BA.debugLine="Sub traeRutaBitacora As String 'ignore";
- //BA.debugLineNum = 787;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 801;BA.debugLine="Sub traeRutaBitacora As String 'ignore";
+ //BA.debugLineNum = 802;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 788;BA.debugLine="Private r As String";
+ //BA.debugLineNum = 803;BA.debugLine="Private r As String";
_r = "";
- //BA.debugLineNum = 789;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL";
+ //BA.debugLineNum = 804;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info3 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 790;BA.debugLine="r = \"0\"";
+ //BA.debugLineNum = 805;BA.debugLine="r = \"0\"";
_r = "0";
- //BA.debugLineNum = 791;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 806;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 792;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 807;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 793;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")";
+ //BA.debugLineNum = 808;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")";
_r = _c.GetString("CAT_CL_RUTA");
};
- //BA.debugLineNum = 795;BA.debugLine="c.Close";
+ //BA.debugLineNum = 810;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 796;BA.debugLine="Return r";
+ //BA.debugLineNum = 811;BA.debugLine="Return r";
if (true) return _r;
- //BA.debugLineNum = 797;BA.debugLine="End Sub";
+ //BA.debugLineNum = 812;BA.debugLine="End Sub";
return "";
}
public static String _traerutassup(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _rutas = "";
int _i = 0;
- //BA.debugLineNum = 800;BA.debugLine="Sub traeRutasSup As String";
- //BA.debugLineNum = 801;BA.debugLine="Dim c As Cursor";
+ //BA.debugLineNum = 815;BA.debugLine="Sub traeRutasSup As String";
+ //BA.debugLineNum = 816;BA.debugLine="Dim c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 802;BA.debugLine="Dim rutas As String";
+ //BA.debugLineNum = 817;BA.debugLine="Dim rutas As String";
_rutas = "";
- //BA.debugLineNum = 803;BA.debugLine="rutas = \"\"";
+ //BA.debugLineNum = 818;BA.debugLine="rutas = \"\"";
_rutas = "";
- //BA.debugLineNum = 805;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_";
+ //BA.debugLineNum = 820;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_RUTA FROM kmt_info3")));
- //BA.debugLineNum = 807;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 822;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 808;BA.debugLine="For i = 0 To c.RowCount - 1";
+ //BA.debugLineNum = 823;BA.debugLine="For i = 0 To c.RowCount - 1";
{
final int step6 = 1;
final int limit6 = (int) (_c.getRowCount()-1);
_i = (int) (0) ;
for (;_i <= limit6 ;_i = _i + step6 ) {
- //BA.debugLineNum = 809;BA.debugLine="c.Position = i";
+ //BA.debugLineNum = 824;BA.debugLine="c.Position = i";
_c.setPosition(_i);
- //BA.debugLineNum = 810;BA.debugLine="rutas = rutas & c.GetString(\"CAT_CL_RUTA\") & \",";
+ //BA.debugLineNum = 825;BA.debugLine="rutas = rutas & c.GetString(\"CAT_CL_RUTA\") & \",";
_rutas = _rutas+_c.GetString("CAT_CL_RUTA")+", ";
}
};
- //BA.debugLineNum = 812;BA.debugLine="If rutas.Length > 0 Then rutas = rutas.SubString";
+ //BA.debugLineNum = 827;BA.debugLine="If rutas.Length > 0 Then rutas = rutas.SubString";
if (_rutas.length()>0) {
_rutas = _rutas.substring((int) (0),(int) (_rutas.length()-2));};
};
- //BA.debugLineNum = 815;BA.debugLine="c.Close";
+ //BA.debugLineNum = 830;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 816;BA.debugLine="Return rutas";
+ //BA.debugLineNum = 831;BA.debugLine="Return rutas";
if (true) return _rutas;
- //BA.debugLineNum = 817;BA.debugLine="End Sub";
+ //BA.debugLineNum = 832;BA.debugLine="End Sub";
return "";
}
public static String _traetablaprods(anywheresoftware.b4a.BA _ba,String _tipoventa) throws Exception{
String _tablaprods = "";
- //BA.debugLineNum = 1853;BA.debugLine="Sub traeTablaProds(tipoventa As String) As String";
- //BA.debugLineNum = 1854;BA.debugLine="Log(tipoventa)";
-anywheresoftware.b4a.keywords.Common.LogImpl("712517377",_tipoventa,0);
- //BA.debugLineNum = 1855;BA.debugLine="Private tablaProds As String = \"cat_gunaprod2\"";
+ //BA.debugLineNum = 1872;BA.debugLine="Sub traeTablaProds(tipoventa As String) As String";
+ //BA.debugLineNum = 1873;BA.debugLine="Log(tipoventa)";
+anywheresoftware.b4a.keywords.Common.LogImpl("412582913",_tipoventa,0);
+ //BA.debugLineNum = 1874;BA.debugLine="Private tablaProds As String = \"cat_gunaprod2\"";
_tablaprods = "cat_gunaprod2";
- //BA.debugLineNum = 1856;BA.debugLine="If tipoventa = \"ABORDO\" Or tipoventa = \"PREVENTA\"";
+ //BA.debugLineNum = 1875;BA.debugLine="If tipoventa = \"ABORDO\" Or tipoventa = \"PREVENTA\"";
if ((_tipoventa).equals("ABORDO") || (_tipoventa).equals("PREVENTA") || (_tipoventa).equals("PREVENTA_FUTURA") || (_tipoventa).equals("MAYOREO")) {
_tablaprods = "cat_gunaprod";};
- //BA.debugLineNum = 1858;BA.debugLine="Return tablaProds";
+ //BA.debugLineNum = 1877;BA.debugLine="Return tablaProds";
if (true) return _tablaprods;
- //BA.debugLineNum = 1859;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1878;BA.debugLine="End Sub";
return "";
}
public static int _traetipocliente(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null;
int _tc = 0;
- //BA.debugLineNum = 1967;BA.debugLine="Sub traeTipoCliente As Int";
- //BA.debugLineNum = 1968;BA.debugLine="Private x As Cursor";
+ //BA.debugLineNum = 1986;BA.debugLine="Sub traeTipoCliente As Int";
+ //BA.debugLineNum = 1987;BA.debugLine="Private x As Cursor";
_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 1969;BA.debugLine="Private tc As Int = 3";
+ //BA.debugLineNum = 1988;BA.debugLine="Private tc As Int = 3";
_tc = (int) (3);
- //BA.debugLineNum = 1970;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(cat_cl";
+ //BA.debugLineNum = 1989;BA.debugLine="x = Starter.skmt.ExecQuery($\"select IFNULL(cat_cl";
_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(cat_cl_tipocliente,3) AS CAT_CL_TIPOCLIENTE from kmt_info3 where cat_cl_codigo in (select cuenta from cuentaa)"))));
- //BA.debugLineNum = 1971;BA.debugLine="If x.RowCount > 0 Then";
+ //BA.debugLineNum = 1990;BA.debugLine="If x.RowCount > 0 Then";
if (_x.getRowCount()>0) {
- //BA.debugLineNum = 1972;BA.debugLine="x.Position = 0";
+ //BA.debugLineNum = 1991;BA.debugLine="x.Position = 0";
_x.setPosition((int) (0));
- //BA.debugLineNum = 1974;BA.debugLine="tc = x.GetInt(\"CAT_CL_TIPOCLIENTE\")";
+ //BA.debugLineNum = 1993;BA.debugLine="tc = x.GetInt(\"CAT_CL_TIPOCLIENTE\")";
_tc = _x.GetInt("CAT_CL_TIPOCLIENTE");
};
- //BA.debugLineNum = 1977;BA.debugLine="Return tc";
+ //BA.debugLineNum = 1996;BA.debugLine="Return tc";
if (true) return _tc;
- //BA.debugLineNum = 1978;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1997;BA.debugLine="End Sub";
return 0;
}
public static String _traetipoventadebd(anywheresoftware.b4a.BA _ba) throws Exception{
String _tipoventa = "";
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null;
- //BA.debugLineNum = 1876;BA.debugLine="Sub traeTipoVentaDeBD As String";
- //BA.debugLineNum = 1877;BA.debugLine="Private tipoVenta As String = \"PREVENTA\"";
+ //BA.debugLineNum = 1895;BA.debugLine="Sub traeTipoVentaDeBD As String";
+ //BA.debugLineNum = 1896;BA.debugLine="Private tipoVenta As String = \"PREVENTA\"";
_tipoventa = "PREVENTA";
- //BA.debugLineNum = 1878;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery(\"";
+ //BA.debugLineNum = 1897;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery(\"";
_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'TIPO_VENTA' ")));
- //BA.debugLineNum = 1879;BA.debugLine="Do While r.NextRow";
+ //BA.debugLineNum = 1898;BA.debugLine="Do While r.NextRow";
while (_r.NextRow()) {
- //BA.debugLineNum = 1880;BA.debugLine="tipoVenta = r.GetString(\"CAT_VA_VALOR\").As(Strin";
+ //BA.debugLineNum = 1899;BA.debugLine="tipoVenta = r.GetString(\"CAT_VA_VALOR\").As(Strin";
_tipoventa = (_r.GetString("CAT_VA_VALOR")).toUpperCase();
}
;
- //BA.debugLineNum = 1882;BA.debugLine="If Starter.idCliente = \"0\" Then";
+ //BA.debugLineNum = 1901;BA.debugLine="If Starter.idCliente = \"0\" Then";
if ((mostCurrent._starter._idcliente /*String*/ ).equals("0")) {
- //BA.debugLineNum = 1883;BA.debugLine="tipoVenta = \"ABORDO\"";
+ //BA.debugLineNum = 1902;BA.debugLine="tipoVenta = \"ABORDO\"";
_tipoventa = "ABORDO";
};
- //BA.debugLineNum = 1886;BA.debugLine="Return tipoVenta";
+ //BA.debugLineNum = 1905;BA.debugLine="Return tipoVenta";
if (true) return _tipoventa;
- //BA.debugLineNum = 1887;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1906;BA.debugLine="End Sub";
return "";
}
public static anywheresoftware.b4a.objects.collections.Map _traetotalesclienteactual(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.objects.collections.Map _m = null;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c_prodsx = null;
- //BA.debugLineNum = 1994;BA.debugLine="Sub traeTotalesClienteActual As Map";
- //BA.debugLineNum = 1995;BA.debugLine="Private m As Map";
+ //BA.debugLineNum = 2013;BA.debugLine="Sub traeTotalesClienteActual As Map";
+ //BA.debugLineNum = 2014;BA.debugLine="Private m As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
- //BA.debugLineNum = 1996;BA.debugLine="m.Initialize";
+ //BA.debugLineNum = 2015;BA.debugLine="m.Initialize";
_m.Initialize();
- //BA.debugLineNum = 1997;BA.debugLine="Private c_prodsX As Cursor=B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 2016;BA.debugLine="Private c_prodsX As Cursor=B4XPages.MainPage.skmt";
_c_prodsx = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c_prodsx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ifnull(sum(PE_CANT), 0) as cantProds, ifnull(sum(PE_COSTO_TOT), 0) as costoTotal FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PRONOMBRE asc")));
- //BA.debugLineNum = 1998;BA.debugLine="c_prodsX.Position=0";
+ //BA.debugLineNum = 2017;BA.debugLine="c_prodsX.Position=0";
_c_prodsx.setPosition((int) (0));
- //BA.debugLineNum = 2000;BA.debugLine="m = CreateMap(\"productos\": c_prodsX.GetString(\"ca";
+ //BA.debugLineNum = 2019;BA.debugLine="m = CreateMap(\"productos\": c_prodsX.GetString(\"ca";
_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("productos"),(Object)(_c_prodsx.GetString("cantProds")),(Object)("monto"),(Object)(_c_prodsx.GetString("costoTotal"))});
- //BA.debugLineNum = 2001;BA.debugLine="Return m";
+ //BA.debugLineNum = 2020;BA.debugLine="Return m";
if (true) return _m;
- //BA.debugLineNum = 2002;BA.debugLine="End Sub";
+ //BA.debugLineNum = 2021;BA.debugLine="End Sub";
return null;
}
public static boolean _traeusarintentbdwa(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _bdwa = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null;
- //BA.debugLineNum = 1751;BA.debugLine="Sub traeUsarIntentBDWA As Boolean 'ignore";
- //BA.debugLineNum = 1752;BA.debugLine="Private BDWA As Boolean = False";
+ //BA.debugLineNum = 1770;BA.debugLine="Sub traeUsarIntentBDWA As Boolean 'ignore";
+ //BA.debugLineNum = 1771;BA.debugLine="Private BDWA As Boolean = False";
_bdwa = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1753;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery($\"se";
+ //BA.debugLineNum = 1772;BA.debugLine="Private x As Cursor = Starter.skmt.ExecQuery($\"se";
_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'IMPORTAR_BD_WA'"))));
- //BA.debugLineNum = 1754;BA.debugLine="If x.RowCount > 0 Then";
+ //BA.debugLineNum = 1773;BA.debugLine="If x.RowCount > 0 Then";
if (_x.getRowCount()>0) {
- //BA.debugLineNum = 1755;BA.debugLine="x.Position = 0";
+ //BA.debugLineNum = 1774;BA.debugLine="x.Position = 0";
_x.setPosition((int) (0));
- //BA.debugLineNum = 1756;BA.debugLine="If x.GetString(\"CAT_VA_VALOR\") = \"true\" Then BDW";
+ //BA.debugLineNum = 1775;BA.debugLine="If x.GetString(\"CAT_VA_VALOR\") = \"true\" Then BDW";
if ((_x.GetString("CAT_VA_VALOR")).equals("true")) {
_bdwa = anywheresoftware.b4a.keywords.Common.True;};
};
- //BA.debugLineNum = 1759;BA.debugLine="Return BDWA";
+ //BA.debugLineNum = 1778;BA.debugLine="Return BDWA";
if (true) return _bdwa;
- //BA.debugLineNum = 1760;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1779;BA.debugLine="End Sub";
return false;
}
public static String _traeusuariodebd(anywheresoftware.b4a.BA _ba) throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
String _u = "";
- //BA.debugLineNum = 840;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore";
- //BA.debugLineNum = 841;BA.debugLine="Private c As Cursor";
+ //BA.debugLineNum = 855;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore";
+ //BA.debugLineNum = 856;BA.debugLine="Private c As Cursor";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
- //BA.debugLineNum = 842;BA.debugLine="Private u As String = \"SinUsuario\"";
+ //BA.debugLineNum = 857;BA.debugLine="Private u As String = \"SinUsuario\"";
_u = "SinUsuario";
- //BA.debugLineNum = 843;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD";
+ //BA.debugLineNum = 858;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD";
if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) {
_revisabd(_ba);};
- //BA.debugLineNum = 844;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")";
+ //BA.debugLineNum = 859;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa")));
- //BA.debugLineNum = 845;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 860;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 846;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")";
+ //BA.debugLineNum = 861;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")";
if (_c.getRowCount()>0) {
_u = _c.GetString("USUARIO");};
- //BA.debugLineNum = 847;BA.debugLine="c.Close";
+ //BA.debugLineNum = 862;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 848;BA.debugLine="Return u";
+ //BA.debugLineNum = 863;BA.debugLine="Return u";
if (true) return _u;
- //BA.debugLineNum = 849;BA.debugLine="End Sub";
+ //BA.debugLineNum = 864;BA.debugLine="End Sub";
return "";
}
public static String _traevariable(anywheresoftware.b4a.BA _ba,String _nombre) throws Exception{
String _valor = "";
anywheresoftware.b4a.sql.SQL.CursorWrapper _lavc = null;
- //BA.debugLineNum = 1896;BA.debugLine="Sub traeVariable(nombre As String) As String";
- //BA.debugLineNum = 1897;BA.debugLine="Private valor As String = \"\"";
+ //BA.debugLineNum = 1915;BA.debugLine="Sub traeVariable(nombre As String) As String";
+ //BA.debugLineNum = 1916;BA.debugLine="Private valor As String = \"\"";
_valor = "";
- //BA.debugLineNum = 1898;BA.debugLine="Private laVc As Cursor = Starter.skmt.ExecQuery($";
+ //BA.debugLineNum = 1917;BA.debugLine="Private laVc As Cursor = Starter.skmt.ExecQuery($";
_lavc = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_lavc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_VA_VALOR from CAT_VARIABLES where CAT_VA_DESCRIPCION = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+"'"))));
- //BA.debugLineNum = 1899;BA.debugLine="If laVc.RowCount > 0 Then";
+ //BA.debugLineNum = 1918;BA.debugLine="If laVc.RowCount > 0 Then";
if (_lavc.getRowCount()>0) {
- //BA.debugLineNum = 1900;BA.debugLine="laVc.Position = 0";
+ //BA.debugLineNum = 1919;BA.debugLine="laVc.Position = 0";
_lavc.setPosition((int) (0));
- //BA.debugLineNum = 1901;BA.debugLine="valor = laVc.GetString(\"CAT_VA_VALOR\")";
+ //BA.debugLineNum = 1920;BA.debugLine="valor = laVc.GetString(\"CAT_VA_VALOR\")";
_valor = _lavc.GetString("CAT_VA_VALOR");
};
- //BA.debugLineNum = 1903;BA.debugLine="Return valor";
+ //BA.debugLineNum = 1922;BA.debugLine="Return valor";
if (true) return _valor;
- //BA.debugLineNum = 1904;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1923;BA.debugLine="End Sub";
return "";
}
public static String _validapromoprocterpro3009(anywheresoftware.b4a.BA _ba) throws Exception{
@@ -3720,83 +3736,83 @@ String _idregalo = "";
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r = null;
String _monto = "";
anywheresoftware.b4a.sql.SQL.ResultSetWrapper _r2 = null;
- //BA.debugLineNum = 1602;BA.debugLine="Sub validaPromoProcterPRO3009";
- //BA.debugLineNum = 1603;BA.debugLine="Private idRegalo As String = \"PYG1016\"";
+ //BA.debugLineNum = 1621;BA.debugLine="Sub validaPromoProcterPRO3009";
+ //BA.debugLineNum = 1622;BA.debugLine="Private idRegalo As String = \"PYG1016\"";
_idregalo = "PYG1016";
- //BA.debugLineNum = 1604;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($";
+ //BA.debugLineNum = 1623;BA.debugLine="Private r As ResultSet = Starter.skmt.ExecQuery($";
_r = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_r = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select pe_cliente from pedido where pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cedis = 'PRO3009'"))));
- //BA.debugLineNum = 1606;BA.debugLine="Do While r.NextRow";
+ //BA.debugLineNum = 1625;BA.debugLine="Do While r.NextRow";
while (_r.NextRow()) {
- //BA.debugLineNum = 1607;BA.debugLine="Private monto As String = 0";
+ //BA.debugLineNum = 1626;BA.debugLine="Private monto As String = 0";
_monto = BA.NumberToString(0);
- //BA.debugLineNum = 1608;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery";
+ //BA.debugLineNum = 1627;BA.debugLine="Private r2 As ResultSet = Starter.skmt.ExecQuery";
_r2 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
_r2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select ifnull(sum(pe_costo_tot),0) as monto from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"' and PE_PROID in (\"PYG1014\", \"PYG1025\")"))));
- //BA.debugLineNum = 1609;BA.debugLine="Do While r2.NextRow";
+ //BA.debugLineNum = 1628;BA.debugLine="Do While r2.NextRow";
while (_r2.NextRow()) {
- //BA.debugLineNum = 1610;BA.debugLine="Log($\"Cliente: ${r.GetString(\"PE_CLIENTE\")}, mo";
-anywheresoftware.b4a.keywords.Common.LogImpl("711862024",("Cliente: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+", monto: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r2.GetString("monto")))+""),0);
- //BA.debugLineNum = 1613;BA.debugLine="If r2.GetString(\"monto\") < 150 Then";
+ //BA.debugLineNum = 1629;BA.debugLine="Log($\"Cliente: ${r.GetString(\"PE_CLIENTE\")}, mo";
+anywheresoftware.b4a.keywords.Common.LogImpl("411927560",("Cliente: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+", monto: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r2.GetString("monto")))+""),0);
+ //BA.debugLineNum = 1632;BA.debugLine="If r2.GetString(\"monto\") < 150 Then";
if ((double)(Double.parseDouble(_r2.GetString("monto")))<150) {
- //BA.debugLineNum = 1614;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido";
+ //BA.debugLineNum = 1633;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = 'PRO3009' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idregalo))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"' and pe_cant = 1 "));
- //BA.debugLineNum = 1616;BA.debugLine="Msgbox($\"Regalo de la promoción PRO3009 borrad";
+ //BA.debugLineNum = 1635;BA.debugLine="Msgbox($\"Regalo de la promoción PRO3009 borrad";
anywheresoftware.b4a.keywords.Common.Msgbox(BA.ObjectToCharSequence(("Regalo de la promoción PRO3009 borrado por no cumplir con los requisitos mínimos.")),BA.ObjectToCharSequence("Regalo Borrado"),_ba);
};
}
;
- //BA.debugLineNum = 1620;BA.debugLine="r2 = Starter.skmt.ExecQuery($\"select count(pe_pr";
+ //BA.debugLineNum = 1639;BA.debugLine="r2 = Starter.skmt.ExecQuery($\"select count(pe_pr";
_r2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(pe_proid) as cuantos from pedido where pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'"))));
- //BA.debugLineNum = 1621;BA.debugLine="Do While r2.NextRow";
+ //BA.debugLineNum = 1640;BA.debugLine="Do While r2.NextRow";
while (_r2.NextRow()) {
- //BA.debugLineNum = 1623;BA.debugLine="If r2.GetString(\"cuantos\") = 0 Then";
+ //BA.debugLineNum = 1642;BA.debugLine="If r2.GetString(\"cuantos\") = 0 Then";
if ((_r2.GetString("cuantos")).equals(BA.NumberToString(0))) {
- //BA.debugLineNum = 1624;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido";
+ //BA.debugLineNum = 1643;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from pedido";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido_cliente where pc_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'"));
- //BA.debugLineNum = 1625;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info3 s";
+ //BA.debugLineNum = 1644;BA.debugLine="Starter.skmt.ExecNonQuery($\"update kmt_info3 s";
mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update kmt_info3 set gestion = 0 where cat_cl_codigo = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_r.GetString("PE_CLIENTE")))+"'"));
};
}
;
}
;
- //BA.debugLineNum = 1629;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1648;BA.debugLine="End Sub";
return "";
}
public static boolean _vendidopromoesp(anywheresoftware.b4a.BA _ba) throws Exception{
boolean _w = false;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null;
- //BA.debugLineNum = 1396;BA.debugLine="Sub vendidoPromoEsp As Boolean";
- //BA.debugLineNum = 1397;BA.debugLine="Private w As Boolean = False";
+ //BA.debugLineNum = 1415;BA.debugLine="Sub vendidoPromoEsp As Boolean";
+ //BA.debugLineNum = 1416;BA.debugLine="Private w As Boolean = False";
_w = anywheresoftware.b4a.keywords.Common.False;
- //BA.debugLineNum = 1398;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1417;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HP_CLIENTE, HP_CODIGO_PROMOCION from HIST_PROMOS WHERE HP_CODIGO_PROMOCION IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP) AND HP_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 1399;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1418;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1400;BA.debugLine="w = True";
+ //BA.debugLineNum = 1419;BA.debugLine="w = True";
_w = anywheresoftware.b4a.keywords.Common.True;
};
- //BA.debugLineNum = 1402;BA.debugLine="Log(w)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711534342",BA.ObjectToString(_w),0);
- //BA.debugLineNum = 1403;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1421;BA.debugLine="Log(w)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411599878",BA.ObjectToString(_w),0);
+ //BA.debugLineNum = 1422;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1404;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
+ //BA.debugLineNum = 1423;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec";
_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID from PEDIDO WHERE PE_PROID IN (SELECT DISTINCT CAT_PE_IDPROMO FROM CAT_PROMO_ESP) AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 1405;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 1424;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 1406;BA.debugLine="w = True";
+ //BA.debugLineNum = 1425;BA.debugLine="w = True";
_w = anywheresoftware.b4a.keywords.Common.True;
};
- //BA.debugLineNum = 1408;BA.debugLine="c.Close";
+ //BA.debugLineNum = 1427;BA.debugLine="c.Close";
_c.Close();
- //BA.debugLineNum = 1409;BA.debugLine="Log(w)";
-anywheresoftware.b4a.keywords.Common.LogImpl("711534349",BA.ObjectToString(_w),0);
- //BA.debugLineNum = 1410;BA.debugLine="Return w";
+ //BA.debugLineNum = 1428;BA.debugLine="Log(w)";
+anywheresoftware.b4a.keywords.Common.LogImpl("411599885",BA.ObjectToString(_w),0);
+ //BA.debugLineNum = 1429;BA.debugLine="Return w";
if (true) return _w;
- //BA.debugLineNum = 1411;BA.debugLine="End Sub";
+ //BA.debugLineNum = 1430;BA.debugLine="End Sub";
return false;
}
}
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/swiftbutton.java b/B4A/Objects/src/gunav2/keymon/com/mx/swiftbutton.java
index 87908e1..9ed0ae3 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/swiftbutton.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/swiftbutton.java
@@ -43,9 +43,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/tracker.java b/B4A/Objects/src/gunav2/keymon/com/mx/tracker.java
index 2a8b967..1a33cbe 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/tracker.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/tracker.java
@@ -139,9 +139,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null;
@@ -151,7 +151,7 @@ public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _cr
uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
//BA.debugLineNum = 430;BA.debugLine="Private Sub CreateLocationRequest As LocationReque";
//BA.debugLineNum = 431;BA.debugLine="Log(\"CreateLocationRequest\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("756754177","CreateLocationRequest",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457802753","CreateLocationRequest",0);
//BA.debugLineNum = 432;BA.debugLine="Dim lr As LocationRequest";
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
//BA.debugLineNum = 433;BA.debugLine="lr.Initialize";
@@ -179,7 +179,7 @@ uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
_logger = anywheresoftware.b4a.keywords.Common.True;
//BA.debugLineNum = 457;BA.debugLine="If logger Then Log(\"Iniciamos CreateLocationReque";
if (_logger) {
-anywheresoftware.b4a.keywords.Common.LogImpl("756885250","Iniciamos CreateLocationRequest2",0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("457933826","Iniciamos CreateLocationRequest2",0);};
//BA.debugLineNum = 458;BA.debugLine="Dim lr As LocationRequest";
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
//BA.debugLineNum = 459;BA.debugLine="lr.Initialize";
@@ -205,7 +205,7 @@ public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _cr
uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null;
//BA.debugLineNum = 442;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio";
//BA.debugLineNum = 443;BA.debugLine="Log(\"Iniciamos CreateLocationRequestSmallD\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("756819713","Iniciamos CreateLocationRequestSmallD",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457868289","Iniciamos CreateLocationRequestSmallD",0);
//BA.debugLineNum = 444;BA.debugLine="Dim lr As LocationRequest";
_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest();
//BA.debugLineNum = 445;BA.debugLine="lr.Initialize";
@@ -250,7 +250,7 @@ String _coords = "";
if (_flp.GetLastKnownLocation().IsInitialized()) {
//BA.debugLineNum = 472;BA.debugLine="If Starter.Logger Then LogColor($\"Mandamos UUC \"";
if (mostCurrent._starter._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("756950787",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
+anywheresoftware.b4a.keywords.Common.LogImpl("457999363",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
//BA.debugLineNum = 473;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation.";
_coords = BA.NumberToString(_flp.GetLastKnownLocation().getLatitude())+","+BA.NumberToString(_flp.GetLastKnownLocation().getLongitude())+","+_formatofecha(BA.NumberToString(_flp.GetLastKnownLocation().getTime()));
};
@@ -260,7 +260,7 @@ return "";
public static String _flp_connectionfailed(int _connectionresult1) throws Exception{
//BA.debugLineNum = 360;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)";
//BA.debugLineNum = 361;BA.debugLine="Log(\"Failed to connect to location provider\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("756360961","Failed to connect to location provider",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457409537","Failed to connect to location provider",0);
//BA.debugLineNum = 362;BA.debugLine="End Sub";
return "";
}
@@ -275,7 +275,7 @@ String _stime = "";
String _coords = "";
//BA.debugLineNum = 487;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)";
//BA.debugLineNum = 488;BA.debugLine="Log($\"Loc changed:${Location1.Longitude},${Locati";
-anywheresoftware.b4a.keywords.Common.LogImpl("757081857",("Loc changed:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_location1.getLongitude()))+","+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_location1.getLatitude()))+""),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("458130433",("Loc changed:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_location1.getLongitude()))+","+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_location1.getLatitude()))+""),0);
//BA.debugLineNum = 490;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude());
//BA.debugLineNum = 491;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude";
@@ -302,7 +302,7 @@ mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)
}
catch (Exception e14) {
processBA.setLastException(e14); //BA.debugLineNum = 509;BA.debugLine="LogColor(LastException, Colors.Red)";
-anywheresoftware.b4a.keywords.Common.LogImpl("757081878",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+anywheresoftware.b4a.keywords.Common.LogImpl("458130454",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 512;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc";
_coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime()));
@@ -364,7 +364,7 @@ public static String _revisaflp() throws Exception{
boolean _todobienflp = false;
//BA.debugLineNum = 561;BA.debugLine="Sub revisaFLP 'ignore";
//BA.debugLineNum = 562;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col";
-anywheresoftware.b4a.keywords.Common.LogImpl("757344001","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
+anywheresoftware.b4a.keywords.Common.LogImpl("458392577","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227)));
//BA.debugLineNum = 563;BA.debugLine="Private todoBienFLP As Boolean = True";
_todobienflp = anywheresoftware.b4a.keywords.Common.True;
//BA.debugLineNum = 564;BA.debugLine="Try";
@@ -380,7 +380,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e10) {
processBA.setLastException(e10); //BA.debugLineNum = 571;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) -->";
-anywheresoftware.b4a.keywords.Common.LogImpl("757344010","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+anywheresoftware.b4a.keywords.Common.LogImpl("458392586","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 573;BA.debugLine="Try";
try { //BA.debugLineNum = 574;BA.debugLine="If FLP.IsInitialized Then";
@@ -398,7 +398,7 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e21) {
processBA.setLastException(e21); //BA.debugLineNum = 583;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->";
-anywheresoftware.b4a.keywords.Common.LogImpl("757344022","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+anywheresoftware.b4a.keywords.Common.LogImpl("458392598","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 585;BA.debugLine="Try";
try { //BA.debugLineNum = 586;BA.debugLine="If FLP.IsConnected And _ FLP.GetLastKnown";
@@ -413,16 +413,16 @@ _todobienflp = anywheresoftware.b4a.keywords.Common.False;
}
catch (Exception e30) {
processBA.setLastException(e30); //BA.debugLineNum = 594;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I";
-anywheresoftware.b4a.keywords.Common.LogImpl("757344033","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+anywheresoftware.b4a.keywords.Common.LogImpl("458392609","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
};
//BA.debugLineNum = 597;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error";
if (_todobienflp) {
-anywheresoftware.b4a.keywords.Common.LogImpl("757344036"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
+anywheresoftware.b4a.keywords.Common.LogImpl("458392612"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);};
}
catch (Exception e35) {
processBA.setLastException(e35); //BA.debugLineNum = 599;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las";
-anywheresoftware.b4a.keywords.Common.LogImpl("757344038","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+anywheresoftware.b4a.keywords.Common.LogImpl("458392614","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 602;BA.debugLine="End Sub";
return "";
@@ -440,14 +440,14 @@ if (_flp.GetLastKnownLocation().IsInitialized()) {
_daa = (int) (_uugcoords.DistanceTo((android.location.Location)(_flp.GetLastKnownLocation().getObject())));
//BA.debugLineNum = 614;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"$";
if (mostCurrent._starter._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("757409544",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
+anywheresoftware.b4a.keywords.Common.LogImpl("458458120",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));};
//BA.debugLineNum = 615;BA.debugLine="If daa > 40 And FLP.GetLastKnownLocation.Accu";
if (_daa>40 && _flp.GetLastKnownLocation().getAccuracy()<35) {
//BA.debugLineNum = 616;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT";
mostCurrent._b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))),(Object)(_flp.GetLastKnownLocation().getLatitude()),(Object)(_flp.GetLastKnownLocation().getLongitude())}));
//BA.debugLineNum = 617;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a";
if (mostCurrent._starter._logger /*boolean*/ ) {
-anywheresoftware.b4a.keywords.Common.LogImpl("757409547","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);};
+anywheresoftware.b4a.keywords.Common.LogImpl("458458123","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);};
};
//BA.debugLineNum = 619;BA.debugLine="UUGCoords = FLP.GetLastKnownLocation";
_uugcoords = _flp.GetLastKnownLocation();
@@ -455,18 +455,18 @@ _uugcoords = _flp.GetLastKnownLocation();
}
catch (Exception e14) {
processBA.setLastException(e14); //BA.debugLineNum = 622;BA.debugLine="LogColor(\"FLP.GetLastKnownLocation.IsInitializ";
-anywheresoftware.b4a.keywords.Common.LogImpl("757409552","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+anywheresoftware.b4a.keywords.Common.LogImpl("458458128","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
}else {
//BA.debugLineNum = 625;BA.debugLine="Log(\"StartFLP\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("757409555","StartFLP",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("458458131","StartFLP",0);
//BA.debugLineNum = 626;BA.debugLine="StartFLP";
_startflp();
};
}
catch (Exception e21) {
processBA.setLastException(e21); //BA.debugLineNum = 629;BA.debugLine="LogColor(\"If FLP.IsInitialized --> \"&LastExcepti";
-anywheresoftware.b4a.keywords.Common.LogImpl("757409559","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
+anywheresoftware.b4a.keywords.Common.LogImpl("458458135","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red);
};
//BA.debugLineNum = 631;BA.debugLine="End Sub";
return "";
@@ -537,7 +537,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 390;BA.debugLine="Log(\"StartFLP - flpStarted=\"&flpStarted)";
-anywheresoftware.b4a.keywords.Common.LogImpl("756557569","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457606145","StartFLP - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
//BA.debugLineNum = 391;BA.debugLine="Do While FLP.IsConnected = False";
if (true) break;
@@ -601,7 +601,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 405;BA.debugLine="Log(\"StartFLP2\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("756623105","StartFLP2",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457671681","StartFLP2",0);
//BA.debugLineNum = 406;BA.debugLine="Private logger As Boolean = True";
_logger = anywheresoftware.b4a.keywords.Common.True;
//BA.debugLineNum = 407;BA.debugLine="If logger Then Log(\"StartFLP2 - flpStarted=\"&flpS";
@@ -617,7 +617,7 @@ this.state = 3;
case 3:
//C
this.state = 6;
-anywheresoftware.b4a.keywords.Common.LogImpl("756623107","StartFLP2 - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457671683","StartFLP2 - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
if (true) break;
case 6:
@@ -660,7 +660,7 @@ this.state = 12;
case 12:
//C
this.state = 15;
-anywheresoftware.b4a.keywords.Common.LogImpl("756623110","kll - sleeping",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457671686","kll - sleeping",0);
if (true) break;
case 15:
@@ -690,7 +690,7 @@ this.state = 19;
case 19:
//C
this.state = 22;
-anywheresoftware.b4a.keywords.Common.LogImpl("756623114","Buscamos ubicacion (movimientoMinimo = "+BA.NumberToString(parent._actuallr.GetSmallestDisplacement())+")",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
+anywheresoftware.b4a.keywords.Common.LogImpl("457671690","Buscamos ubicacion (movimientoMinimo = "+BA.NumberToString(parent._actuallr.GetSmallestDisplacement())+")",anywheresoftware.b4a.keywords.Common.Colors.Magenta);
if (true) break;
case 22:
@@ -726,7 +726,7 @@ case 0:
//C
this.state = 1;
//BA.debugLineNum = 419;BA.debugLine="Log(\"StartFLPSmall - flpStarted=\"&flpStarted)";
-anywheresoftware.b4a.keywords.Common.LogImpl("756688641","StartFLPSmall - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457737217","StartFLPSmall - flpStarted="+BA.ObjectToString(parent._flpstarted),0);
//BA.debugLineNum = 420;BA.debugLine="Do While FLP.IsConnected = False";
if (true) break;
@@ -751,7 +751,7 @@ case 5:
this.state = 1;
;
//BA.debugLineNum = 422;BA.debugLine="Log(\"sleeping\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("756688644","sleeping",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457737220","sleeping",0);
if (true) break;
case 4:
@@ -772,7 +772,7 @@ if (true) break;
public static String _stopflp() throws Exception{
//BA.debugLineNum = 479;BA.debugLine="Public Sub StopFLP";
//BA.debugLineNum = 480;BA.debugLine="Log(\"StopFLP\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("757016321","StopFLP",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("458064897","StopFLP",0);
//BA.debugLineNum = 481;BA.debugLine="If flpStarted Then";
if (_flpstarted) {
//BA.debugLineNum = 482;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las";
@@ -786,7 +786,7 @@ return "";
public static String _track() throws Exception{
//BA.debugLineNum = 373;BA.debugLine="Public Sub Track";
//BA.debugLineNum = 374;BA.debugLine="Log(\"Inicia Track - Tracking : \"&Tracking)";
-anywheresoftware.b4a.keywords.Common.LogImpl("756492033","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457540609","Inicia Track - Tracking : "+BA.ObjectToString(_tracking),0);
//BA.debugLineNum = 375;BA.debugLine="If Not(FLP.IsInitialized) Then FLP.Initialize(\"fl";
if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsInitialized())) {
_flp.Initialize(processBA,"flp");};
@@ -801,7 +801,7 @@ if (true) return "";
//BA.debugLineNum = 381;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_";
if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) {
//BA.debugLineNum = 382;BA.debugLine="Log(\"No permission\")";
-anywheresoftware.b4a.keywords.Common.LogImpl("756492041","No permission",0);
+anywheresoftware.b4a.keywords.Common.LogImpl("457540617","No permission",0);
//BA.debugLineNum = 383;BA.debugLine="Return";
if (true) return "";
};
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/v_tclientes.java b/B4A/Objects/src/gunav2/keymon/com/mx/v_tclientes.java
index 44cb86f..9b0ed12 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/v_tclientes.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/v_tclientes.java
@@ -43,19 +43,32 @@ public anywheresoftware.b4a.objects.LabelWrapper _label22 = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_credito = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _imageview4 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _guardar = null;
+public anywheresoftware.b4a.objects.PanelWrapper _p_deuda = null;
+public anywheresoftware.b4a.objects.PanelWrapper _panel5 = null;
+public anywheresoftware.b4a.objects.ButtonWrapper _b_okdeuda = null;
+public anywheresoftware.b4a.objects.LabelWrapper _l_deuda = null;
+public anywheresoftware.b4a.objects.ImageViewWrapper _i_fotogrande = null;
+public anywheresoftware.b4a.objects.PanelWrapper _p_imagengrande = null;
public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
public gunav2.keymon.com.mx.b4xcollections _b4xcollections = null;
public gunav2.keymon.com.mx.httputils2service _httputils2service = null;
public gunav2.keymon.com.mx.xuiviewsutils _xuiviewsutils = null;
+public String _b_okdeuda_click() throws Exception{
+ //BA.debugLineNum = 253;BA.debugLine="Private Sub b_okdeuda_Click";
+ //BA.debugLineNum = 254;BA.debugLine="p_deuda.Visible = False";
+_p_deuda.setVisible(__c.False);
+ //BA.debugLineNum = 255;BA.debugLine="End Sub";
+return "";
+}
public String _b4xpage_appear() throws Exception{
anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar = null;
byte[] _fotomostrarfinal = null;
@@ -68,155 +81,157 @@ long _ticksinicio = 0L;
long _tickshoy = 0L;
int _diferenciadias = 0;
anywheresoftware.b4a.sql.SQL.CursorWrapper _c4 = null;
- //BA.debugLineNum = 39;BA.debugLine="Sub B4XPage_Appear";
- //BA.debugLineNum = 40;BA.debugLine="Log(\"Entramos\")";
-__c.LogImpl("757737217","Entramos",0);
- //BA.debugLineNum = 41;BA.debugLine="c = Starter.skmt.ExecQuery ($\"select * from CAT_C";
+ //BA.debugLineNum = 45;BA.debugLine="Sub B4XPage_Appear";
+ //BA.debugLineNum = 46;BA.debugLine="Log(\"Entramos\")";
+__c.LogImpl("458785793","Entramos",0);
+ //BA.debugLineNum = 47;BA.debugLine="c = Starter.skmt.ExecQuery ($\"select * from CAT_C";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO in (Select CUENTA from cuentaa)"))));
- //BA.debugLineNum = 42;BA.debugLine="If c.RowCount > 0 Then";
+ //BA.debugLineNum = 48;BA.debugLine="If c.RowCount > 0 Then";
if (_c.getRowCount()>0) {
- //BA.debugLineNum = 43;BA.debugLine="c.Position=0";
+ //BA.debugLineNum = 49;BA.debugLine="c.Position=0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 44;BA.debugLine="Log(c.GetString(\"CAT_CL_NOMBRE\"))";
-__c.LogImpl("757737221",_c.GetString("CAT_CL_NOMBRE"),0);
- //BA.debugLineNum = 45;BA.debugLine="la_cuenta.Text=c.GetString(\"CAT_CL_CODIGO\")";
+ //BA.debugLineNum = 50;BA.debugLine="Log(c.GetString(\"CAT_CL_NOMBRE\"))";
+__c.LogImpl("458785797",_c.GetString("CAT_CL_NOMBRE"),0);
+ //BA.debugLineNum = 51;BA.debugLine="la_cuenta.Text=c.GetString(\"CAT_CL_CODIGO\")";
_la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")));
- //BA.debugLineNum = 46;BA.debugLine="La_nombre.Text=c.GetString(\"CAT_CL_NOMBRE\")";
+ //BA.debugLineNum = 52;BA.debugLine="La_nombre.Text=c.GetString(\"CAT_CL_NOMBRE\")";
_la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE")));
- //BA.debugLineNum = 47;BA.debugLine="la_Calle.Text=c.GetString(\"CAT_CL_CALLE\")";
+ //BA.debugLineNum = 53;BA.debugLine="la_Calle.Text=c.GetString(\"CAT_CL_CALLE\")";
_la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")));
- //BA.debugLineNum = 48;BA.debugLine="la_col.Text=c.GetString(\"CAT_CL_COLONIA\")";
+ //BA.debugLineNum = 54;BA.debugLine="la_col.Text=c.GetString(\"CAT_CL_COLONIA\")";
_la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA")));
- //BA.debugLineNum = 49;BA.debugLine="l_entre1.Text=c.GetString(\"CAT_CL_CALLE1\")";
+ //BA.debugLineNum = 55;BA.debugLine="l_entre1.Text=c.GetString(\"CAT_CL_CALLE1\")";
_l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1")));
- //BA.debugLineNum = 50;BA.debugLine="l_entre2.Text=c.GetString(\"CAT_CL_CALLE2\")";
+ //BA.debugLineNum = 56;BA.debugLine="l_entre2.Text=c.GetString(\"CAT_CL_CALLE2\")";
_l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2")));
- //BA.debugLineNum = 51;BA.debugLine="l_atiende.Text=c.GetString(\"CAT_CL_ATIENDE1\")";
+ //BA.debugLineNum = 57;BA.debugLine="l_atiende.Text=c.GetString(\"CAT_CL_ATIENDE1\")";
_l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1")));
- //BA.debugLineNum = 52;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")";
+ //BA.debugLineNum = 58;BA.debugLine="Label19.Text = c.GetString(\"CAT_CL_TELEFONO\")";
_label19.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_TELEFONO")));
- //BA.debugLineNum = 54;BA.debugLine="l_tipocliente.Text = Subs.traeTipoCliente";
+ //BA.debugLineNum = 60;BA.debugLine="l_tipocliente.Text = Subs.traeTipoCliente";
_l_tipocliente.setText(BA.ObjectToCharSequence(_subs._traetipocliente /*int*/ (ba)));
- //BA.debugLineNum = 56;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQue";
+ //BA.debugLineNum = 62;BA.debugLine="Dim fotomostrar As Cursor = Starter.skmt.ExecQue";
_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 57;BA.debugLine="If fotomostrar.RowCount > 0 Then";
+ //BA.debugLineNum = 63;BA.debugLine="If fotomostrar.RowCount > 0 Then";
if (_fotomostrar.getRowCount()>0) {
- //BA.debugLineNum = 59;BA.debugLine="fotomostrar.Position = 0";
+ //BA.debugLineNum = 65;BA.debugLine="fotomostrar.Position = 0";
_fotomostrar.setPosition((int) (0));
- //BA.debugLineNum = 60;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostra";
+ //BA.debugLineNum = 66;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostra";
_fotomostrarfinal = _fotomostrar.GetBlob("FOTO");
- //BA.debugLineNum = 61;BA.debugLine="Dim InputStream1 As InputStream";
+ //BA.debugLineNum = 67;BA.debugLine="Dim InputStream1 As InputStream";
_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
- //BA.debugLineNum = 62;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostr";
+ //BA.debugLineNum = 68;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostr";
_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
- //BA.debugLineNum = 63;BA.debugLine="Dim Bitmap1 As Bitmap";
+ //BA.debugLineNum = 69;BA.debugLine="Dim Bitmap1 As Bitmap";
_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
- //BA.debugLineNum = 64;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
+ //BA.debugLineNum = 70;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
- //BA.debugLineNum = 65;BA.debugLine="InputStream1.Close";
+ //BA.debugLineNum = 71;BA.debugLine="InputStream1.Close";
_inputstream1.Close();
- //BA.debugLineNum = 66;BA.debugLine="ImageView4.Bitmap = Bitmap1";
+ //BA.debugLineNum = 72;BA.debugLine="ImageView4.Bitmap = Bitmap1";
_imageview4.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
- //BA.debugLineNum = 67;BA.debugLine="Log(\"aqui si hay foto\")";
-__c.LogImpl("757737244","aqui si hay foto",0);
+ //BA.debugLineNum = 73;BA.debugLine="Log(\"aqui si hay foto\")";
+__c.LogImpl("458785820","aqui si hay foto",0);
}else {
- //BA.debugLineNum = 69;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"";
+ //BA.debugLineNum = 75;BA.debugLine="ImageView4.Bitmap = LoadBitmap(File.DirAssets,\"";
_imageview4.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"images.png").getObject()));
- //BA.debugLineNum = 70;BA.debugLine="Log(\"aqui no hay foto\")";
-__c.LogImpl("757737247","aqui no hay foto",0);
+ //BA.debugLineNum = 76;BA.debugLine="Log(\"aqui no hay foto\")";
+__c.LogImpl("458785823","aqui no hay foto",0);
};
};
- //BA.debugLineNum = 78;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 84;BA.debugLine="Subs.centraPanel(P_Imagengrande,Root.Width)";
+_subs._centrapanel /*String*/ (ba,_p_imagengrande,_root.getWidth());
+ //BA.debugLineNum = 86;BA.debugLine="Dim coloressaldo As Cursor=B4XPages.MainPage.skmt";
_coloressaldo = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_coloressaldo = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR3,0) AS CAT_CL_CLASIFICADOR3, IFNULL(CAT_CL_CLASIFICADOR4,0) AS CAT_CL_CLASIFICADOR4, IFNULL(CAT_CL_CLASIFICADOR2,'') AS CAT_CL_CLASIFICADOR2 from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 79;BA.debugLine="coloressaldo.Position = 0";
+ //BA.debugLineNum = 87;BA.debugLine="coloressaldo.Position = 0";
_coloressaldo.setPosition((int) (0));
- //BA.debugLineNum = 81;BA.debugLine="l_animal.Text = coloressaldo.GetString(\"CAT_CL_CL";
+ //BA.debugLineNum = 89;BA.debugLine="l_animal.Text = coloressaldo.GetString(\"CAT_CL_CL";
_l_animal.setText(BA.ObjectToCharSequence(_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")));
- //BA.debugLineNum = 82;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\")";
+ //BA.debugLineNum = 90;BA.debugLine="If coloressaldo.GetString(\"CAT_CL_CLASIFICADOR2\")";
if ((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Chimpancé KIN")) {
- //BA.debugLineNum = 83;BA.debugLine="l_animal.Color = Colors.RGB(84,255,172)";
+ //BA.debugLineNum = 91;BA.debugLine="l_animal.Color = Colors.RGB(84,255,172)";
_l_animal.setColor(__c.Colors.RGB((int) (84),(int) (255),(int) (172)));
- //BA.debugLineNum = 84;BA.debugLine="Label22.Color = Colors.RGB(84,255,172)";
+ //BA.debugLineNum = 92;BA.debugLine="Label22.Color = Colors.RGB(84,255,172)";
_label22.setColor(__c.Colors.RGB((int) (84),(int) (255),(int) (172)));
}else if((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Delfín Niky")) {
- //BA.debugLineNum = 86;BA.debugLine="l_animal.Color = Colors.RGB(84,255,245)";
+ //BA.debugLineNum = 94;BA.debugLine="l_animal.Color = Colors.RGB(84,255,245)";
_l_animal.setColor(__c.Colors.RGB((int) (84),(int) (255),(int) (245)));
- //BA.debugLineNum = 87;BA.debugLine="Label22.Color = Colors.RGB(84,255,245)";
+ //BA.debugLineNum = 95;BA.debugLine="Label22.Color = Colors.RGB(84,255,245)";
_label22.setColor(__c.Colors.RGB((int) (84),(int) (255),(int) (245)));
}else if((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Tortuga KOPI")) {
- //BA.debugLineNum = 89;BA.debugLine="l_animal.Color = Colors.RGB(255,123,84)";
+ //BA.debugLineNum = 97;BA.debugLine="l_animal.Color = Colors.RGB(255,123,84)";
_l_animal.setColor(__c.Colors.RGB((int) (255),(int) (123),(int) (84)));
- //BA.debugLineNum = 90;BA.debugLine="Label22.Color = Colors.RGB(255,123,84)";
+ //BA.debugLineNum = 98;BA.debugLine="Label22.Color = Colors.RGB(255,123,84)";
_label22.setColor(__c.Colors.RGB((int) (255),(int) (123),(int) (84)));
}else if((_coloressaldo.GetString("CAT_CL_CLASIFICADOR2")).equals("Lechuza MON")) {
- //BA.debugLineNum = 92;BA.debugLine="l_animal.Color = Colors.RGB(255,250,140)";
+ //BA.debugLineNum = 100;BA.debugLine="l_animal.Color = Colors.RGB(255,250,140)";
_l_animal.setColor(__c.Colors.RGB((int) (255),(int) (250),(int) (140)));
- //BA.debugLineNum = 93;BA.debugLine="Label22.Color = Colors.RGB(255,250,140)";
+ //BA.debugLineNum = 101;BA.debugLine="Label22.Color = Colors.RGB(255,250,140)";
_label22.setColor(__c.Colors.RGB((int) (255),(int) (250),(int) (140)));
}else {
- //BA.debugLineNum = 95;BA.debugLine="l_animal.Color = Colors.Transparent";
+ //BA.debugLineNum = 103;BA.debugLine="l_animal.Color = Colors.Transparent";
_l_animal.setColor(__c.Colors.Transparent);
- //BA.debugLineNum = 96;BA.debugLine="Label22.Color = Colors.Transparent";
+ //BA.debugLineNum = 104;BA.debugLine="Label22.Color = Colors.Transparent";
_label22.setColor(__c.Colors.Transparent);
};
- //BA.debugLineNum = 99;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU";
+ //BA.debugLineNum = 107;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select IFNU";
_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 100;BA.debugLine="c.Position = 0";
+ //BA.debugLineNum = 108;BA.debugLine="c.Position = 0";
_c.setPosition((int) (0));
- //BA.debugLineNum = 101;BA.debugLine="If c.GetInt(\"CAT_CL_BCREDITO\") = 1 Then";
+ //BA.debugLineNum = 109;BA.debugLine="If c.GetInt(\"CAT_CL_BCREDITO\") = 1 Then";
if (_c.GetInt("CAT_CL_BCREDITO")==1) {
- //BA.debugLineNum = 103;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt";
+ //BA.debugLineNum = 111;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt";
_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
- //BA.debugLineNum = 104;BA.debugLine="If pagarepen.RowCount > 0 Then";
+ //BA.debugLineNum = 112;BA.debugLine="If pagarepen.RowCount > 0 Then";
if (_pagarepen.getRowCount()>0) {
- //BA.debugLineNum = 105;BA.debugLine="pagarepen.Position = 0";
+ //BA.debugLineNum = 113;BA.debugLine="pagarepen.Position = 0";
_pagarepen.setPosition((int) (0));
- //BA.debugLineNum = 106;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
+ //BA.debugLineNum = 114;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
__c.DateTime.setDateFormat("dd/MM/yyyy");
- //BA.debugLineNum = 107;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString";
+ //BA.debugLineNum = 115;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString";
_fechainicio = _pagarepen.GetString("FECHA");
- //BA.debugLineNum = 109;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
-__c.LogImpl("757737286",_pagarepen.GetString("FECHA"),0);
- //BA.debugLineNum = 111;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fe";
+ //BA.debugLineNum = 117;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
+__c.LogImpl("458785864",_pagarepen.GetString("FECHA"),0);
+ //BA.debugLineNum = 119;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fe";
_ticksinicio = __c.DateTime.DateParse(_fechainicio);
- //BA.debugLineNum = 112;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateT";
+ //BA.debugLineNum = 120;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateT";
_tickshoy = __c.DateTime.DateParse(__c.DateTime.Date(__c.DateTime.getNow()));
- //BA.debugLineNum = 115;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIn";
+ //BA.debugLineNum = 123;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIn";
_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)__c.DateTime.TicksPerDay);
- //BA.debugLineNum = 118;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
-__c.LogImpl("757737295",("Días transcurridos: "+__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
- //BA.debugLineNum = 120;BA.debugLine="Dim c4 As Cursor=B4XPages.MainPage.skmt.ExecQue";
+ //BA.debugLineNum = 126;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
+__c.LogImpl("458785873",("Días transcurridos: "+__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
+ //BA.debugLineNum = 128;BA.debugLine="Dim c4 As Cursor=B4XPages.MainPage.skmt.ExecQue";
_c4 = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
_c4 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from kmt_info3 where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
- //BA.debugLineNum = 121;BA.debugLine="c4.Position = 0";
+ //BA.debugLineNum = 129;BA.debugLine="c4.Position = 0";
_c4.setPosition((int) (0));
}else {
};
- //BA.debugLineNum = 134;BA.debugLine="l_credito.Visible = True";
+ //BA.debugLineNum = 142;BA.debugLine="l_credito.Visible = True";
_l_credito.setVisible(__c.True);
- //BA.debugLineNum = 135;BA.debugLine="l_limite.Visible = True";
+ //BA.debugLineNum = 143;BA.debugLine="l_limite.Visible = True";
_l_limite.setVisible(__c.True);
- //BA.debugLineNum = 136;BA.debugLine="l_limite.Text = c.GetInt(\"CAT_CL_LIMITECREDITO\")";
+ //BA.debugLineNum = 144;BA.debugLine="l_limite.Text = c.GetInt(\"CAT_CL_LIMITECREDITO\")";
_l_limite.setText(BA.ObjectToCharSequence(_c.GetInt("CAT_CL_LIMITECREDITO")));
}else if(_c.GetInt("CAT_CL_BCREDITO")==0) {
- //BA.debugLineNum = 138;BA.debugLine="l_credito.Visible = False";
+ //BA.debugLineNum = 146;BA.debugLine="l_credito.Visible = False";
_l_credito.setVisible(__c.False);
- //BA.debugLineNum = 139;BA.debugLine="l_limite.Visible = False";
+ //BA.debugLineNum = 147;BA.debugLine="l_limite.Visible = False";
_l_limite.setVisible(__c.False);
};
- //BA.debugLineNum = 141;BA.debugLine="End Sub";
+ //BA.debugLineNum = 149;BA.debugLine="End Sub";
return "";
}
public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{
- //BA.debugLineNum = 29;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
- //BA.debugLineNum = 30;BA.debugLine="Root = Root1";
+ //BA.debugLineNum = 35;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)";
+ //BA.debugLineNum = 36;BA.debugLine="Root = Root1";
_root = _root1;
- //BA.debugLineNum = 32;BA.debugLine="Root.LoadLayout(\"Vista_todoslosclientes\")";
+ //BA.debugLineNum = 38;BA.debugLine="Root.LoadLayout(\"Vista_todoslosclientes\")";
_root.LoadLayout("Vista_todoslosclientes",ba);
- //BA.debugLineNum = 33;BA.debugLine="End Sub";
+ //BA.debugLineNum = 39;BA.debugLine="End Sub";
return "";
}
public String _class_globals() throws Exception{
@@ -259,31 +274,154 @@ _l_credito = new anywheresoftware.b4a.objects.LabelWrapper();
_imageview4 = new anywheresoftware.b4a.objects.ImageViewWrapper();
//BA.debugLineNum = 20;BA.debugLine="Private Guardar As Button";
_guardar = new anywheresoftware.b4a.objects.ButtonWrapper();
- //BA.debugLineNum = 21;BA.debugLine="End Sub";
+ //BA.debugLineNum = 21;BA.debugLine="Private p_deuda As Panel";
+_p_deuda = new anywheresoftware.b4a.objects.PanelWrapper();
+ //BA.debugLineNum = 22;BA.debugLine="Private Panel5 As Panel";
+_panel5 = new anywheresoftware.b4a.objects.PanelWrapper();
+ //BA.debugLineNum = 23;BA.debugLine="Private b_okdeuda As Button";
+_b_okdeuda = new anywheresoftware.b4a.objects.ButtonWrapper();
+ //BA.debugLineNum = 24;BA.debugLine="Private l_deuda As Label";
+_l_deuda = new anywheresoftware.b4a.objects.LabelWrapper();
+ //BA.debugLineNum = 25;BA.debugLine="Private I_fotogrande As ImageView";
+_i_fotogrande = new anywheresoftware.b4a.objects.ImageViewWrapper();
+ //BA.debugLineNum = 26;BA.debugLine="Private P_Imagengrande As Panel";
+_p_imagengrande = new anywheresoftware.b4a.objects.PanelWrapper();
+ //BA.debugLineNum = 27;BA.debugLine="End Sub";
return "";
}
public String _guardar_click() throws Exception{
- //BA.debugLineNum = 146;BA.debugLine="Private Sub Guardar_Click";
- //BA.debugLineNum = 147;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
+ //BA.debugLineNum = 225;BA.debugLine="Private Sub Guardar_Click";
+ //BA.debugLineNum = 226;BA.debugLine="B4XPages.ShowPage(\"Principal\")";
_b4xpages._showpage /*String*/ (ba,"Principal");
- //BA.debugLineNum = 148;BA.debugLine="End Sub";
+ //BA.debugLineNum = 227;BA.debugLine="End Sub";
return "";
}
public String _hist_click() throws Exception{
- //BA.debugLineNum = 35;BA.debugLine="Sub HIST_Click";
- //BA.debugLineNum = 36;BA.debugLine="B4XPages.ShowPage(\"historicobattodos\")";
+ //BA.debugLineNum = 41;BA.debugLine="Sub HIST_Click";
+ //BA.debugLineNum = 42;BA.debugLine="B4XPages.ShowPage(\"historicobattodos\")";
_b4xpages._showpage /*String*/ (ba,"historicobattodos");
- //BA.debugLineNum = 37;BA.debugLine="End Sub";
+ //BA.debugLineNum = 43;BA.debugLine="End Sub";
+return "";
+}
+public String _imageview4_longclick() throws Exception{
+anywheresoftware.b4a.sql.SQL.CursorWrapper _fotomostrar = null;
+byte[] _fotomostrarfinal = null;
+anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _inputstream1 = null;
+anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bitmap1 = null;
+ //BA.debugLineNum = 229;BA.debugLine="Private Sub ImageView4_LongClick";
+ //BA.debugLineNum = 230;BA.debugLine="Private fotomostrar As Cursor = Starter.skmt.Exec";
+_fotomostrar = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_fotomostrar = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 231;BA.debugLine="If fotomostrar.RowCount > 0 Then";
+if (_fotomostrar.getRowCount()>0) {
+ //BA.debugLineNum = 233;BA.debugLine="fotomostrar.Position = 0";
+_fotomostrar.setPosition((int) (0));
+ //BA.debugLineNum = 234;BA.debugLine="Private fotomostrarfinal() As Byte = fotomostrar";
+_fotomostrarfinal = _fotomostrar.GetBlob("FOTO");
+ //BA.debugLineNum = 235;BA.debugLine="Dim InputStream1 As InputStream";
+_inputstream1 = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper();
+ //BA.debugLineNum = 236;BA.debugLine="InputStream1.InitializeFromBytesArray(fotomostra";
+_inputstream1.InitializeFromBytesArray(_fotomostrarfinal,(int) (0),_fotomostrarfinal.length);
+ //BA.debugLineNum = 237;BA.debugLine="Dim Bitmap1 As Bitmap";
+_bitmap1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
+ //BA.debugLineNum = 238;BA.debugLine="Bitmap1.Initialize2(InputStream1)";
+_bitmap1.Initialize2((java.io.InputStream)(_inputstream1.getObject()));
+ //BA.debugLineNum = 239;BA.debugLine="InputStream1.Close";
+_inputstream1.Close();
+ //BA.debugLineNum = 240;BA.debugLine="I_fotogrande.Bitmap = Bitmap1";
+_i_fotogrande.setBitmap((android.graphics.Bitmap)(_bitmap1.getObject()));
+ //BA.debugLineNum = 241;BA.debugLine="Log(\"aqui si hay foto\")";
+__c.LogImpl("458982412","aqui si hay foto",0);
+ }else {
+ //BA.debugLineNum = 243;BA.debugLine="I_fotogrande.Bitmap = LoadBitmap(File.DirAssets,";
+_i_fotogrande.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"images.png").getObject()));
+ //BA.debugLineNum = 244;BA.debugLine="Log(\"aqui no hay foto\")";
+__c.LogImpl("458982415","aqui no hay foto",0);
+ };
+ //BA.debugLineNum = 246;BA.debugLine="P_Imagengrande.Visible = True";
+_p_imagengrande.setVisible(__c.True);
+ //BA.debugLineNum = 247;BA.debugLine="End Sub";
return "";
}
public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
- //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize As Object";
- //BA.debugLineNum = 25;BA.debugLine="Return Me";
+ //BA.debugLineNum = 30;BA.debugLine="Public Sub Initialize As Object";
+ //BA.debugLineNum = 31;BA.debugLine="Return Me";
if (true) return this;
- //BA.debugLineNum = 26;BA.debugLine="End Sub";
+ //BA.debugLineNum = 32;BA.debugLine="End Sub";
return null;
}
+public String _l_limite_click() throws Exception{
+anywheresoftware.b4a.sql.SQL.CursorWrapper _pagarepen = null;
+anywheresoftware.b4a.objects.CSBuilder _cs = null;
+String _fechainicio = "";
+long _ticksinicio = 0L;
+long _tickshoy = 0L;
+int _diferenciadias = 0;
+ //BA.debugLineNum = 151;BA.debugLine="Private Sub l_limite_Click";
+ //BA.debugLineNum = 154;BA.debugLine="Dim pagarepen As Cursor = B4XPages.MainPage.skmt.";
+_pagarepen = new anywheresoftware.b4a.sql.SQL.CursorWrapper();
+_pagarepen = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSPTOD WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")));
+ //BA.debugLineNum = 155;BA.debugLine="If pagarepen.RowCount > 0 Then";
+if (_pagarepen.getRowCount()>0) {
+ //BA.debugLineNum = 156;BA.debugLine="Dim cs As CSBuilder";
+_cs = new anywheresoftware.b4a.objects.CSBuilder();
+ //BA.debugLineNum = 157;BA.debugLine="cs.Initialize";
+_cs.Initialize();
+ //BA.debugLineNum = 158;BA.debugLine="p_deuda.Visible = True";
+_p_deuda.setVisible(__c.True);
+ //BA.debugLineNum = 159;BA.debugLine="p_deuda.Width = Root.Width";
+_p_deuda.setWidth(_root.getWidth());
+ //BA.debugLineNum = 160;BA.debugLine="p_deuda.Height = Root.Height";
+_p_deuda.setHeight(_root.getHeight());
+ //BA.debugLineNum = 162;BA.debugLine="pagarepen.Position = 0";
+_pagarepen.setPosition((int) (0));
+ //BA.debugLineNum = 163;BA.debugLine="DateTime.DateFormat=\"dd/MM/yyyy\"";
+__c.DateTime.setDateFormat("dd/MM/yyyy");
+ //BA.debugLineNum = 164;BA.debugLine="Dim FechaInicio As String = pagarepen.GetString(";
+_fechainicio = _pagarepen.GetString("FECHA");
+ //BA.debugLineNum = 166;BA.debugLine="Log(pagarepen.GetString(\"FECHA\"))";
+__c.LogImpl("458851343",_pagarepen.GetString("FECHA"),0);
+ //BA.debugLineNum = 169;BA.debugLine="Dim TicksInicio As Long = DateTime.DateParse(Fec";
+_ticksinicio = __c.DateTime.DateParse(_fechainicio);
+ //BA.debugLineNum = 170;BA.debugLine="Dim TicksHoy As Long = DateTime.DateParse(DateTi";
+_tickshoy = __c.DateTime.DateParse(__c.DateTime.Date(__c.DateTime.getNow()));
+ //BA.debugLineNum = 173;BA.debugLine="Dim DiferenciaDias As Int = (TicksHoy - TicksIni";
+_diferenciadias = (int) ((_tickshoy-_ticksinicio)/(double)__c.DateTime.TicksPerDay);
+ //BA.debugLineNum = 176;BA.debugLine="Log($\"Días transcurridos: ${DiferenciaDias}\"$)";
+__c.LogImpl("458851353",("Días transcurridos: "+__c.SmartStringFormatter("",(Object)(_diferenciadias))+""),0);
+ //BA.debugLineNum = 178;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select IFNUL";
+_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*gunav2.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO In (Select cuenta from cuentaa)")));
+ //BA.debugLineNum = 179;BA.debugLine="c.Position = 0";
+_c.setPosition((int) (0));
+ //BA.debugLineNum = 181;BA.debugLine="If DiferenciaDias <= c.GetInt(\"CAT_CL_DIASCREDIT";
+if (_diferenciadias<=_c.GetInt("CAT_CL_DIASCREDITO")+8) {
+ //BA.debugLineNum = 185;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M";
+_l_deuda.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.RGB((int) (48),(int) (109),(int) (0))).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE"))).PopAll().getObject()));
+ }else if(_diferenciadias>_c.GetInt("CAT_CL_DIASCREDITO")+8) {
+ //BA.debugLineNum = 188;BA.debugLine="l_deuda.Text = cs.Color(Colors.Black).Append(\"M";
+_l_deuda.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Monto de la deuda:"+__c.CRLF+__c.CRLF)).Pop().Color(__c.Colors.Red).Size((int) (18)).Append(BA.ObjectToCharSequence("$ "+_pagarepen.GetString("SALDO_PENDIENTE")+__c.CRLF+__c.CRLF)).Pop().Size((int) (14)).Color(__c.Colors.Black).Append(BA.ObjectToCharSequence("Dias de atraso:"+__c.CRLF+__c.CRLF)).Pop().Size((int) (18)).Color(__c.Colors.Red).Append(BA.ObjectToCharSequence((_diferenciadias-(_c.GetInt("CAT_CL_DIASCREDITO")+1)))).PopAll().getObject()));
+ };
+ }else {
+ //BA.debugLineNum = 191;BA.debugLine="p_deuda.Visible = True";
+_p_deuda.setVisible(__c.True);
+ //BA.debugLineNum = 193;BA.debugLine="p_deuda.Width = Root.Width";
+_p_deuda.setWidth(_root.getWidth());
+ //BA.debugLineNum = 194;BA.debugLine="p_deuda.Height = Root.Height";
+_p_deuda.setHeight(_root.getHeight());
+ //BA.debugLineNum = 196;BA.debugLine="l_deuda.Text = \"No tiene adeudo\"";
+_l_deuda.setText(BA.ObjectToCharSequence("No tiene adeudo"));
+ };
+ //BA.debugLineNum = 199;BA.debugLine="End Sub";
+return "";
+}
+public String _p_imagengrande_click() throws Exception{
+ //BA.debugLineNum = 249;BA.debugLine="Sub P_Imagengrande_click";
+ //BA.debugLineNum = 250;BA.debugLine="P_Imagengrande.Visible = False";
+_p_imagengrande.setVisible(__c.False);
+ //BA.debugLineNum = 251;BA.debugLine="End Sub";
+return "";
+}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
if (BA.fastSubCompare(sub, "B4XPAGE_CREATED"))
diff --git a/B4A/Objects/src/gunav2/keymon/com/mx/xuiviewsutils.java b/B4A/Objects/src/gunav2/keymon/com/mx/xuiviewsutils.java
index ceeb9a3..7916879 100644
--- a/B4A/Objects/src/gunav2/keymon/com/mx/xuiviewsutils.java
+++ b/B4A/Objects/src/gunav2/keymon/com/mx/xuiviewsutils.java
@@ -17,9 +17,9 @@ public b4a.example.dateutils _dateutils = null;
public gunav2.keymon.com.mx.main _main = null;
public gunav2.keymon.com.mx.starter _starter = null;
public gunav2.keymon.com.mx.subs _subs = null;
+public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.appupdater _appupdater = null;
public gunav2.keymon.com.mx.firebasemessaging _firebasemessaging = null;
-public gunav2.keymon.com.mx.mapa_rutas _mapa_rutas = null;
public gunav2.keymon.com.mx.tracker _tracker = null;
public gunav2.keymon.com.mx.newinst2 _newinst2 = null;
public gunav2.keymon.com.mx.b4xpages _b4xpages = null;
diff --git a/B4A/Subs.bas b/B4A/Subs.bas
index e1adfbd..b5a42c8 100644
--- a/B4A/Subs.bas
+++ b/B4A/Subs.bas
@@ -45,6 +45,21 @@ Sub getPhnId As String 'ignore
Return devModel
End Sub
+Sub CreateBitmapWithNumber(OriginalBitmap As Bitmap, Number As Int) As Bitmap 'ignore
+ Dim NewBitmap As Bitmap
+ NewBitmap.InitializeMutable(OriginalBitmap.Width, OriginalBitmap.Height)
+ Dim Canvas As Canvas
+ Canvas.Initialize2(NewBitmap)
+ ' Definir el rectángulo donde se dibujará el Bitmap
+ Dim DestRect As Rect
+ DestRect.Initialize(0, 0, OriginalBitmap.Width, OriginalBitmap.Height)
+ ' Dibujar la imagen original
+ Canvas.DrawBitmap(OriginalBitmap, Null, DestRect)
+ ' Dibujar el número en el centro del Bitmap y configurar el estilo del texto
+ Canvas.DrawText(Number, (OriginalBitmap.Width / 2), (OriginalBitmap.Height / 2.4), Typeface.DEFAULT, 15, Colors.White, "CENTER")
+ Return NewBitmap
+End Sub
+
Sub SetDivider(lv As ListView, Color As Int, Height As Int) 'ignore
Dim r As Reflector
r.Target = lv
@@ -1171,6 +1186,10 @@ Sub revisaMaxPromosProdsFijosPorInventario(pm As Map) As Int
For p = 0 To idProdsFijos.Size -1 'Generamos una lista con las promos disponibles por producto (dividimos el inventario total entre las piezas requeridas).
If thisLog Then Log($"id=${idProdsFijos.Get(p)}, inv=${invDispParaPromo.Get(idProdsFijos.Get(p))}, pzas=${prodsFijosPiezas.Get(p)}"$)
If thisLog Then Log($"${(invDispParaPromo.Get(idProdsFijos.Get(p)) / prodsFijosPiezas.Get(p))}"$)
+ Log(prodsFijosPiezas.Get(p))
+ Log(prodsFijosPiezas.Get(p))
+ Log(idProdsFijos.Get(p))
+ Log((invDispParaPromo.Get(idProdsFijos.Get(p)) / prodsFijosPiezas.Get(p)))
Private x() As String = Regex.Split("\.", $"${(invDispParaPromo.Get(idProdsFijos.Get(p)) / prodsFijosPiezas.Get(p))}"$) 'Separamos el resultado de la division por el punto decimal.
If thisLog Then Log(x(0))
t.Add(x(0).As(Int)) 'Solo guardamos la parte del entero de la division.
@@ -2250,7 +2269,7 @@ Sub calculaTotalConPromoXRango(idCliente As String) As String
For i = 0 To cx.RowCount - 1
' Log("999999999999999999999999999999999999")
cx.Position = i
- Log("***************************************")
+' Log("***************************************")
If cx.getstring("RECANT") = "N" Then ' Sin productos dentro de rango.
totalParcial = cx.getstring("PE_COSTO_TOT")
else if cx.getstring("RECANT") = cx.getstring("PE_CANT") Then ' Solo productos dentro de rango.
@@ -2259,13 +2278,13 @@ Sub calculaTotalConPromoXRango(idCliente As String) As String
totalParcial = ((cx.getstring("PE_CANT") - cx.getstring("PE_RECCANT")) * cx.getstring("PE_COSTOU")) + (cx.getstring("PE_RECALCULO") * cx.getstring("PE_RECCANT"))
Log($"${((cx.getstring("PE_CANT") - cx.getstring("PE_RECCANT")) * cx.getstring("PE_COSTOU"))} + ${(cx.getstring("PE_RECALCULO") * cx.getstring("PE_RECCANT"))} "$)
End If
- Log($"Total:${total} + Total Parcial: ${totalParcial}"$)
+' Log($"Total:${total} + Total Parcial: ${totalParcial}"$)
total = total + totalParcial
Next
End If
cx.Close
total = NumberFormat2(total, 1, 2, 2, False)
- Log($"Total con promocXrango = ${total}"$)
+' Log($"Total con promocXrango = ${total}"$)
Return total
End Sub
@@ -2321,7 +2340,7 @@ Sub calculaTotalConPromoXRango2(idCliente As String) As String
For i = 0 To cx.RowCount - 1
' Log("999999999999999999999999999999999999")
cx.Position = i
- Log("***************************************")
+' Log("***************************************")
If cx.getstring("RECANT") = "N" Then ' Sin productos dentro de rango.
totalParcial = cx.getstring("PE_COSTO_TOT")
else if cx.getstring("RECANT") = cx.getstring("PE_CANT") Then ' Solo productos dentro de rango.
@@ -2330,13 +2349,13 @@ Sub calculaTotalConPromoXRango2(idCliente As String) As String
totalParcial = ((cx.getstring("PE_CANT") - cx.getstring("PE_RECCANT")) * cx.getstring("PE_COSTOU")) + (cx.getstring("PE_RECALCULO") * cx.getstring("PE_RECCANT"))
Log($"${((cx.getstring("PE_CANT") - cx.getstring("PE_RECCANT")) * cx.getstring("PE_COSTOU"))} + ${(cx.getstring("PE_RECALCULO") * cx.getstring("PE_RECCANT"))} "$)
End If
- Log($"Total:${total} + Total Parcial: ${totalParcial}"$)
+' Log($"Total:${total} + Total Parcial: ${totalParcial}"$)
total = total + totalParcial
Next
End If
cx.Close
total = NumberFormat2(total, 1, 2, 2, False)
- Log($"Total con promocXrango = ${total}"$)
+' Log($"Total con promocXrango = ${total}"$)
Return total
End Sub
@@ -2471,7 +2490,7 @@ Sub calculaTotalConPromoXRango6(idCliente As String) As String
For i = 0 To cx.RowCount - 1
' Log("999999999999999999999999999999999999")
cx.Position = i
- Log("***************************************")
+' Log("***************************************")
If cx.getstring("RECANT") = "N" Then ' Sin productos dentro de rango.
totalParcial = cx.getstring("PE_COSTO_TOT")
else if cx.getstring("RECANT") = cx.getstring("PE_CANT") Then ' Solo productos dentro de rango.
@@ -2480,13 +2499,13 @@ Sub calculaTotalConPromoXRango6(idCliente As String) As String
totalParcial = ((cx.getstring("PE_CANT") - cx.getstring("PE_RECCANT")) * cx.getstring("PE_COSTOU")) + (cx.getstring("PE_RECALCULO") * cx.getstring("PE_RECCANT"))
Log($"${((cx.getstring("PE_CANT") - cx.getstring("PE_RECCANT")) * cx.getstring("PE_COSTOU"))} + ${(cx.getstring("PE_RECALCULO") * cx.getstring("PE_RECCANT"))} "$)
End If
- Log($"Total:${total} + Total Parcial: ${totalParcial}"$)
+' Log($"Total:${total} + Total Parcial: ${totalParcial}"$)
total = total + totalParcial
Next
End If
cx.Close
total = NumberFormat2(total, 1, 2, 2, False)
- Log($"Total con promocXrango = ${total}"$)
+' Log($"Total con promocXrango = ${total}"$)
Return total
End Sub
diff --git a/B4A/V_Tclientes.bas b/B4A/V_Tclientes.bas
index c958a10..1230734 100644
--- a/B4A/V_Tclientes.bas
+++ b/B4A/V_Tclientes.bas
@@ -24,6 +24,12 @@ Sub Class_Globals
Private l_credito As Label
Private ImageView4 As ImageView
Private Guardar As Button
+ Private p_deuda As Panel
+ Private Panel5 As Panel
+ Private b_okdeuda As Button
+ Private l_deuda As Label
+ Private I_fotogrande As ImageView
+ Private P_Imagengrande As Panel
End Sub
'You can add more parameters here.
@@ -81,6 +87,8 @@ Sub B4XPage_Appear
End If
+ Subs.centraPanel(P_Imagengrande,Root.Width)
+
Dim coloressaldo As Cursor=B4XPages.MainPage.skmt.ExecQuery("select IFNULL(CAT_CL_CLASIFICADOR3,0) AS CAT_CL_CLASIFICADOR3, IFNULL(CAT_CL_CLASIFICADOR4,0) AS CAT_CL_CLASIFICADOR4, IFNULL(CAT_CL_CLASIFICADOR2,'') AS CAT_CL_CLASIFICADOR2 from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO In (Select cuenta from cuentaa)")
coloressaldo.Position = 0
@@ -146,9 +154,108 @@ Sub B4XPage_Appear
End If
End Sub
+Private Sub l_limite_Click
+
+
+ Dim pagarepen As Cursor = B4XPages.MainPage.skmt.ExecQuery("select FECHA, SALDO_PENDIENTE FROM ABONOSPTOD WHERE CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ If pagarepen.RowCount > 0 Then
+ Dim cs As CSBuilder
+ cs.Initialize
+ p_deuda.Visible = True
+ p_deuda.Width = Root.Width
+ p_deuda.Height = Root.Height
+
+ pagarepen.Position = 0
+ DateTime.DateFormat="dd/MM/yyyy"
+ Dim FechaInicio As String = pagarepen.GetString("FECHA") ' Formato: dd/MM/yyyy
+' Dim FechaHoy As String = DateTime.Date(DateTime.Now) ' Fecha actual en formato dd/MM/yyyy
+ Log(pagarepen.GetString("FECHA"))
+
+ ' Convertir las fechas a milisegundos (desde 01/01/1970)
+ Dim TicksInicio As Long = DateTime.DateParse(FechaInicio)
+ Dim TicksHoy As Long = DateTime.DateParse(DateTime.Date(DateTime.Now))
+
+ ' Calcular diferencia en días
+ Dim DiferenciaDias As Int = (TicksHoy - TicksInicio) / DateTime.TicksPerDay
+
+ ' Mostrar resultado
+ Log($"Días transcurridos: ${DiferenciaDias}"$)
+
+ c=B4XPages.MainPage.skmt.ExecQuery("select IFNULL(CAT_CL_DIASCREDITO,0) AS CAT_CL_DIASCREDITO from CAT_CATCLIENTESTODOS where CAT_CL_CODIGO In (Select cuenta from cuentaa)")
+ c.Position = 0
+
+ If DiferenciaDias <= c.GetInt("CAT_CL_DIASCREDITO") + 8 Then
+' Msgbox2Async($"Favor de pagar su credito el día de mañana por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$, "Recordatorio", "Ok", "", "", LoadBitmap(File.DirAssets,"alert2.png"), False)
+
+' l_deuda.Text = ($"Favor de pagar su credito el día de mañana por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$)
+ l_deuda.Text = cs.Color(Colors.Black).Append("Monto de la deuda:" & CRLF&CRLF).Pop.Size(18).Color(Colors.RGB(48,109,0)).Append("$ "& pagarepen.GetString("SALDO_PENDIENTE")).PopAll
+ Else If DiferenciaDias > c.GetInt("CAT_CL_DIASCREDITO") + 8 Then
+' l_deuda.Text = ($"No se puede realizar venta por que presenta ${(DiferenciaDias-(c.GetInt("CAT_CL_DIASCREDITO") +1))} días de atraso en el credito, por un monto de $${pagarepen.GetString("SALDO_PENDIENTE")}"$)
+ l_deuda.Text = cs.Color(Colors.Black).Append("Monto de la deuda:" & CRLF&CRLF).Pop.Color(Colors.Red).Size(18).Append("$ " &pagarepen.GetString("SALDO_PENDIENTE")&CRLF&CRLF).Pop.Size(14).Color(Colors.Black).Append("Dias de atraso:" & CRLF&CRLF).Pop.Size(18).Color(Colors.Red).Append((DiferenciaDias-(c.GetInt("CAT_CL_DIASCREDITO") +1))).PopAll
+ End If
+ Else
+ p_deuda.Visible = True
+
+ p_deuda.Width = Root.Width
+ p_deuda.Height = Root.Height
+
+ l_deuda.Text = "No tiene adeudo"
+ End If
+
+End Sub
+
+
+'Private Sub B4XPage_CloseRequest As ResumableSub
+'' BACK key pressed
+'' Return True To close, False To cancel
+'
+' If P_Imagengrande.Visible Then
+' P_Imagengrande.Visible = False
+' Return False
+' Else if Subs.hayPedido Then
+' ToastMessageShow("Por favor presione el botón de GUARDAR", True)
+'' Return False
+'' else If p_deuda.Visible Then
+'' p_deuda.Visible = False
+'' Return False
+' Else
+'' Starter.enCliente = False
+' B4XPages.ShowPage("Clientes_Completos")
+' End If
+'' Return True
+' Return False
+'End Sub
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
Private Sub Guardar_Click
B4XPages.ShowPage("Principal")
+End Sub
+
+Private Sub ImageView4_LongClick
+ Private fotomostrar As Cursor = Starter.skmt.ExecQuery("SELECT FOTO FROM FOTOS where CLIENTE IN (SELECT CUENTA FROM CUENTAA)")
+ If fotomostrar.RowCount > 0 Then
+
+ fotomostrar.Position = 0
+ Private fotomostrarfinal() As Byte = fotomostrar.GetBlob("FOTO")
+ Dim InputStream1 As InputStream
+ InputStream1.InitializeFromBytesArray(fotomostrarfinal, 0, fotomostrarfinal.Length)
+ Dim Bitmap1 As Bitmap
+ Bitmap1.Initialize2(InputStream1)
+ InputStream1.Close
+ I_fotogrande.Bitmap = Bitmap1
+ Log("aqui si hay foto")
+ Else
+ I_fotogrande.Bitmap = LoadBitmap(File.DirAssets,"images.png")
+ Log("aqui no hay foto")
+ End If
+ P_Imagengrande.Visible = True
+End Sub
+
+Sub P_Imagengrande_click
+ P_Imagengrande.Visible = False
+End Sub
+
+Private Sub b_okdeuda_Click
+ p_deuda.Visible = False
End Sub
\ No newline at end of file