--Temporal. No generar salida en factura global
This commit is contained in:
@@ -4318,6 +4318,13 @@ Namespace Modelos
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
'TEMPORAL. PARA OPTIMIZAR LOS TIEMPOS PARA LA GENERACION DE LA FACTURA GLOBAL
|
||||
If factura.EsFacturaGlobal Then
|
||||
If Not ObjInventario.ActualizarEsDevolucionVenta(factura.CveVenta, 2) Then
|
||||
OcurrioError = True
|
||||
End If
|
||||
Else
|
||||
If RemisionesLista IsNot Nothing AndAlso factura.TipoDocto = "Ing" AndAlso RemisionesLista.Count > 0 Then
|
||||
For Each CveRemision As Integer In RemisionesLista
|
||||
'El almacen general es el Primer Almacen de Material en la Sucursal
|
||||
@@ -4327,6 +4334,7 @@ Namespace Modelos
|
||||
End If
|
||||
Next
|
||||
End If
|
||||
End If
|
||||
|
||||
If factura.TipoDocto = "Rem" AndAlso factura.ServicioDomicilio Then
|
||||
'debe de hacerse un traspaso entre almacenes, no contabilizable. .RMF pdte
|
||||
|
||||
Reference in New Issue
Block a user