ECONO. lista de precios de prioritaria

This commit is contained in:
2023-02-10 18:18:59 -07:00
parent b2bd841faa
commit b1024883dc

View File

@@ -17643,6 +17643,11 @@ Partial Class Ventas
End If
'SI EL CLIENTE TIENE LISTA DE PRECIO DEBE TOMAR DE ESTE
If UsuarioActual.Empresa.Funcionalidad(558) = "1" AndAlso Me.CvePrecioListaCliente > 0 Then
CvePrecioListaPS = Me.CvePrecioListaCliente
End If
End If
If CvePrecioListaPS > 0 Then
@@ -36150,6 +36155,11 @@ Partial Class Ventas
If CvePrecioListaPS <= 0 Then
CvePrecioListaPS = Me.CvePrecioListaCliente 'GlobalDTCliente(UsuarioActual.CveEmpresa, Estatus:=-1, CveCliente:=CveCliente).FiltroPrimeroValor("CvePrecioLista").ToEntero()
End If
'SI EL CLIENTE TIENE LISTA DE PRECIO DEBE TOMAR DE ESTE
If UsuarioActual.Empresa.Funcionalidad(558) = "1" AndAlso Me.CvePrecioListaCliente > 0 Then
CvePrecioListaPS = Me.CvePrecioListaCliente
End If
End If
If CvePrecioListaPS > 0 Then