-- se quitaron propiedades de empresa
idcuenta, perdida,ganancia,ieps,iva -- se quitó globaldtclasificación porcentaje
This commit is contained in:
@@ -5907,10 +5907,10 @@ Partial Class Compras_Compras
|
||||
' Dim IdCtaIVAAcreditable As Integer = 0
|
||||
Dim GuardoConcepto18 As Boolean = False
|
||||
|
||||
If GlobalDTClasificacionPorcentaje(UsuarioActual.CveEmpresa, PorcentajeIVA:=PorcentajeIVA).Rows.Count > 0 Then
|
||||
IdCtaIVAXAcreditar = GlobalDTClasificacionPorcentaje(UsuarioActual.CveEmpresa, PorcentajeIVA:=PorcentajeIVA).Rows(0)("IdCtaIVAXAcreditar").ToString.ToEntero
|
||||
' IdCtaIVAAcreditable = GlobalDTClasificacionPorcentaje(UsuarioActual.CveEmpresa, PorcentajeIVA:=PorcentajeIVA).Rows(0)("IdCtaIVAAcreditable").ToString.ToEntero
|
||||
End If
|
||||
'If GlobalDTClasificacionPorcentaje(UsuarioActual.CveEmpresa, PorcentajeIVA:=PorcentajeIVA).Rows.Count > 0 Then
|
||||
' IdCtaIVAXAcreditar = GlobalDTClasificacionPorcentaje(UsuarioActual.CveEmpresa, PorcentajeIVA:=PorcentajeIVA).Rows(0)("IdCtaIVAXAcreditar").ToString.ToEntero
|
||||
' ' IdCtaIVAAcreditable = GlobalDTClasificacionPorcentaje(UsuarioActual.CveEmpresa, PorcentajeIVA:=PorcentajeIVA).Rows(0)("IdCtaIVAAcreditable").ToString.ToEntero
|
||||
'End If
|
||||
|
||||
'********************** Variables '**********************
|
||||
|
||||
@@ -6362,11 +6362,9 @@ Partial Class Compras_Compras
|
||||
|
||||
If TipoCambioCompra > TCPago Then
|
||||
ConceptoContable = 64
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaGananciaCambiaria
|
||||
TipoMovimiento = True
|
||||
Else
|
||||
ConceptoContable = 65
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaPerdidaCambiaria
|
||||
TipoMovimiento = False
|
||||
End If
|
||||
If TCPago <> TipoCambioCompra Then
|
||||
@@ -6827,10 +6825,8 @@ Partial Class Compras_Compras
|
||||
|
||||
If diferenciaTransito <> 0 Then
|
||||
Dim tCveCon As Integer = 65
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaPerdidaCambiaria
|
||||
If diferenciaTransito < 0 Then
|
||||
tCveCon = 64
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaGananciaCambiaria
|
||||
End If
|
||||
diferenciaTransito = Math.Abs(diferenciaTransito)
|
||||
|
||||
@@ -7367,11 +7363,9 @@ Partial Class Compras_Compras
|
||||
If importeMovimiento > 0 Then
|
||||
ConceptoContable = 64
|
||||
TipoMovimiento = True
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaGananciaCambiaria
|
||||
ElseIf importeMovimiento < 0 Then
|
||||
ConceptoContable = 65
|
||||
TipoMovimiento = False
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaPerdidaCambiaria
|
||||
End If
|
||||
|
||||
importeMovimiento = importeMovimiento.Abs.RoundSQL()
|
||||
|
||||
@@ -181,11 +181,9 @@ Partial Class Compras_RepNotasCredito
|
||||
If difFluctuacion < 0 Then
|
||||
CveConceptoFluctua = 65
|
||||
TipoMovtoFluctua = False
|
||||
IdCtaContableFluctua = UsuarioActual.Empresa.IdCuentaPerdidaCambiaria
|
||||
Else
|
||||
CveConceptoFluctua = 64
|
||||
TipoMovtoFluctua = True
|
||||
IdCtaContableFluctua = UsuarioActual.Empresa.IdCuentaGananciaCambiaria
|
||||
End If
|
||||
Dim ImporteFluctuacion As Decimal = Math.Abs((Importe * difFluctuacion).RoundSQL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user