-activación de remisión al crear contrato

This commit is contained in:
2024-10-11 16:06:38 -07:00
parent ba9ec097cc
commit 4b7b9fb189

View File

@@ -172,22 +172,22 @@ Partial Class ListadoContratos
End If End If
Anexo.Text = "" Anexo.Text = ""
'If ErrorProceso = False Then If ErrorProceso = False Then
' Dim Respuesta As New RespuestaFacturacion() Dim Respuesta As New RespuestaFacturacion()
' Dim CvePS As Integer = 907783 Dim CvePS As Integer = 907783
' Respuesta = GeneraRemision(CveContrato, LbFolio.Text, TxtImporte.Text.ToDecimal, CvePS, ObjContratos.IniciaTransacSQL) Respuesta = GeneraRemision(CveContrato, LbFolio.Text, TxtImporte.Text.ToDecimal, CvePS, ObjContratos.IniciaTransacSQL)
' If Respuesta.CveVenta > 0 Then If Respuesta.CveVenta > 0 Then
' CveVentaRemision = Respuesta.CveVenta CveVentaRemision = Respuesta.CveVenta
' SerieFolioRemision = Respuesta.SerieFolio SerieFolioRemision = Respuesta.SerieFolio
' ErrorProceso = False ErrorProceso = False
' Else Else
' ErrorProceso = True ErrorProceso = True
' Alert("se presento un error al generar la remisión", TipoMensaje.MsgAdvertencia) Alert("se presento un error al generar la remisión", TipoMensaje.MsgAdvertencia)
' End If End If
'End If End If
Else Else
@@ -334,6 +334,7 @@ Partial Class ListadoContratos
ObjFactura.CveContrato = CveContrato ObjFactura.CveContrato = CveContrato
ObjFactura.Observaciones = NumContrato ObjFactura.Observaciones = NumContrato
ObjFactura.CveFormaPago33 = 20 ' por definir
Dim TmpDTMat As New DataTable Dim TmpDTMat As New DataTable
TmpDTMat.Columns.Add("Consec", GetType(Integer)) TmpDTMat.Columns.Add("Consec", GetType(Integer))