+
+
+
0 Then
Dim DtTemp = CargarKardex(CvePS)
@@ -286,6 +288,20 @@ Partial Class Inventarios_Kardex
GvM.DataBind()
UpAcciones.Update()
End If
+
+
+
+
+ If CvePS > 0 Then
+ Dim NumeroParte As String = GlobalDTPS(UsuarioActual.CveEmpresa, ddlProducto2.SelectedValue.ToEntero).FiltroPrimeroValor("NumeroParte")
+ If NumeroParte.Trim.Length > 0 Then
+ LblNumeroParte.Text = $" Número de Parte: {NumeroParte}"
+ LblNumeroParte.Visible = True
+ End If
+ End If
+
+ UpNumeroParte.Update()
+
Else
Alert("Seleccione un producto.", TipoMensaje.MsgAdvertencia)
End If
@@ -809,11 +825,14 @@ Partial Class Inventarios_Kardex
Protected Sub ddlProducto2_selectedindexchange(sender As Object, e As EventArgs)
+
LnkKPIVerComportamiento.Visible = False
If ddlProducto2.SelectedValue.ToEntero > 0 And UsuarioActual.CveRol = 1 Then
LnkKPIVerComportamiento.Visible = True
End If
UpAcciones.Update()
+
+
End Sub
End Class
diff --git a/OC/OC.aspx.vb b/OC/OC.aspx.vb
index 4485b59c0..4b1cda15a 100644
--- a/OC/OC.aspx.vb
+++ b/OC/OC.aspx.vb
@@ -3527,9 +3527,14 @@ Partial Class OC_OC
'Alert(String.Format("La {0} se guardó correctamente", TipoLargo), TipoMensaje.MsgInformacion)
'Edicion
+ Dim ImprimirOC As String = ""
+ Dim Msg As New StringBuilder
+ ImprimirOC = String.Format(" Imprimir Orden de Compra ", Encripta(String.Format("OP=OC&CVEOC={0}", CveOrdenCompra)))
+
+
Dim Liga1 As String = $"document.location.href=""/OC/OC.aspx?Tipo={TipoOC}"""
Dim Liga2 As String = $"document.location.href=""/OC/RepOC.aspx"""
- Alert(String.Format("La {0} se guardó correctamente", TipoLargo), TipoMensaje.MsgDosBotones, Liga1, TextoConfirmacion:="Seguir Registrando", TextoSegundoBoton:="Ir al Reporte", JSBtn2:=Liga2)
+ Alert(String.Format("La {0} se guardó correctamente. {1}", TipoLargo, ImprimirOC), TipoMensaje.MsgDosBotones, Liga1, TextoConfirmacion:="Seguir Registrando", TextoSegundoBoton:="Ir al Reporte", JSBtn2:=Liga2)
Else
Dim ImprimirOC As String = ""
@@ -3562,6 +3567,7 @@ Partial Class OC_OC
If Conta IsNot Nothing Then Conta.RollBack()
Alert(MsgError, TipoMensaje.MsgError)
End If
+
End If