- VERSION 4.06.29

- Se puso en el JobDone de gunaprods2 que borre la tabla CAT_GUNAPRODS2, porque a veces cuando se carga dia se duplican los productos
This commit is contained in:
Jose Alberto Guerra Ugalde
2024-07-01 13:53:10 -06:00
parent cfe2113e70
commit d67e477581
3 changed files with 5 additions and 4 deletions

View File

@@ -1232,6 +1232,7 @@ Sub JobDone(Job As HttpJob)
Dim RESULT As DBResult = reqManager.HandleJob(Job)
If RESULT.Tag = "gunaprod2" Then 'query tag
If logger Then Log("TIEMPO gunaprod2 : " & ((DateTime.Now-inicioContador)/1000))
Starter.skmt.ExecNonQuery("delete from cat_gunaprod2")
Starter.skmt.BeginTransaction
For Each records() As Object In RESULT.Rows
Dim CAT_GP_ID As String = records(RESULT.Columns.Get("CAT_GP_ID"))