mirror of
https://github.com/KeymonSoft/DBCheck.git
synced 2026-04-17 19:37:09 +00:00
Version 5.11.25
This commit is contained in:
@@ -23,7 +23,6 @@ End Sub
|
||||
'Initializes the object. You can add parameters to this method if needed.
|
||||
Public Sub Initialize
|
||||
' reqManager.Initialize(Me, "http://keymon.lat:1781")
|
||||
reqManager.Initialize(Me, "http://192.99.93.204:1781")
|
||||
End Sub
|
||||
|
||||
Sub envia
|
||||
@@ -364,14 +363,21 @@ Sub valida
|
||||
cmd.Name = "select_cuantos_noventa_INTMEX"
|
||||
cmd.Parameters = Array As Object(almacen, Subs.traeRuta)
|
||||
reqManager.ExecuteQuery(cmd , 0, "valida_noventa")
|
||||
|
||||
|
||||
cmd.Initialize
|
||||
cmd.Name = "select_cuantos_pedidoc_INTMEX"
|
||||
cmd.Parameters = Array As Object(almacen, Subs.traeRuta)
|
||||
reqManager.ExecuteQuery(cmd , 0, "valida_pedidoc")
|
||||
Log("http://keymon.lat:1781")
|
||||
|
||||
Log("http://keymon.net:1781")
|
||||
|
||||
B4XPages.MainPage.l_vPedidos2.Text = ""
|
||||
B4XPages.MainPage.l_vProds2.Text = ""
|
||||
B4XPages.MainPage.l_vNoVenta2.Text = ""
|
||||
End Sub
|
||||
End Sub
|
||||
|
||||
' Nuevo método para inicializar el manager con el Target correcto
|
||||
Public Sub ConfigurarYEnviar(ServidorURL As String)
|
||||
' 'Me' aquí es C_Intmex, asegurando que C_Intmex.JobDone sea llamado.
|
||||
reqManager.Initialize(Me, ServidorURL)
|
||||
envia ' Llama a la función de envío original de C_Intmex
|
||||
End Sub
|
||||
|
||||
Reference in New Issue
Block a user