GlobalDTOCEstatusUsuarios, GlobalDTBancosCuentas, OC anticpos
This commit is contained in:
@@ -213,8 +213,8 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
DdlCuenta.Items.Clear();
|
||||
DdlCuentaPrestamo.Items.Clear();
|
||||
|
||||
DdlCuenta.DataSource = get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltraParametros("CveTipoCuenta <> 1"); //quito las cajas chicas
|
||||
DdlCuentaPrestamo.DataSource = get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltraParametros("CveTipoCuenta <> 1");
|
||||
DdlCuenta.DataSource = get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa: UsuarioActual.CveEmpresa).FiltraParametros("CveTipoCuenta <> 1"); //quito las cajas chicas
|
||||
DdlCuentaPrestamo.DataSource = get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa: UsuarioActual.CveEmpresa).FiltraParametros("CveTipoCuenta <> 1");
|
||||
|
||||
DdlCuenta.DataBind();
|
||||
DdlCuentaPrestamo.DataBind();
|
||||
@@ -264,8 +264,8 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
protected void DdlCuentaPrestamo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
int idcuenta, idcuentaComp;
|
||||
Int32.TryParse(get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimeroValor("IdCtaContable", String.Format("CveCuenta = {0}", DdlCuentaPrestamo.SelectedValue)), out idcuenta);
|
||||
Int32.TryParse(get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimeroValor("IdCtaContableComplementaria", String.Format("CveCuenta = {0}", DdlCuentaPrestamo.SelectedValue)), out idcuentaComp);
|
||||
Int32.TryParse(get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimeroValor("IdCtaContable", String.Format("CveCuenta = {0}", DdlCuentaPrestamo.SelectedValue)), out idcuenta);
|
||||
Int32.TryParse(get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimeroValor("IdCtaContableComplementaria", String.Format("CveCuenta = {0}", DdlCuentaPrestamo.SelectedValue)), out idcuentaComp);
|
||||
IDCtaContableBancosPrestamo = idcuenta;
|
||||
IDCtaContableBancosComplementariaPrestamo = idcuentaComp;
|
||||
|
||||
@@ -276,7 +276,7 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
TxtFolioPrestamo.Text = Folio.ToString();
|
||||
|
||||
|
||||
CveMonedaPrestamo = get_GlobalDTBancosCuentas(-1).FiltroPrimeroValor("CveMoneda", $"CveEmpresa = {UsuarioActual.CveEmpresa} AND CveCuenta = {DdlCuentaPrestamo.SelectedValue.ToEntero()}").ToEntero();
|
||||
CveMonedaPrestamo = get_GlobalDTBancosCuentas(-1, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveMoneda", $"CveEmpresa = {UsuarioActual.CveEmpresa} AND CveCuenta = {DdlCuentaPrestamo.SelectedValue.ToEntero()}").ToEntero();
|
||||
|
||||
if (CveMonedaPrestamo == 2)
|
||||
{
|
||||
@@ -551,8 +551,8 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
protected void DdlCuenta_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
int idcuenta, idcuentacomplementaria;
|
||||
Int32.TryParse(get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimeroValor("IdCtaContable", String.Format("CveCuenta = {0}", DdlCuenta.SelectedValue)), out idcuenta);
|
||||
Int32.TryParse(get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimeroValor("IdCtaContableComplementaria", String.Format("CveCuenta = {0}", DdlCuenta.SelectedValue)), out idcuentacomplementaria);
|
||||
Int32.TryParse(get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimeroValor("IdCtaContable", String.Format("CveCuenta = {0}", DdlCuenta.SelectedValue)), out idcuenta);
|
||||
Int32.TryParse(get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimeroValor("IdCtaContableComplementaria", String.Format("CveCuenta = {0}", DdlCuenta.SelectedValue)), out idcuentacomplementaria);
|
||||
IDCtaContableBancos = idcuenta;
|
||||
IDCtaContableBancosComplementario = idcuentacomplementaria;
|
||||
|
||||
@@ -562,7 +562,7 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
bancos.Dispose();
|
||||
TxtFolio.Text = Folio.ToString();
|
||||
|
||||
int CveMoneda = get_GlobalDTBancosCuentas(-1).FiltroPrimeroValor("CveMoneda", $"CveEmpresa = {UsuarioActual.CveEmpresa} AND CveCuenta = {DdlCuenta.SelectedValue.ToEntero()}").ToEntero();
|
||||
int CveMoneda = get_GlobalDTBancosCuentas(-1, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveMoneda", $"CveEmpresa = {UsuarioActual.CveEmpresa} AND CveCuenta = {DdlCuenta.SelectedValue.ToEntero()}").ToEntero();
|
||||
HdnMonPago.Value = CveMoneda.ToString();
|
||||
if (CveMoneda == 2)
|
||||
{
|
||||
@@ -653,7 +653,7 @@ public partial class Bancos_PagoDeudor : ClsPaginas
|
||||
int CveConceptoContablePagoComplementaria = 256;
|
||||
int CvePlantillaPoliza = 39;
|
||||
int CvePrePoliza = 0;
|
||||
int CveMoneda = get_GlobalDTBancosCuentas(-1).FiltroPrimeroValor("CveMoneda", $"CveEmpresa = {UsuarioActual.CveEmpresa} AND CveCuenta = {DdlCuenta.SelectedValue.ToEntero()}").ToEntero();
|
||||
int CveMoneda = get_GlobalDTBancosCuentas(-1, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveMoneda", $"CveEmpresa = {UsuarioActual.CveEmpresa} AND CveCuenta = {DdlCuenta.SelectedValue.ToEntero()}").ToEntero();
|
||||
int FolioFijo = 0;
|
||||
int IDPoliza = 0;
|
||||
decimal tipoCambio = (TxtTCDolaresPago.Visible == true) ? TxtTCDolaresPago.Text.ToDecimal() : 1;
|
||||
|
||||
Reference in New Issue
Block a user