Ajustes Formato traslado angeles SMS
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -2098,18 +2098,22 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
Dim ValidaSalidaCompleta As Boolean = Not (EsDevolucionVenta = 1 And TipoDocto.Contiene("Rem", "Ped"))
|
||||
'LIMITAR EL NUMERO DE PARTIDAS QUE SE PUEDEN ENTREGAR
|
||||
If UsuarioActual.Empresa.Funcionalidad(578) = "1" Then
|
||||
|
||||
'SI EL CLIENTE ES OPERADORA DE HOSPITALES ANGELES SOLO SE PUEDEN RECIBIR MAXIMO 5
|
||||
If CveCliente = 819998 And Not EsDevolucionVenta = 1 Then
|
||||
If NumRegistros > 5 Then
|
||||
Alert("Solo se pueden recibir máximo 5 partidas.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
Else
|
||||
If NumRegistros > 10 Then
|
||||
Alert("Solo se pueden recibir máximo 10 partidas.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
If Not EsDevolucionVenta = 1 Then
|
||||
If CveCliente = 819998 Then
|
||||
If NumRegistros > 9 Then
|
||||
Alert("Solo se pueden recibir máximo 8 partidas.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
Else
|
||||
If NumRegistros > 10 Then
|
||||
Alert("Solo se pueden recibir máximo 10 partidas.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
ValidaSalidaCompleta = False
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user