Muestra advertencia cuando no hay cliente
This commit is contained in:
@@ -10680,6 +10680,11 @@ Partial Class Ventas
|
|||||||
#Region " VISTA PREVIA NEW "
|
#Region " VISTA PREVIA NEW "
|
||||||
Private Sub VistaPreviaNew()
|
Private Sub VistaPreviaNew()
|
||||||
|
|
||||||
|
If Not CveCliente > 0 And Not CveEmpresaCRM > 0 Then
|
||||||
|
Alert("Es necesario seleccionar el cliente al cual se le va a facturar.", TipoMensaje.MsgAdvertencia, "AbrirVentana(""/Ventas/PopUpBuscarClientes.aspx?Opt=Fact"", 800, 547, ""N"", ""PopUpBuscar"")")
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
CreaObjetosVenta(True)
|
CreaObjetosVenta(True)
|
||||||
|
|
||||||
If ObjFactura Is Nothing Or ObjFactura.Cliente Is Nothing Then
|
If ObjFactura Is Nothing Or ObjFactura.Cliente Is Nothing Then
|
||||||
|
|||||||
Reference in New Issue
Block a user