Actualizar precios mediante globaldtsimplificado
This commit is contained in:
@@ -559,7 +559,7 @@ Partial Class Ventas_ActualizarPrecios
|
|||||||
|
|
||||||
For Each Franquicia In Franquicias
|
For Each Franquicia In Franquicias
|
||||||
Dim CveFranquicia As Integer = Franquicia.ToEntero
|
Dim CveFranquicia As Integer = Franquicia.ToEntero
|
||||||
Dim CvePS As Integer = GlobalDTPS(CveFranquicia, Codigo:=Codigo.ToUpper).FiltroPrimeroValor("CvePS", "").ToEntero
|
Dim CvePS As Integer = GlobalDTPSSimplificado(CveFranquicia, Codigo:=Codigo).FiltroPrimeroValor("CvePS", "").ToEntero
|
||||||
Dim CvePrecioLisa As Integer = GlobalDTPrecioListas(CveFranquicia).FiltroPrimeroValor("CvePrecioLista", String.Format("PrecioLista = '{0}'", PrecioLista)).ToEntero
|
Dim CvePrecioLisa As Integer = GlobalDTPrecioListas(CveFranquicia).FiltroPrimeroValor("CvePrecioLista", String.Format("PrecioLista = '{0}'", PrecioLista)).ToEntero
|
||||||
|
|
||||||
If CvePS <= 0 Then
|
If CvePS <= 0 Then
|
||||||
|
|||||||
@@ -2944,7 +2944,10 @@ Partial Class ProductosyServicios
|
|||||||
Return True
|
Return True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
GlobalDTPSSimplificado(CveEmpresaFranquicia) = Nothing
|
||||||
Next
|
Next
|
||||||
|
|
||||||
Return False
|
Return False
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user