-- se quitaron propiedades de empresa
idcuenta, perdida,ganancia,ieps,iva -- se quitó globaldtclasificación porcentaje
This commit is contained in:
@@ -888,7 +888,6 @@ Partial Class Ventas_PortalCliente
|
||||
importeMX = importeMX.RoundSQL()
|
||||
TCGeneral = TCVenta
|
||||
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaIVAxTrasladar
|
||||
If TCVenta > 1 Then ConceptoMovimiento += $" TC:{TCVenta} ${ImporteMovimiento.FormatoNumero(2)}"
|
||||
|
||||
Case 61 'IVA TRASLADADO
|
||||
@@ -905,7 +904,6 @@ Partial Class Ventas_PortalCliente
|
||||
importeMX = importeMX.RoundSQL()
|
||||
TCGeneral = TCFluctuacion
|
||||
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaIVATrasladado
|
||||
If TCFluctuacion > 1 Then ConceptoMovimiento += $" TC:{TCFluctuacion} ${ImporteMovimiento.FormatoNumero(2)}"
|
||||
|
||||
Case 8 'RETIVA X TRASLADAR
|
||||
@@ -1024,7 +1022,6 @@ Partial Class Ventas_PortalCliente
|
||||
importeMX = importeMX.RoundSQL()
|
||||
TCGeneral = TCVenta
|
||||
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaIEPSxTrasladar
|
||||
If TCVenta > 1 Then ConceptoMovimiento += $" TC:{TCVenta} ${ImporteMovimiento.FormatoNumero(2)}"
|
||||
|
||||
Case 39 'IEPS TRASLADADO
|
||||
@@ -1041,13 +1038,11 @@ Partial Class Ventas_PortalCliente
|
||||
importeMX = importeMX.RoundSQL()
|
||||
TCGeneral = TCFluctuacion
|
||||
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaIEPSTrasladado
|
||||
If TCFluctuacion > 1 Then ConceptoMovimiento += $" TC:{TCFluctuacion} ${ImporteMovimiento.FormatoNumero(2)}"
|
||||
|
||||
Case 64 'GANANCIA
|
||||
Continue For 'SKIPEA
|
||||
If CveMonedaVenta <> 1 Then
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaGananciaCambiaria
|
||||
If TCPago > TCVenta AndAlso CveMonedaVenta = 2 Then
|
||||
ImporteMovimiento = (ImportePago * TCPago) - (ImportePago * TCVenta)
|
||||
ImporteMovimiento -= ((IVAVenta * PorcentajePago) * TCFluctuacion) - ((IVAVenta * PorcentajePago) * TCVenta)
|
||||
@@ -1062,7 +1057,6 @@ Partial Class Ventas_PortalCliente
|
||||
Case 65 'PERDIDA
|
||||
Continue For 'SKIPEA
|
||||
If CveMonedaVenta <> 1 Then
|
||||
IdCtaContable = UsuarioActual.Empresa.IdCuentaPerdidaCambiaria
|
||||
If TCPago < TCVenta AndAlso CveMonedaVenta = 2 Then
|
||||
ImporteMovimiento = (ImportePago * TCPago) - (ImportePago * TCVenta)
|
||||
ImporteMovimiento -= ((IVAVenta * PorcentajePago) * TCFluctuacion) - ((IVAVenta * PorcentajePago) * TCVenta)
|
||||
|
||||
Reference in New Issue
Block a user