Correción de asignacion de documentos relacionados

This commit is contained in:
2019-08-19 12:57:56 -07:00
parent 54320356b3
commit 45d7c72078
2 changed files with 2 additions and 46 deletions

View File

@@ -8186,8 +8186,9 @@ Partial Class Ventas
Else
'SI LA FACTURA VIENE DE SER CANCELADA SISTEMA CUANDO SE REFACTURO NO HAY QUE RELACIONAR
If CveEstatusFacturaPadre <> 4 Then
If (CveEstatusFacturaPadre > 0 AndAlso CveEstatusFacturaPadre <> 4) OrElse (DtVentasNC IsNot Nothing AndAlso DtVentasNC.Rows.Count > 0) Then
If Obj.CveTipoRelacion > 0 Then
Select Case Obj.CveTipoRelacion
Case 1
Timbre.CFDIRelacionados.TipoRelacion = "01"