- VERSION 4.11.01

- Se agregó Durakelo al envio y validación
This commit is contained in:
Jose Alberto Guerra Ugalde
2024-11-02 14:48:22 -06:00
parent 397cb0fe22
commit bfb0417594
5 changed files with 56 additions and 152 deletions

View File

@@ -172,6 +172,19 @@ Sub traeRuta As String 'ignore
Return r
End Sub
'Regresa la ruta del cliente dado de la tabla pedido.
Sub traeRutaPedidoCliente(idcliente As String) As String 'ignore
Private r As String
Private c As Cursor = B4XPages.MainPage.skmt.ExecQuery($"select PE_RUTA from pedido where PE_CLIENTE = '${idcliente}'"$)
r = "0"
If c.RowCount > 0 Then
c.Position = 0
r = c.GetString("PE_RUTA")
End If
c.Close
Return r
End Sub
'Regresa el cliente actual desde CUENTAA.
Sub traeCliente As String 'ignore
Private c As Cursor