GlobalDTOCEstatusUsuarios, GlobalDTBancosCuentas, OC anticpos
This commit is contained in:
@@ -124,8 +124,8 @@ public partial class Bancos_PrestamoPersonal : ClsPaginas
|
||||
|
||||
protected void CargaCuentas()
|
||||
{
|
||||
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();
|
||||
@@ -156,7 +156,7 @@ public partial class Bancos_PrestamoPersonal : ClsPaginas
|
||||
#region "PAGO ACREEDORES"
|
||||
protected void DdlCuenta_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
DataRow dr = get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimero(String.Format("CveCuenta = {0}", DdlCuenta.SelectedValue));
|
||||
DataRow dr = get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimero(String.Format("CveCuenta = {0}", DdlCuenta.SelectedValue));
|
||||
int tCveMoneda = 0;
|
||||
if (dr != null)
|
||||
{
|
||||
@@ -229,7 +229,7 @@ public partial class Bancos_PrestamoPersonal : ClsPaginas
|
||||
int CveConceptoContablePrestamoComplementario = 202;
|
||||
int CvePlantillaPoliza = 21;
|
||||
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;
|
||||
StringBuilder Msg = new StringBuilder();
|
||||
@@ -456,7 +456,7 @@ public partial class Bancos_PrestamoPersonal : ClsPaginas
|
||||
#region "PRESTAMO ACREEDORES"
|
||||
protected void DdlCuentaPrestamo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
DataRow dr = get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimero(String.Format("CveCuenta = {0}", DdlCuentaPrestamo.SelectedValue));
|
||||
DataRow dr = get_GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimero(String.Format("CveCuenta = {0}", DdlCuentaPrestamo.SelectedValue));
|
||||
int tCveMoneda = 0;
|
||||
if (dr != null)
|
||||
{
|
||||
@@ -520,7 +520,7 @@ public partial class Bancos_PrestamoPersonal : ClsPaginas
|
||||
int CveConceptoContablePrestamoComplementario = 202;
|
||||
int CvePlantillaPoliza = 8;
|
||||
int CvePrePoliza = 0;
|
||||
int CveMoneda = get_GlobalDTBancosCuentas(-1).FiltroPrimeroValor("CveMoneda", $"CveEmpresa = {UsuarioActual.CveEmpresa} AND CveCuenta = {DdlCuentaPrestamo.SelectedValue.ToEntero()}").ToEntero();
|
||||
int CveMoneda = get_GlobalDTBancosCuentas(-1, CveEmpresa: UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveMoneda", $"CveEmpresa = {UsuarioActual.CveEmpresa} AND CveCuenta = {DdlCuentaPrestamo.SelectedValue.ToEntero()}").ToEntero();
|
||||
int FolioFijo = 0;
|
||||
int IDPoliza = 0;
|
||||
StringBuilder Msg = new StringBuilder();
|
||||
|
||||
Reference in New Issue
Block a user