mirror of
https://github.com/KeymonSoft/Intmex_Preventa.git
synced 2026-04-17 21:06:12 +00:00
Correccion de mapas por que tomaba al cliente 0 de abordo
This commit is contained in:
@@ -85,6 +85,6 @@ ModuleClosedNodes6=
|
|||||||
ModuleClosedNodes7=
|
ModuleClosedNodes7=
|
||||||
ModuleClosedNodes8=
|
ModuleClosedNodes8=
|
||||||
ModuleClosedNodes9=
|
ModuleClosedNodes9=
|
||||||
NavigationStack=C_Principal,resdia_Click,2267,5,C_Cliente,MODS,1,0,C_Productos,Class_Globals,1,0,Subs,actualizaProducto,777,0,C_Productos,et_pCant_FocusChanged,626,0,C_Productos,b_continuar_Click,792,0,C_Productos,clv_prods_ll_VisibleRangeChanged,999,0,C_Productos,b_prodMas_Click,572,0,C_Productos,cuentaProds,710,0,C_Productos,et_pCant_TextChanged,675,6
|
NavigationStack=C_Principal,resdia_Click,2267,5,C_Cliente,MODS,1,0,C_Productos,Class_Globals,1,0,Subs,actualizaProducto,777,0,C_Productos,et_pCant_FocusChanged,626,0,C_Productos,b_continuar_Click,792,0,C_Productos,clv_prods_ll_VisibleRangeChanged,999,0,C_Productos,b_prodMas_Click,572,0,C_Productos,cuentaProds,710,0,C_Productos,et_pCant_TextChanged,675,6,MAPA_RUTAS,MapFragment1_Ready,230,0
|
||||||
SelectedBuild=0
|
SelectedBuild=0
|
||||||
VisibleModules=2,26,13,16,14,4,27,15,9,6
|
VisibleModules=2,26,13,16,14,4,27,15,9,6,23
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ Sub MapFragment1_Ready
|
|||||||
'''''''----------------------------MARKER AZUL - POR VISITAR
|
'''''''----------------------------MARKER AZUL - POR VISITAR
|
||||||
If azul = 1 Or todos = 1 Then
|
If azul = 1 Or todos = 1 Then
|
||||||
c.IsInitialized
|
c.IsInitialized
|
||||||
c=skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info 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 <> ' ' ")
|
c=skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info 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 <> ' ' and CAT_CL_CODIGO <> 0 ")
|
||||||
' skmt.Initialize(ruta,"kmt.db", True)
|
' skmt.Initialize(ruta,"kmt.db", True)
|
||||||
Log($"============== Resultados = ${c.RowCount}"$)
|
Log($"============== Resultados = ${c.RowCount}"$)
|
||||||
If c.RowCount > 0 Then
|
If c.RowCount > 0 Then
|
||||||
@@ -182,7 +182,7 @@ Sub MapFragment1_Ready
|
|||||||
'''''''----------------------------MARKER VERDE - VENTA
|
'''''''----------------------------MARKER VERDE - VENTA
|
||||||
If verde = 1 Or todos = 1 Then
|
If verde = 1 Or todos = 1 Then
|
||||||
c2.IsInitialized
|
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")
|
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 and CAT_CL_CODIGO <> 0 ")
|
||||||
Log($"============== Resultados = ${c2.RowCount}"$)
|
Log($"============== Resultados = ${c2.RowCount}"$)
|
||||||
For i = 0 To c2.RowCount -1
|
For i = 0 To c2.RowCount -1
|
||||||
c2.Position = i
|
c2.Position = i
|
||||||
@@ -199,7 +199,7 @@ Sub MapFragment1_Ready
|
|||||||
Else
|
Else
|
||||||
If verde = 1 Or todos = 1 Then
|
If verde = 1 Or todos = 1 Then
|
||||||
c2.IsInitialized
|
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")
|
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 and CAT_CL_CODIGO <> 0 ")
|
||||||
Log($"============== Resultados = ${c2.RowCount}"$)
|
Log($"============== Resultados = ${c2.RowCount}"$)
|
||||||
For i = 0 To c2.RowCount -1
|
For i = 0 To c2.RowCount -1
|
||||||
c2.Position = i
|
c2.Position = i
|
||||||
@@ -219,7 +219,7 @@ Sub MapFragment1_Ready
|
|||||||
|
|
||||||
If rojo = 1 Or todos = 1 Then
|
If rojo = 1 Or todos = 1 Then
|
||||||
c3.IsInitialized
|
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")
|
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 and CAT_CL_CODIGO <> 0 ")
|
||||||
Log($"============== Resultados = ${c3.RowCount}"$)
|
Log($"============== Resultados = ${c3.RowCount}"$)
|
||||||
For i = 0 To c3.RowCount -1
|
For i = 0 To c3.RowCount -1
|
||||||
c3.Position = i
|
c3.Position = i
|
||||||
@@ -234,7 +234,7 @@ Sub MapFragment1_Ready
|
|||||||
Else
|
Else
|
||||||
If rojo = 1 Or todos = 1 Then
|
If rojo = 1 Or todos = 1 Then
|
||||||
c3.IsInitialized
|
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")
|
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 and CAT_CL_CODIGO <> 0 ")
|
||||||
Log($"============== Resultados = ${c3.RowCount}"$)
|
Log($"============== Resultados = ${c3.RowCount}"$)
|
||||||
For i = 0 To c3.RowCount -1
|
For i = 0 To c3.RowCount -1
|
||||||
c3.Position = i
|
c3.Position = i
|
||||||
|
|||||||
Reference in New Issue
Block a user