Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -690,7 +690,7 @@ Partial Class Bancos_PopIEVentas
|
|||||||
If Not UsuarioActual.Empresa.Funcionalidad(529) = "1" Then
|
If Not UsuarioActual.Empresa.Funcionalidad(529) = "1" Then
|
||||||
|
|
||||||
|
|
||||||
Dim Valida As New ClsValidaCFDi(dr("FolioFiscal").ToString(), dr("ClienteRFC").ToString, UsuarioActual.Empresa.RFC)
|
Dim Valida As New ClsValidaCFDi(dr("FolioFiscal").ToString(), UsuarioActual.Empresa.RFC, dr("ClienteRFC").ToString, dr("Total").ToString.ToDecimal)
|
||||||
|
|
||||||
If Valida.EsValida > 0 Then
|
If Valida.EsValida > 0 Then
|
||||||
If Valida.EsValida = 2 Then
|
If Valida.EsValida = 2 Then
|
||||||
@@ -715,7 +715,7 @@ Partial Class Bancos_PopIEVentas
|
|||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
'no se pudo validar, pero ya tuvo la primera vuelta de validacion
|
'no se pudo validar, pero ya tuvo la primera vuelta de validacion
|
||||||
Validada = True
|
Validada = False
|
||||||
End If
|
End If
|
||||||
Valida.Dispose()
|
Valida.Dispose()
|
||||||
Else
|
Else
|
||||||
|
|||||||
@@ -1398,7 +1398,7 @@ Partial Class General_SaldosIniciales
|
|||||||
|
|
||||||
|
|
||||||
'If Not CveCliente > 0 Then Alert(String.Format("No se encontró el cliente con el RFC: {0}", {RFC}), TipoMensaje.MsgError) : ErrorVentas = True : RFC.GuardaLog : Exit For
|
'If Not CveCliente > 0 Then Alert(String.Format("No se encontró el cliente con el RFC: {0}", {RFC}), TipoMensaje.MsgError) : ErrorVentas = True : RFC.GuardaLog : Exit For
|
||||||
TipoDocto = IIf(TipoDocto = "INGRESO", "Ing", IIf(TipoDocto = "EGRESO", "Egs", "Rem")).ToString
|
TipoDocto = IIf(TipoDocto.Contiene("INGRESO", "INGRESOS"), "Ing", IIf(TipoDocto = "EGRESO", "Egs", "Rem")).ToString
|
||||||
'PrePóliza
|
'PrePóliza
|
||||||
Dim CvePrePoliza As Integer = ObjConta.AddPrePolizas("Venta/SaldoInicial", 1, Total, Total, 1, Fecha, String.Format("{0}-{1}", Serie, Folio), UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
Dim CvePrePoliza As Integer = ObjConta.AddPrePolizas("Venta/SaldoInicial", 1, Total, Total, 1, Fecha, String.Format("{0}-{1}", Serie, Folio), UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||||
|
|
||||||
@@ -1410,9 +1410,9 @@ Partial Class General_SaldosIniciales
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
'Moneda
|
'Moneda
|
||||||
If Moneda = "Pesos" Then
|
If Moneda.ToUpper.Contiene("PESOS", "PESO", "MN") Then
|
||||||
CveMoneda = 1
|
CveMoneda = 1
|
||||||
ElseIf Moneda = "Dólares" Then
|
ElseIf Moneda.ToUpper.Contiene("DÓLARES", "DOLARES", "USD") Then
|
||||||
CveMoneda = 2
|
CveMoneda = 2
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user