-- que si se hacen cargas de partidas manuales, permita registrar en cero
This commit is contained in:
@@ -999,7 +999,7 @@ Partial Class ContabilidadC_RegPrePolizaS
|
|||||||
'End If
|
'End If
|
||||||
|
|
||||||
'Registra movimieno bancario
|
'Registra movimieno bancario
|
||||||
If gvr.DataKey("CveConceptoContable").ToEntero = 30 AndAlso gvr.DataKey("ContadoImporte").ToDecimal <> 0 Then
|
If gvr.DataKey("CveConceptoContable").ToEntero = 30 AndAlso (gvr.DataKey("ContadoImporte").ToDecimal <> 0 OrElse TipoGrid = 1) Then
|
||||||
|
|
||||||
CveIE = ObjIE.AddBancos_IE(gvr.DataKey("ContadoCuenta").ToEntero, gvr.DataKey("ContadoTipoTransaccion").ToEntero, TxtFechaDocumento.Text, gvr.DataKey("ContadoNumeroFolio"),
|
CveIE = ObjIE.AddBancos_IE(gvr.DataKey("ContadoCuenta").ToEntero, gvr.DataKey("ContadoTipoTransaccion").ToEntero, TxtFechaDocumento.Text, gvr.DataKey("ContadoNumeroFolio"),
|
||||||
gvr.DataKey("ContadoBeneficiario"), gvr.DataKey("ContadoImporte").ToDecimal, CveMoneda, 0, gvr.DataKey("ContadoObservaciones"), "",
|
gvr.DataKey("ContadoBeneficiario"), gvr.DataKey("ContadoImporte").ToDecimal, CveMoneda, 0, gvr.DataKey("ContadoObservaciones"), "",
|
||||||
@@ -1063,7 +1063,7 @@ Partial Class ContabilidadC_RegPrePolizaS
|
|||||||
If idCuentaContabilizacion = 1 AndAlso (IdCtaContable = 0) Then
|
If idCuentaContabilizacion = 1 AndAlso (IdCtaContable = 0) Then
|
||||||
idCuentaContabilizacion = 0
|
idCuentaContabilizacion = 0
|
||||||
End If
|
End If
|
||||||
If Importe <> 0 Then
|
If Importe <> 0 OrElse TipoGrid = 1 Then 'si es diferente de cero o si viene de grid prepolizas, que registre todo
|
||||||
Dim tCveCuenta As Integer = gvr.DataKey("CveCuenta").ToEntero
|
Dim tCveCuenta As Integer = gvr.DataKey("CveCuenta").ToEntero
|
||||||
Dim tReferencia, tConcepto As String
|
Dim tReferencia, tConcepto As String
|
||||||
Dim tCveSubProyecto, tCveTipoGasto As Integer
|
Dim tCveSubProyecto, tCveTipoGasto As Integer
|
||||||
|
|||||||
Reference in New Issue
Block a user