public static bool GetTicketIdPrivilege(string ticketId, string username, decimal?staffType) { SearchLeadModel search = new SearchLeadModel(); List <SearchLeadResult> list = search.SearchLeadData(ticketId, "", "", "", "", "", "", "", "", "", "", username, staffType, "", "", "", "", "", "", SLMConstant.SearchOrderBy.None); return(list.Count > 0 ? true : false); }
public static List <SearchLeadResult> SearchLeadData(SearchLeadCondition data, string username, string orderByFlag) { SearchLeadModel search = new SearchLeadModel(); string createDate = data.CreatedDate.Year != 1 ? data.CreatedDate.Year + data.CreatedDate.ToString("-MM-dd") : string.Empty; string assignDate = data.AssignedDate.Year != 1 ? data.AssignedDate.Year + data.AssignedDate.ToString("-MM-dd") : string.Empty; return(search.SearchLeadData(data.TicketId, data.Firstname, data.Lastname, data.CardType, data.CitizenId, data.CampaignId, data.ChannelId, data.OwnerUsername, createDate, assignDate, data.StatusList, username, data.StaffType, data.OwnerBranch, data.DelegateBranch, data.DelegateLead, data.ContractNoRefer, data.CreateByBranch, data.CreateBy, orderByFlag)); }
public static LeadData GetLeadData(string ticketid) { SearchLeadModel search = new SearchLeadModel(); return(search.SearchSCR004Data(ticketid)); }
public static List <ExistingProductData> SearchExistingProduct(string citizenId) { SearchLeadModel search = new SearchLeadModel(); return(search.SearchExistingProduct(citizenId)); }
public static List <SearchLeadResult> GetUserMonitoringMKTListByUser(string productId, string campaign, string branchcode, string assignDateFrom, string assignDateTo, string username, string statuscode) { SearchLeadModel search = new SearchLeadModel(); return(search.GetUserMonitoringMKTListByUser(productId, campaign, branchcode, assignDateFrom, assignDateTo, username, statuscode)); }
public static List <SearchLeadResult> SearchUserMonitoringList(string username) { SearchLeadModel search = new SearchLeadModel(); return(search.GetUserMonitoringList(username)); }
public static List <UserMonitoringMKTData> SearchUserMonitoringMKT(string userList, string productId, string campaign, string branchcode, string active, string assignDateFrom, string assignDateTo) { SearchLeadModel search = new SearchLeadModel(); return(search.SearchUserMonitoringMKT(userList, productId, campaign, branchcode, active, assignDateFrom, assignDateTo)); }
public static List <UserMonitoringData> SearchUserMonitoring(string userList, string active, string assignDateFrom, string assignDateTo) { SearchLeadModel search = new SearchLeadModel(); return(search.SearchUserMonitoring(userList, active, assignDateFrom, assignDateTo)); }
public static List <SearchLeadResult> GetUnassignLeadList(string username) { SearchLeadModel search = new SearchLeadModel(); return(search.GetUnassignLeadList(username)); }
public static string GetNumOfUnassignLead(string username, decimal?stafftype) { SearchLeadModel search = new SearchLeadModel(); return(search.GetNumOfUnassignLead(username, stafftype)); }
public static List <NoteHistoryData> SearchNoteHistory(string ticketId) { SearchLeadModel search = new SearchLeadModel(); return(search.SearchNoteHistory(ticketId)); }
public static List <CampaignWSData> GetCampaignFinalData(string ticketid) { SearchLeadModel search = new SearchLeadModel(); return(search.GetCampaignFinalList(ticketid)); }
public static List <OwnerLoggingData> SearchOwnerLogging(string txtTicketId) { SearchLeadModel search = new SearchLeadModel(); return(search.SearchOwnerLogging(txtTicketId)); }
public static LeadDataForAdam GetLeadDataForAdam(string ticketId) { SearchLeadModel search = new SearchLeadModel(); return(search.GetLeadDataForAdam(ticketId)); }
//public static List<ControlListData> GetLeadStatusForActivity(string optionType) //{ // KKSlmMsOptionModel option = new KKSlmMsOptionModel(); // return option.GetOptionListForActivity(optionType); //} public static List <PhoneCallHistoryData> SearchPhoneCallHistory(string citizenId, string ticketid, bool thisLead) { SearchLeadModel search = new SearchLeadModel(); return(search.SearchPhoneCallHistory(citizenId, ticketid, thisLead)); }
public static List <SearchLeadResult> SearchExistingLead(string citizenId, string ticketId) { SearchLeadModel search = new SearchLeadModel(); return(search.SearchExistingLead(citizenId, ticketId)); }