-- mejora
This commit is contained in:
@@ -213,18 +213,18 @@ Partial Class Bancos_OtrosIE
|
||||
Cuenta = DRt("ConceptoContable").ToString
|
||||
|
||||
'SACO LA CLAVE DE LA CUENTA BANCARIA SELECCIONADO
|
||||
If DdlCuenta.SelectedValue.ToEntero > 0 And DRt("CveConcepto").ToString = "30" Then 'DTCuentasContables
|
||||
' Dim DRr As DataRow = DTCuentasContables.FiltroPrimero(String.Format("Id={0}", IdCuentaBancos(DdlCuenta.SelectedValue.ToEntero)))
|
||||
If DRr IsNot Nothing Then
|
||||
CodigoCuenta = DRr("CuentaFormato").ToString()
|
||||
EsComodin = 1
|
||||
Else
|
||||
Alert("La Cuenta Bancaria no se ha vinculado a la cuenta contable", TipoMensaje.MsgAdvertencia)
|
||||
GvMov.DataBind()
|
||||
UPMovs.Update()
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
'If DdlCuenta.SelectedValue.ToEntero > 0 And DRt("CveConcepto").ToString = "30" Then 'DTCuentasContables
|
||||
'Dim DRr As DataRow = DTCuentasContables.FiltroPrimero(String.Format("Id={0}", IdCuentaBancos(DdlCuenta.SelectedValue.ToEntero)))
|
||||
'If DRr IsNot Nothing Then
|
||||
' CodigoCuenta = DRr("CuentaFormato").ToString()
|
||||
' EsComodin = 1
|
||||
'Else
|
||||
' Alert("La Cuenta Bancaria no se ha vinculado a la cuenta contable", TipoMensaje.MsgAdvertencia)
|
||||
' GvMov.DataBind()
|
||||
' UPMovs.Update()
|
||||
' Exit Sub
|
||||
' End If
|
||||
'End If
|
||||
|
||||
Dim DR As DataRow = DTMovimientos.NewRow
|
||||
DR("IdCuenta") = 0
|
||||
|
||||
Reference in New Issue
Block a user