Exemplo n.º 1
0
        private void Cargar_combos()
        {
            try
            {
                in_Ing_Egr_Inven_estado_apro_Bus         busEstado = new in_Ing_Egr_Inven_estado_apro_Bus();
                List <in_Ing_Egr_Inven_estado_apro_Info> lstEstado = new List <in_Ing_Egr_Inven_estado_apro_Info>();
                lstEstado = busEstado.Get_List_Ing_Egr_Inven_estado_apro();
                cmbEstadoAproba_Egre.Properties.DataSource = lstEstado;
                cmbEstadoAproba_Ingr.Properties.DataSource = lstEstado;

                cmb_tipo_movi_inven_anu_egr.cargar_TipoMotivo(0, 0, "+", "");
                cmb_tipo_movi_inven_anu_ing.cargar_TipoMotivo(0, 0, "-", "");
                cmb_tipo_movi_inven_x_transf_egr.cargar_TipoMotivo(0, 0, "-", "");
                cmb_tipo_movi_inven_x_transf_ing.cargar_TipoMotivo(0, 0, "+", "");
                cmb_tipo_movi_inven_ing_x_ajus_fisico.cargar_TipoMotivo(0, 0, "+", "");
                cmb_tipo_movi_inven_egr_x_ajus_fisico.cargar_TipoMotivo(0, 0, "-", "");
                cmb_tipo_movi_inven_ing_x_ajus.cargar_TipoMotivo(0, 0, "+", "");
                cmb_tipo_movi_inven_egr_x_ajus.cargar_TipoMotivo(0, 0, "-", "");

                cmb_dev_inven_x_ing.cargar_TipoMotivo(0, 0, "-", "");
                cmb_dev_inven_x_egr.cargar_TipoMotivo(0, 0, "+", "");

                cmb_catalogo_Fecha_conta.cargar_Catalogos(4);
                cmb_PlanCta.cargar_PlanCta();
                //cmb_al_conta_cta_inv_buscar_en.cargar_Catalogos(6);
                //cmb_al_conta_cta_costo_buscar_en.cargar_Catalogos(6);
            }
            catch (Exception ex)
            {
                Log_Error_bus.Log_Error(ex.ToString());
                MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Exemplo n.º 2
0
 void CargarCombo()
 {
     try
     {
         lstInfoAproEstado = new List <in_Ing_Egr_Inven_estado_apro_Info>();
         lstInfoAproEstado = busAproEstado.Get_List_Ing_Egr_Inven_estado_apro();
         cmbEstadoAproba.Properties.DataSource = lstInfoAproEstado;
     }
     catch (Exception ex)
     {
         Log_Error_bus.Log_Error(ex.ToString());
         MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Exemplo n.º 3
0
        void carga_combo()
        {
            try
            {
                lstEstadoApro = busEstado.Get_List_Ing_Egr_Inven_estado_apro();
                cmbEstadoAproba.DataSource = lstEstadoApro;

                lst_punto_cargo            = bus_punto_cargo.Get_List_PuntoCargo(param.IdEmpresa);
                cmb_punto_cargo.DataSource = lst_punto_cargo;
            }
            catch (Exception ex)
            {
                Log_Error_bus.Log_Error(ex.ToString());
                MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Exemplo n.º 4
0
        public void CargarCombo()
        {
            try
            {
                Info_Patam_x_Inv = new in_Parametro_Info();
                Info_Patam_x_Inv = busInfo.Get_Info_Parametro(param.IdEmpresa);

                lstestado_apro = new List <in_Ing_Egr_Inven_estado_apro_Info>();
                lstestado_apro = UniB.Get_List_Ing_Egr_Inven_estado_apro();
                cmbEstado_Apro_x_ing_Egr_Inven.Properties.DataSource = lstestado_apro;
                cmbEstado_Apro_x_ing_Egr_Inven.EditValue             = Info_Patam_x_Inv.IdEstadoAproba_x_Ing;
            }
            catch (Exception ex)
            {
                string NameMetodo = System.Reflection.MethodBase.GetCurrentMethod().Name;
                MessageBox.Show(NameMetodo + " - " + ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                Log_Error_bus.Log_Error(NameMetodo + " - " + ex.ToString());
            }
        }