Example #1
0
        private void InitializeSession()
        {
            try
            {
                GroupItemManager    GIManager = new GroupItemManager();
                ItemSubGroupManager SGManager = new ItemSubGroupManager();
                ItemMasterManager   IMManager = new ItemMasterManager();
                UnitSetupManager    USManager = new UnitSetupManager();

                ItemGroupList    = new CustomList <ItemGroup>();
                ItemGroupList    = GIManager.DeptWiseItemGroup(41);
                ItemSubGroupList = new CustomList <ItemSubGroup>();
                ItemSubGroupList = SGManager.GetAllItemSubGroup();
                ItemMasterList   = new CustomList <ItemMaster>();
                ItemMasterList   = IMManager.FindAllItemMasterGroupWise();

                PODetailList  = new CustomList <PODetail>();
                UnitSetupList = new CustomList <UnitSetup>();
                UnitSetupList = USManager.GetAllUnitSetup();
                POMasterList  = new CustomList <POMaster>();
            }
            catch (Exception ex)
            {
                throw (ex);
            }
        }
Example #2
0
        protected void ddlCostCentre_SelectedIndexChanged(object sender, EventArgs e)
        {
            GroupItemManager GIManager = new GroupItemManager();

            ItemGroupList = GIManager.DeptWiseItemGroup(Convert.ToInt32(ddlCostCentre.SelectedValue));
        }