-- al cancelar una venta en dolares, que tome la cuenta correspondiente
This commit is contained in:
@@ -2197,6 +2197,7 @@ Namespace Modelos
|
|||||||
Dim ImporteAcumulado91 As Decimal = 0
|
Dim ImporteAcumulado91 As Decimal = 0
|
||||||
Dim CveUltimaVenta As Integer = 0
|
Dim CveUltimaVenta As Integer = 0
|
||||||
If tipoCambio > 1 Then Concepto += $" TC:{tipoCambio} ${importeMovimiento.FormatoNumero(2)}"
|
If tipoCambio > 1 Then Concepto += $" TC:{tipoCambio} ${importeMovimiento.FormatoNumero(2)}"
|
||||||
|
IdCtaContable = 0
|
||||||
If tipoCambio = 1 Then
|
If tipoCambio = 1 Then
|
||||||
IdCtaContable = ObjFactura.Cliente.IdCtaContClientes
|
IdCtaContable = ObjFactura.Cliente.IdCtaContClientes
|
||||||
CveCuenta = ObjFactura.Cliente.CveCuentaClientes
|
CveCuenta = ObjFactura.Cliente.CveCuentaClientes
|
||||||
@@ -2600,8 +2601,12 @@ Namespace Modelos
|
|||||||
'CTACONTABLE
|
'CTACONTABLE
|
||||||
'IdCtaContable = IdCtaContAnticipos
|
'IdCtaContable = IdCtaContAnticipos
|
||||||
'CveCuenta = CveCuentaAnticipos
|
'CveCuenta = CveCuentaAnticipos
|
||||||
|
|
||||||
|
If tipoCambio = 1 Then
|
||||||
IdCtaContable = ObjFactura.Cliente.IdCtaContClientes
|
IdCtaContable = ObjFactura.Cliente.IdCtaContClientes
|
||||||
CveCuenta = ObjFactura.Cliente.CveCuentaClientes
|
Else
|
||||||
|
IdCtaContable = ObjFactura.Cliente.IdCtaContMonedaExtranjera
|
||||||
|
End If
|
||||||
|
|
||||||
CveSubProyectoContabilizar = CveSubProyectoVenta
|
CveSubProyectoContabilizar = CveSubProyectoVenta
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user