- cvesubproyecto en concepto de bancos

This commit is contained in:
2023-02-01 00:19:32 -07:00
parent ad8f61d2ab
commit d3cf589cbe

View File

@@ -267,6 +267,16 @@ Partial Class Bancos_DepositosCaja
FolioIE = ObjBancos.GetNextFolio(DdlCuentaDeposito.SelectedValue.ToEntero, CveTransaccionBanco)
End If
If CveSubProyecto <= 0 Then 'sino se seleccionó del combo, busca en el listado el primero
For Each Gvr As GridViewRow In GvFacturas.Rows
If Gvr.FCCheckBox("ChkFactura").Checked Then
CveSubProyecto = Gvr.DataKey("CveSubProyecto").ToEntero
Exit For
End If
Next
End If
If FolioIE <= 0 Then
OcurrioError = True
End If