-- registrar las NC relacionadas a su cveocdetalle, para no surtir
This commit is contained in:
@@ -17820,18 +17820,18 @@ Partial Class Compras_Compras
|
|||||||
|
|
||||||
Protected Sub BtnNCInvAlmacen_Click(sender As Object, e As EventArgs)
|
Protected Sub BtnNCInvAlmacen_Click(sender As Object, e As EventArgs)
|
||||||
' se comenta RMF.2023/09/08, genera negativos en el rep recibir oc
|
' se comenta RMF.2023/09/08, genera negativos en el rep recibir oc
|
||||||
'Dim i As Integer = 0
|
Dim i As Integer = 0
|
||||||
'For Each Gvr As GridViewRow In GVNCInvAlmacen.Rows
|
For Each Gvr As GridViewRow In GVNCInvAlmacen.Rows
|
||||||
' If Gvr.FCTextBox("TxtCantidadNCInv").Text.ToDouble > 0 Then
|
If Gvr.FCTextBox("TxtCantidadNCInv").Text.ToDouble > 0 Then
|
||||||
' If i < TmpDT.Rows.Count Then
|
If i < TmpDT.Rows.Count Then
|
||||||
' TmpDT.Rows(i)("CveOrdenCompraDetalle") = Gvr.DataKey("CveOrdenCompraDetalle")
|
TmpDT.Rows(i)("CveOrdenCompraDetalle") = Gvr.DataKey("CveOrdenCompraDetalle")
|
||||||
' End If
|
End If
|
||||||
' 'If Not ObjCompras.ComprasDetalleDevolucionesAdd(Gvr.DataKey("CveCompraDetalle").ToEntero, Gvr.DataKey("CveCompra").ToEntero, Gvr.FCTextBox("TxtCantidadNCInv").Text.ToDouble, UsuarioActual.CveEmpresa) Then
|
'If Not ObjCompras.ComprasDetalleDevolucionesAdd(Gvr.DataKey("CveCompraDetalle").ToEntero, Gvr.DataKey("CveCompra").ToEntero, Gvr.FCTextBox("TxtCantidadNCInv").Text.ToDouble, UsuarioActual.CveEmpresa) Then
|
||||||
' ' TieneError = True
|
' TieneError = True
|
||||||
' ' Exit For
|
' Exit For
|
||||||
' 'End If
|
'End If
|
||||||
' End If
|
End If
|
||||||
'Next
|
Next
|
||||||
RegistraScript("$('#FacturaNC').modal('hide');", "ModalNCInv")
|
RegistraScript("$('#FacturaNC').modal('hide');", "ModalNCInv")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user