mirror of
https://github.com/KeymonSoft/Intmex_Preventa.git
synced 2026-04-17 12:56:09 +00:00
8/9/23 - Se agregaron pendientes
Se agregó lel modulo "Pendientes", y en él, se anotó que falta modificar la bandera de "pc_envio_ok" en "PEDIDO_CLIENTE" cuando se guarda una venta.
This commit is contained in:
@@ -834,7 +834,7 @@ Sub mandaPendientes
|
||||
End If
|
||||
|
||||
'PEDIDO (Pendientes)
|
||||
c=B4XPages.MainPage.skmt.ExecQuery("SELECT PC_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM pedido_cliente left join PEDIDO where pc_cliente = pe_cliente and pc_envio_ok <> 1")
|
||||
c=B4XPages.MainPage.skmt.ExecQuery("SELECT PC_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM pedido_cliente left join PEDIDO where pc_cliente = pe_cliente and pc_envio_ok <> 1")
|
||||
Log($"Pedido PENDIENTE: ${c.RowCount}"$)
|
||||
If c.RowCount>0 Then
|
||||
For i=0 To c.RowCount -1
|
||||
|
||||
@@ -139,9 +139,10 @@ Module19=FileHandler
|
||||
Module2=B4XMainPage
|
||||
Module20=ManageExternalStorage
|
||||
Module21=MAPA_RUTAS
|
||||
Module22=Starter
|
||||
Module23=Subs
|
||||
Module24=Tracker
|
||||
Module22=Pendientes
|
||||
Module23=Starter
|
||||
Module24=Subs
|
||||
Module25=Tracker
|
||||
Module3=BatteryUtilities
|
||||
Module4=C_Cliente
|
||||
Module5=C_Clientes
|
||||
@@ -151,7 +152,7 @@ Module8=C_Nota
|
||||
Module9=C_NoVenta
|
||||
NumberOfFiles=46
|
||||
NumberOfLibraries=32
|
||||
NumberOfModules=24
|
||||
NumberOfModules=25
|
||||
Version=12.2
|
||||
@EndOfDesignText@
|
||||
#Region Project Attributes
|
||||
|
||||
16
B4A/Pendientes.bas
Normal file
16
B4A/Pendientes.bas
Normal file
@@ -0,0 +1,16 @@
|
||||
B4A=true
|
||||
Group=Default Group
|
||||
ModulesStructureVersion=1
|
||||
Type=StaticCode
|
||||
Version=12.2
|
||||
@EndOfDesignText@
|
||||
'Code module
|
||||
'Subs in this code module will be accessible from all modules.
|
||||
Sub Process_Globals
|
||||
'These global variables will be declared once when the application starts.
|
||||
'These variables can be accessed from all modules.
|
||||
|
||||
End Sub
|
||||
|
||||
'8/9/23 - Cuando se guarda un pedido en "Cliente", el jobDone de "ins_pedidosPendientes_head_" y "ins_pedidosPendientes_prods_"
|
||||
'NO HACE NADA, es necesario que en el JobDone se cambie la columna "PC_ENVIO_OK" a "1" en "PEDIDO_CLIENTE".
|
||||
Reference in New Issue
Block a user