--FIX error compilacion
This commit is contained in:
@@ -10619,7 +10619,7 @@ Partial Class Clientes
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
Dim ObjVentas As New ClsVentas(transaccionSQL)
|
Dim ObjVentas As New ClsVentas(transaccionSQL)
|
||||||
Dim CvePrecioListaNuevo As Integer = ObjVentas.AddPrecioLista(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, TxtPrecioLista.Text, False, 0, CvePrecioListaClonar:=CvePrecioListaClonar)
|
Dim CvePrecioListaNuevo As Integer = ObjVentas.AddPrecioLista(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, TxtPrecioLista.Text, False, False, 0, CvePrecioListaClonar:=CvePrecioListaClonar)
|
||||||
|
|
||||||
If Not CvePrecioListaNuevo > 0 Then
|
If Not CvePrecioListaNuevo > 0 Then
|
||||||
respuesta = False
|
respuesta = False
|
||||||
|
|||||||
@@ -3731,6 +3731,20 @@ Partial Class Ventas
|
|||||||
|
|
||||||
UpPS.Update()
|
UpPS.Update()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub CargaListasPreciosSubProyectos()
|
||||||
|
'If UsuarioActual.Empresa.Funcionalidad(382) = "1" AndAlso UsuarioActual.Empresa.Funcionalidad(360) = "1" Then
|
||||||
|
' DivPrecioLista.Visible = True
|
||||||
|
' Using ObjVta As New ClsVentas
|
||||||
|
' If ObjVta.GetPreciosListaSPPermitidos(DdlSubProyectoDatos.SelectedValue.ToEntero(), UsuarioActual.CveEmpresa) Then
|
||||||
|
' Dim Dt = ObjVta.DtResultados.Copy()
|
||||||
|
' DdlPrecioLista.DataSource = Dt
|
||||||
|
' DdlPrecioLista.SelectedValue = Dt.FiltroPrimeroValor("CvePrecioLista", "Predeterminada = 'True'")
|
||||||
|
' End If
|
||||||
|
' End Using
|
||||||
|
' UpPS.Update()
|
||||||
|
'End If
|
||||||
|
End Sub
|
||||||
Private Sub BloqueaClasificaciones()
|
Private Sub BloqueaClasificaciones()
|
||||||
If UsuarioActual.Empresa.Funcionalidad(558) = "1" AndAlso DdlTipoComprobante.SelectedValue = "Cot" Then
|
If UsuarioActual.Empresa.Funcionalidad(558) = "1" AndAlso DdlTipoComprobante.SelectedValue = "Cot" Then
|
||||||
DdlClasificacion.Enabled = False
|
DdlClasificacion.Enabled = False
|
||||||
@@ -18550,6 +18564,8 @@ Partial Class Ventas
|
|||||||
DdlPS.Attributes.Add("data-cvesubproyecto", DdlSubProyectoDatos.SelectedValue)
|
DdlPS.Attributes.Add("data-cvesubproyecto", DdlSubProyectoDatos.SelectedValue)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
CargaListasPreciosSubProyectos()
|
||||||
|
|
||||||
UpDetalle.Update()
|
UpDetalle.Update()
|
||||||
UpEmitirTransitorio.Update()
|
UpEmitirTransitorio.Update()
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user