funcionalidad 128,. corrección
This commit is contained in:
@@ -1355,7 +1355,7 @@ Partial Class Compras_Compras
|
|||||||
GvInv.Visible = True
|
GvInv.Visible = True
|
||||||
CargaProveedor(-1, RFC)
|
CargaProveedor(-1, RFC)
|
||||||
|
|
||||||
If Not DdlTipoComprobante.SelectedValue = "NC" Then
|
If Not DdlTipoComprobante.SelectedValue.Contiene("NC", "DEV") Then
|
||||||
If UsuarioActual.Empresa.Funcionalidad(128) = "1" And Not UsuarioActual.TienePermisoProceso(213) Then
|
If UsuarioActual.Empresa.Funcionalidad(128) = "1" And Not UsuarioActual.TienePermisoProceso(213) Then
|
||||||
If TmpDT.MAX("CvePS").ToEntero > 0 Then
|
If TmpDT.MAX("CvePS").ToEntero > 0 Then
|
||||||
BtnGuardar.Enabled = False
|
BtnGuardar.Enabled = False
|
||||||
@@ -4060,9 +4060,10 @@ Partial Class Compras_Compras
|
|||||||
' DtNoEncontrados.Dispose()
|
' DtNoEncontrados.Dispose()
|
||||||
'End If
|
'End If
|
||||||
|
|
||||||
'Verifica funcionalidad 702 "Require orden de compra para factura de compra"
|
'Verifica funcionalidad 128 "Require orden de compra para factura de compra"
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(128) <> "" Then
|
If Not DdlTipoComprobante.SelectedValue.Contiene("NC", "DEV") Then
|
||||||
|
If UsuarioActual.Empresa.Funcionalidad(128) = "1" And Not UsuarioActual.TienePermisoProceso(213) Then
|
||||||
If Not EstaAsociadoACajaChica And Not EstaAsociadoAPersonal Then
|
If Not EstaAsociadoACajaChica And Not EstaAsociadoAPersonal Then
|
||||||
If Not CompraEstaVinculadaOC Then
|
If Not CompraEstaVinculadaOC Then
|
||||||
Alert("Debe de vincular una orden de compra para registrar la factura")
|
Alert("Debe de vincular una orden de compra para registrar la factura")
|
||||||
@@ -4070,6 +4071,7 @@ Partial Class Compras_Compras
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
'Si se marcó No Deducible en el encabezado mínimo se debe registrar un No Deducible en el Detalle
|
'Si se marcó No Deducible en el encabezado mínimo se debe registrar un No Deducible en el Detalle
|
||||||
Dim GuardaNoDeducibles As Boolean = False
|
Dim GuardaNoDeducibles As Boolean = False
|
||||||
|
|||||||
Reference in New Issue
Block a user