mirror of
https://github.com/KeymonSoft/Intmex_Multiventa.git
synced 2026-04-20 14:19:22 +00:00
- VERSION 5.03.25
- Se cambió que la validación de cantidades y montos (revisaCantsYMontosTotales) se realize SIEMPRE, y no solo cuando PC_ENVIO_OK = 2, esto es para que si se borra el pedido DESDE WEB, al realizar la validación de montos y cantidades siempre, entonces se vuelva a enviar!
This commit is contained in:
@@ -15,8 +15,6 @@ Sub Class_Globals
|
||||
Dim sDate, sTime As String
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
'You can add more parameters here.
|
||||
Public Sub Initialize As Object
|
||||
reqManager.Initialize(Me, Starter.DBReqServer)
|
||||
@@ -145,7 +143,7 @@ Sub revisaCantsYMontosTotales
|
||||
Log(">>>>>>> VALIDA CANTIDADES Y MONTOS")
|
||||
Private almacen As String = Subs.traeAlmacen
|
||||
Private laRuta As String = Subs.traeRuta
|
||||
c = skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 2")
|
||||
c = skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 2 or 1") ' El uno del final es para que SIEMPRE revise las cantidades y montos, por si se borra la orden desde web, para que se envíe NUEVAMENTE.
|
||||
Log($"Pedidos a VALIDAR (Cants y Montos): ${c.RowCount}"$)
|
||||
If c.RowCount>0 Then
|
||||
For i=0 To c.RowCount -1
|
||||
|
||||
Reference in New Issue
Block a user