protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { return; } var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.WHCType), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextLocation), new KeyValuePairItem(Constants.masterType, Constants.TableAccounts) }; _genericClass.LoadDropDown(ddlRequestorLocation, filter, null, UserContext.DataBaseInfo); filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.WHCType), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextLocation), new KeyValuePairItem(Constants.masterType, Constants.TableAccounts) }; _genericClass.LoadDropDown(ddlBillLocation, filter, null, UserContext.DataBaseInfo); fillCustomerDealer(); }
private KeyValuePairItems GetConfigurations() { var configurations = new KeyValuePairItems { new KeyValuePairItem("ORDERTYPE", ORDERTYPE), new KeyValuePairItem("LOCATION", LOCATION), new KeyValuePairItem("FR", FR), new KeyValuePairItem("FROMDATE", FROMDATE), new KeyValuePairItem("TODATE", TODATE) }; if (txtFromDate.Text.Trim() == string.Empty || txtToDate.Text.Trim() == string.Empty) { var configuration = configurations.Where(x => x.Key == "FROMDATE"); if (configuration.Any()) { configuration.FirstOrDefault().Value = string.Empty; } configuration = configurations.Where(x => x.Key == "TODATE"); if (configuration.Any()) { configuration.FirstOrDefault().Value = string.Empty; } } return(configurations); }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { return; } this.ValidatePage(UserContext, QueryStringManagement.GetValue(Constants.MenuCodeQsKey, Guid.Empty.ToString())); SetPageProperties(); var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.DvTeam), new KeyValuePairItem(Constants.masterType, Constants.DdlWFComponents) }; Teams = _genericClass.LoadList(filter, null, UserContext.DataBaseInfo); if (UserContext.UserProfile.Designation.Id.Trim() == Constants.AdminDesignationId) { IsEnableAddButton = true; } else { IsEnableAddButton = false; } BindData(BindType.List); }
protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["Stage"] != null) { TransactionStageControlId.ActiveStage = Request.QueryString["Stage"].ToString(); } if (IsPostBack) { return; } //var filter = new KeyValuePairItems // { // new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextRegion), // new KeyValuePairItem(Constants.masterType, Constants.DdlRegion) // }; //_genericClass.LoadDropDown(ddlRegion, filter, null, UserContext.DataBaseInfo); var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.PartType), new KeyValuePairItem(Constants.filter1, Constants.DvMode), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextModality), new KeyValuePairItem(Constants.masterType, Constants.DdlCatHeaderData) }; _genericClass.LoadDropDown(ddlModality, filter, null, UserContext.DataBaseInfo); FromDate = DateTime.Now.AddDays(-1); ToDate = DateTime.Now; }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { return; } this.ValidatePage(UserContext, QueryStringManagement.GetValue(Constants.MenuCodeQsKey, Guid.Empty.ToString())); SetPageProperties(); var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.CountryType), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextTrnCurrency), new KeyValuePairItem(Constants.masterType, Constants.DdlCountry) }; _genericClass.LoadDropDown(ddlTrnCurrency, filter, null, UserContext.DataBaseInfo); SessionManagement <UploadDetail> .SetValue(Constants.ImportDataSessionKey, new UploadDetail { IsReady = false }); //AddressControl.HideMobileField = false; if (CType == Constants.CompanyCType || CType == Constants.BuCType) { secContactDetails.Style.Add("display", "none"); } else { secTaxDetails.Style.Add("display", "none"); secFPeriod.Style.Add("display", "none"); GridViewTable.Columns[3].Visible = false; GridViewTable.Columns[4].Visible = false; } BindData(BindType.List); }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { return; } this.ValidatePage(UserContext, QueryStringManagement.GetValue(Constants.MenuCodeQsKey, Guid.Empty.ToString())); SetPageProperties(); var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.UnitTypes), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextUnit), new KeyValuePairItem(Constants.masterType, Constants.DdlWFComponents) }; _genericClass.LoadDropDown(ddlUnit, filter, null, UserContext.DataBaseInfo); filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter4, Constants.DdlFilterTypes), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextMaterialType), new KeyValuePairItem(Constants.masterType, Constants.DdlMATCategories) }; _genericClass.LoadDropDown(ddlPartType, filter, null, UserContext.DataBaseInfo); BindData(BindType.List); }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { return; } this.ValidatePage(UserContext, QueryStringManagement.GetValue(Constants.MenuCodeQsKey, Guid.Empty.ToString())); SetPageProperties(); var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter4, Constants.DdlFilterTypes), new KeyValuePairItem(Constants.masterType, Constants.DdlMATCategories) }; Categories = _genericClass.LoadList(filter, null, UserContext.DataBaseInfo); filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, UserContext.UserProfile.Designation.Id.Trim() == "SA"? "":UserContext.UserProfile.Designation.Id.Trim()), new KeyValuePairItem(Constants.masterType, Constants.DdlFilterUser) }; Users = _genericClass.LoadList(filter, null, UserContext.DataBaseInfo); BindData(BindType.List); }
public List <ListItem> LoadList(KeyValuePairItems argsFilters, StringList argsSort, DataBaseInfo dataBaseInfo, KeyValuePairItems datasource = null) { KeyValuePairItems dt; List <ListItem> listItems = new List <ListItem>(); if (datasource != null)// && argsType == DDLTypes.None) { dt = datasource; } else { var queryArgument = new QueryArgument(dataBaseInfo) { Filters = argsFilters, Sort = argsSort }; dt = GetData(queryArgument); } foreach (var dr in dt) { listItems.Add(new ListItem(dr.Value, dr.Key)); } return(listItems); }
public void LoadDropDown(DropDownList argsDdl, KeyValuePairItems argsFilters, StringList argsSort, DDLTypes argsType, DataBaseInfo dataBaseInfo, KeyValuePairItems datasource = null) { KeyValuePairItems dt; if (datasource != null)// && argsType == DDLTypes.None) { dt = datasource; } else { var queryArgument = new QueryArgument(dataBaseInfo) { DdlType = argsType, Filters = argsFilters, Sort = argsSort }; dt = _genericModel.GetData(queryArgument); } WebControls.ClearDdl(argsDdl, string.Empty); foreach (var dr in dt) { argsDdl.Items.Add(new ListItem(dr.Value, dr.Key)); } }
public KeyValuePairItems LoadDropDown(DropDownList argsDdl, KeyValuePairItems argsFilters, StringList argsSort, DataBaseInfo dataBaseInfo, KeyValuePairItems datasource = null) { KeyValuePairItems dt; if (datasource != null) { dt = datasource; } else { var queryArgument = new QueryArgument(dataBaseInfo) { Filters = argsFilters, Sort = argsSort }; dt = GetData(queryArgument); } if (argsDdl == null) { return(dt); } WebControls.ClearDdl(argsDdl, string.Empty); foreach (var dr in dt) { argsDdl.Items.Add(new ListItem(dr.Value, dr.Key)); } return(dt); }
protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["Stage"] != null) { TransactionStageControlId.ActiveStage = Request.QueryString["Stage"].ToString(); } if (IsPostBack) { return; } var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.WHCType), new KeyValuePairItem(Constants.DdldefaultText, Constants.AllType), new KeyValuePairItem(Constants.masterType, Constants.TableAccounts) }; _genericClass.LoadDropDown(ddlLocation, filter, null, UserContext.DataBaseInfo); LOCATION = UserContext.UserProfile.Branch; filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter4, Constants.DdlFilterGroups), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextMaterialType), new KeyValuePairItem(Constants.masterType, Constants.DdlMATCategories) }; _genericClass.LoadDropDown(ddlPartType, filter, null, UserContext.DataBaseInfo); }
public bool LoadDropDownIfMorereturnFalse(DropDownList argsDdl, KeyValuePairItems argsFilters, StringList argsSort, DataBaseInfo dataBaseInfo) { KeyValuePairItems dt; var more = false; var queryArgument = new QueryArgument(dataBaseInfo) { Filters = argsFilters, Sort = argsSort }; dt = GetData(queryArgument); WebControls.ClearDdl(argsDdl, string.Empty); if (dt.Count > 10000) { more = true; } else { foreach (var dr in dt) { argsDdl.Items.Add(new ListItem(dr.Value, dr.Key)); } } return(more); }
protected void txtPart_TextChanged(object sender, EventArgs e) { if (txtPart.Text.Trim() == string.Empty) { ddlPart.Items.Clear(); } else { var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter3, PartType), new KeyValuePairItem(Constants.filter4, txtPart.Text.Trim()), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextPartNo), new KeyValuePairItem(Constants.masterType, Constants.TableMaterials) }; //_genericClass.LoadDropDown(ddlPart, filter, null, UserContext.DataBaseInfo); _genericClass.LoadDropDownIfMorereturnFalse(ddlPart, filter, null, UserContext.DataBaseInfo); if (ddlPart.Items.Count > 1) { ddlPart.SelectedIndex = 1; } } if (txtPartTextChange != null) { txtPartTextChange(sender, e); } //txtPart.Text = string.Empty; }
public void fillHeaderGrid() { var queryArgument = new QueryArgument(UserContext.DataBaseInfo) { filter1 = Constants.TRNInProcessOFF, filter2 = Constants.PurchaseRequestTdType, FilterKey = Constants.TableFolloupApprove }; var orderTxn = _transactionManager.GetFollowupDataForApprove(queryArgument); KeyValuePairItems headers = new KeyValuePairItems(); headers.Add(new KeyValuePairItem("1", Constants.ForcastingHeader)); headers.Add(new KeyValuePairItem("2", Constants.FRHeader)); ForecastingGridViewListControl.GVHeaders = headers; ForecastingGridViewListControl.IsVisiableColumn(2, true); ForecastingGridViewListControl.IsVisiableColumn(6, true); ForecastingGridViewListControl.IsVisiableColumn(7, true); ForecastingGridViewListControl.IsVisiableColumn(8, true); ForecastingGridViewListControl.IsVisiableColumn(9, true); ForecastingGridViewListControl.IsVisiableColumn(10, true); ForecastingGridViewListControl.changeActionName = Constants.ApproveAction; ForecastingGridViewListControl.OrderTxns = orderTxn; uplForm.Update(); }
protected void Page_Load(object sender, EventArgs e) { //txtEmail.Attributes.Add("onblur", "return validateEmail(<%=" + txtEmail.ClientID + "%>);"); if (!IsPostBack) { this.ValidatePage(UserContext, QueryStringManagement.GetValue(Constants.MenuCodeQsKey, Guid.Empty.ToString())); SetPageProperties(); var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.CountryType), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextCountry), new KeyValuePairItem(Constants.masterType, Constants.DdlCountry) }; _genericClass.LoadDropDown(ddlCountry, filter, null, UserContext.DataBaseInfo); filter = new KeyValuePairItems { //new KeyValuePairItem(Constants.filter1, Constants.BranchCType), //new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextBranch), //new KeyValuePairItem(Constants.masterType,Constants.DdlBranch) new KeyValuePairItem(Constants.filter1, Constants.WHCType), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextLocation), new KeyValuePairItem(Constants.masterType, Constants.TableAccounts) }; _genericClass.LoadDropDown(ddlBranch, filter, null, UserContext.DataBaseInfo); filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.SysDesignationCType), new KeyValuePairItem(Constants.filter2, Constants.SysDesignation), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextDesig), new KeyValuePairItem(Constants.masterType, Constants.DdlCatHeaderData) }; _genericClass.LoadDropDown(ddlDesignation, filter, null, UserContext.DataBaseInfo); filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.DeptCType), new KeyValuePairItem(Constants.filter2, Constants.DdlDepartment), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextDept), new KeyValuePairItem(Constants.masterType, Constants.DdlCatHeaderData) }; _genericClass.LoadDropDown(ddlDept, filter, null, UserContext.DataBaseInfo); filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.WHCType), new KeyValuePairItem(Constants.filter2, Constants.DvConfigWh), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextWh), new KeyValuePairItem(Constants.masterType, Constants.DdlCatHeaderData) }; _genericClass.LoadDropDown(ddlWH, filter, null, UserContext.DataBaseInfo); //Reserve a spot in Session for the UploadDetail object SessionManagement <UploadDetail> .SetValue(Constants.ImportDataSessionKey, new UploadDetail { IsReady = false }); BindData(BindType.List); } }
public QueryArgument(DataBaseInfo dataBaseInfo) { Filters = new KeyValuePairItems(); DataBaseInfo = dataBaseInfo; FilterKey = string.Empty; Keyword = string.Empty; SubFilterKey = string.Empty; Sort = new StringList(); }
//protected void ddl2_SelectedIndexChanged(object sender, EventArgs e) //{ // fillHeaderGrid(); //} public void fillHeaderGrid() { var orderTxn = new OrderTransactions(); if (FilterOrder == Constants.FreshOrder) { var queryArgument = new QueryArgument(UserContext.DataBaseInfo) { Key = StageType == Constants.BillTrackingType ? Constants.SaleRequestTdType : Constants.PurchaseRequestTdType, filter1 = StageType == Constants.BillTrackingType ? Constants.TRNLogedOFF + "," + Constants.TRNInProcessOFF + "," + Constants.TRNCompletedOFF : Constants.TRNLogedOFF, filter2 = CategoryType, filter3 = ForecastingGridViewListControl.Ddl1.SelectedValue.Trim(), filter4 = string.IsNullOrEmpty(ForecastingGridViewListControl.Text1Value) ? Constants.RetriveList : string.Format("{0}|{1}", ForecastingGridViewListControl.Text1Value, Constants.RetriveList), //filter5 = StageType == Constants.BillTrackingType ? ForecastingGridViewListControl.Ddl2.SelectedValue.Trim() : string.Empty, FilterKey = Constants.TableFolloup }; orderTxn = _transactionManager.GetFollowupData(queryArgument); } else { var queryArgument = new QueryArgument(UserContext.DataBaseInfo) { filter2 = CategoryType, filter3 = ForecastingGridViewListControl.Ddl1.SelectedValue.Trim(), filter4 = string.IsNullOrEmpty(ForecastingGridViewListControl.Text1Value) ? Constants.RetriveList : string.Format("{0}|{1}", ForecastingGridViewListControl.Text1Value, Constants.RetriveList), FilterKey = Constants.FlolloupPendingFollowup }; orderTxn = _transactionManager.GetpPendingFollowupData(queryArgument); } KeyValuePairItems headers = new KeyValuePairItems(); headers.Add(new KeyValuePairItem("1", Constants.ForcastingHeader)); if (StageType == Constants.BillTrackingType) { headers.Add(new KeyValuePairItem("2", Constants.SRHeader)); if (FilterOrder == Constants.PendingOrder) { headers.Add(new KeyValuePairItem("5", Constants.StatusHeader)); } else { headers.Add(new KeyValuePairItem("5", Constants.ReqLocHeader)); } } else { headers.Add(new KeyValuePairItem("2", Constants.FRHeader)); } ForecastingGridViewListControl.GVHeaders = headers; ForecastingGridViewListControl.IsVisiableColumn(2, true); ForecastingGridViewListControl.OrderTxns = orderTxn; uplForm.Update(); }
private KeyValuePairItems GetConfigurations() { var configurations = new KeyValuePairItems { new KeyValuePairItem("LOCATION", LOCATION), }; return(configurations); }
public InventoryTransaction() { TxnDetails = new TxnDetails(); StaticReferences = new KeyValuePairItems(); PartyInfo = new TxnAccount(); Definition = new TxnDefinition(); References = new TxnReferences(); TaxParameters = new TxnTaxParameters(); Materials = new TxnMaterials(); }
private KeyValuePairItems GetConfigurations() { if (STAGE == "01") { FILTER = "FRFC"; } else if (STAGE == "02") { FILTER = "FRFC"; } else if (STAGE == "03") { FILTER = "GP"; } else if (STAGE == "04") { FILTER = "C0"; } else if (STAGE == "05") { FILTER = "XR"; } else if (STAGE == "11") { FILTER = "OA"; } var configurations = new KeyValuePairItems { new KeyValuePairItem("ORDERTYPE", ORDERTYPE), //new KeyValuePairItem("TYPE", TYPE), //new KeyValuePairItem("STAGE", STAGE), new KeyValuePairItem("LOCATION", LOCATION), new KeyValuePairItem("FILTER", FILTER), new KeyValuePairItem("FR", FR), new KeyValuePairItem("FROMDATE", FROMDATE), new KeyValuePairItem("TODATE", TODATE) }; if (txtFromDate.Text.Trim() == string.Empty || txtToDate.Text.Trim() == string.Empty) { var configuration = configurations.Where(x => x.Key == "FROMDATE"); if (configuration.Any()) { configuration.FirstOrDefault().Value = string.Empty; } configuration = configurations.Where(x => x.Key == "TODATE"); if (configuration.Any()) { configuration.FirstOrDefault().Value = string.Empty; } } return(configurations); }
protected void ddlDesignation_SelectedIndexChanged(object sender, EventArgs e) { var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Designation), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextRManager), new KeyValuePairItem(Constants.masterType, Constants.DdlRManager) }; _genericClass.LoadDropDown(ddlReporting, filter, null, UserContext.DataBaseInfo); }
protected void ddlCountry_SelectedIndexChanged(object sender, EventArgs e) { var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.CountryType), new KeyValuePairItem(Constants.filter2, Country), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextState), new KeyValuePairItem(Constants.masterType, Constants.DdlCatHeaderData) }; _genericClass.LoadDropDown(ddlState, filter, null, UserContext.DataBaseInfo); }
private void fillPartGroupDdl() { var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, PartType), new KeyValuePairItem(Constants.filter4, Constants.DdlFilterGroups), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextMaterialGroup), new KeyValuePairItem(Constants.masterType, Constants.DdlMATCategories) }; _genericClass.LoadDropDown(ddlPartGroup, filter, null, UserContext.DataBaseInfo); }
private void fillClassddl() { var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter4, Constants.DdlFilterClass), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextMaterialClass), new KeyValuePairItem(Constants.masterType, Constants.DdlMATCategories) }; BindMaterialClass(BindType.List); _genericClass.LoadDropDown(ddlClassType, filter, null, UserContext.DataBaseInfo); _genericClass.LoadDropDown(ddlClassGroups, filter, null, UserContext.DataBaseInfo); }
public void fillCustomerDealer() { var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.Customers), new KeyValuePairItem(Constants.filter2, DealerCustomer), new KeyValuePairItem(Constants.filter3, RequestorLocation), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextCustomer), new KeyValuePairItem(Constants.masterType, Constants.TableAccounts) }; _genericClass.LoadDropDown(ddlCustomer, filter, null, UserContext.DataBaseInfo); }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { return; } var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.CountryType), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextCountry), new KeyValuePairItem(Constants.masterType, Constants.DdlCountry) }; _genericClass.LoadDropDown(ddlCountry, filter, null, UserContext.DataBaseInfo); }
public QueryArgument() { Filters = new KeyValuePairItems(); DataBaseInfo = null; FilterKey = string.Empty; Keyword = string.Empty; SubFilterKey = string.Empty; Sort = new StringList(); Key = string.Empty; filter1 = string.Empty; filter2 = string.Empty; filter3 = string.Empty; filter4 = string.Empty; filter5 = string.Empty; filterDate = Convert.ToDateTime(Constants.DefaultDate); }
public void fillDdl(DropDownList ddl, KeyValuePairItems datasource) { KeyValuePairItems dt; if (datasource == null) { return; } dt = datasource; WebControls.ClearDdl(ddl, Constants.DdlDefaultTextPartNo); foreach (var dr in dt) { ddl.Items.Add(new ListItem(dr.Key, dr.Value)); } }
protected void ddlPartType_SelectedIndexChanged(object sender, EventArgs e) { if (PartType == string.Empty) { ddlPart.Items.Clear(); return; } var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter3, PartType), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextPartNo), new KeyValuePairItem(Constants.masterType, Constants.TableMaterials) }; // _genericClass.LoadDropDown(ddlPart, filter, null, UserContext.DataBaseInfo); IsVisiablePartText = _genericClass.LoadDropDownIfMorereturnFalse(ddlPart, filter, null, UserContext.DataBaseInfo); }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { return; } this.ValidatePage(UserContext, QueryStringManagement.GetValue(Constants.MenuCodeQsKey, Guid.Empty.ToString())); SetPageProperties(); BasicAddress.IsVisiableLocationDdl = true; var filter = new KeyValuePairItems { new KeyValuePairItem(Constants.filter1, Constants.WHCType), new KeyValuePairItem(Constants.DdldefaultText, Constants.DdlDefaultTextLocation), new KeyValuePairItem(Constants.masterType, Constants.TableAccounts) }; _genericClass.LoadDropDown(BasicAddress.LocationControl, filter, null, UserContext.DataBaseInfo); BasicAddress.SetCityLabel = Constants.LocationLablel; }