- Se corrigió que no actualizaba los clientes nuevos de preventa.

This commit is contained in:
2024-05-28 13:49:57 -06:00
parent 738be2db81
commit ed23fa37b2
2 changed files with 6 additions and 6 deletions

View File

@@ -467,8 +467,8 @@ Sub mandaPendientesNuevosClientes
reqManager.Initialize(Me, Starter.server)
Private sDateP As String = DateTime.Date(DateTime.Now)
' c = B4XPages.MainPage.skmt.ExecQuery("SELECT * from kmt_info where CAT_CL_CODIGO like 'NC%' and CAT_CL_ENVIO_PENDIENTE = '1'")
c = B4XPages.MainPage.skmt.ExecQuery("Select kmt_info.*, nom_foto from kmt_info left join HIST_FOTO_CLIENTE on cat_cl_codigo = codigo where CAT_CL_CODIGO like 'NC%' and CAT_CL_ENVIO_PENDIENTE = '1'")
If mandarTodo Then c = B4XPages.MainPage.skmt.ExecQuery("Select kmt_info.*, nom_foto from kmt_info left join HIST_FOTO_CLIENTE on cat_cl_codigo = codigo where CAT_CL_CODIGO like 'NC%'")
c = B4XPages.MainPage.skmt.ExecQuery("Select kmt_info.*, nom_foto from kmt_info left join HIST_FOTO_CLIENTE on cat_cl_codigo = codigo where CAT_CL_CODIGO like 'N%' and CAT_CL_ENVIO_PENDIENTE = '1'")
If mandarTodo Then c = B4XPages.MainPage.skmt.ExecQuery("Select kmt_info.*, nom_foto from kmt_info left join HIST_FOTO_CLIENTE on cat_cl_codigo = codigo where CAT_CL_CODIGO like 'N%'")
Log($"Cliente Nuevo PENDIENTE: ${c.RowCount}"$)
Dim fotox() As Byte
Dim cmd As DBCommand

View File

@@ -47,8 +47,8 @@ ModuleClosedNodes4=
ModuleClosedNodes5=
ModuleClosedNodes6=
ModuleClosedNodes7=
ModuleClosedNodes8=9,13,14,17,18
ModuleClosedNodes9=1
NavigationStack=C_Principal,b_subir_Click,408,0,C_Cliente,JobDone,487,6,C_Principal,JobDone,704,6,C_Cliente,mandaPendientes,422,6,C_NuevoCliente,Class_Globals,0,0,C_NuevoCliente,B4XPage_Appear,139,0,C_NuevoCliente,b_guardar_Click,275,0,C_Principal,Class_Globals,0,0,C_Principal,connecta_Click,938,0,B4XMainPage,Class_Globals,32,0
ModuleClosedNodes8=
ModuleClosedNodes9=
NavigationStack=Visual Designer,principal.bal,-100,1,C_Cliente,JobDone,487,6,C_Principal,JobDone,704,6,C_Cliente,mandaPendientes,422,6,C_Principal,Class_Globals,0,0,Starter,JobDone,131,0,C_NuevoCliente,b_guardar_Click,277,0,B4XMainPage,Class_Globals,17,0,C_NuevoCliente,mandaPendientesNuevosClientes,463,0,C_Principal,connecta_Click,935,0
SelectedBuild=0
VisibleModules=2,14,6,9,4,8,5,15,7,16
VisibleModules=2,14,9,4,8,5,15,7,16