Examples of SalesStage


Examples of com.gcrm.domain.SalesStage

            }
            Currency currency = opportunity.getCurrency();
            if (currency != null) {
                currencyID = currency.getId();
            }
            SalesStage slesStage = opportunity.getSales_stage();
            if (slesStage != null) {
                salesStageID = slesStage.getId();
            }
            LeadSource leadSource = opportunity.getLead_source();
            if (leadSource != null) {
                sourceID = leadSource.getId();
            }
View Full Code Here

Examples of com.gcrm.domain.SalesStage

            type = opportunityTypeService.getEntityById(OpportunityType.class,
                    typeID);
        }
        opportunity.setType(type);

        SalesStage slesStage = null;
        if (salesStageID != null) {
            slesStage = salesStageService.getEntityById(SalesStage.class,
                    salesStageID);
        }
        opportunity.setSales_stage(slesStage);
View Full Code Here

Examples of com.gcrm.domain.SalesStage

            if (account != null) {
                accountName = CommonUtil.fromNullToEmpty(account.getName());
            } else {
                accountName = "";
            }
            SalesStage salesStage = instance.getSales_stage();
            stageName = CommonUtil.getOptionLabel(salesStage);
            String amount = CommonUtil.fromNullToEmpty(instance
                    .getOpportunity_amount());
            User user = instance.getAssigned_to();
            if (user != null) {
View Full Code Here

Examples of com.gcrm.domain.SalesStage

                    } else {
                        data1.put(header[8], "");
                    }
                    data1.put(header[9],
                            CommonUtil.getOptionLabel(opportunityType));
                    SalesStage salesStage = opportunity.getSales_stage();
                    if (salesStage != null) {
                        data1.put(header[10], salesStage.getId());
                    } else {
                        data1.put(header[10], "");
                    }
                    data1.put(header[11], CommonUtil.getOptionLabel(salesStage));
                    LeadSource leadSource = opportunity.getLead_source();
View Full Code Here

Examples of com.gcrm.domain.SalesStage

                    String salesStageID = row
                            .get(getText("entity.salesStage_id.label"));
                    if (CommonUtil.isNullOrEmpty(salesStageID)) {
                        opportunity.setSales_stage(null);
                    } else {
                        SalesStage salesStage = salesStageService
                                .getEntityById(SalesStage.class,
                                        Integer.parseInt(salesStageID));
                        opportunity.setSales_stage(salesStage);
                    }
                    String leadSourceID = row
View Full Code Here

Examples of com.gcrm.domain.SalesStage

        ActionContext context = ActionContext.getContext();
        Map<String, Object> session = context.getSession();
        String local = (String) session.get("locale");
        list = new ArrayList<ChartVO>();
        ChartVO chartVO = null;
        SalesStage salesStage = null;
        while (it.hasNext()) {
            Object[] row = (Object[]) it.next();

            salesStage = (SalesStage) row[0];
            String IndustryLabel = "";
            if (salesStage != null) {
                if ("zh_CN".equals(local)) {
                    IndustryLabel = salesStage.getLabel_zh_CN();
                } else {
                    IndustryLabel = salesStage.getLabel_en_US();
                }
            }
            Long number = (Long) row[1];
            chartVO = new ChartVO();
            chartVO.setLabel(IndustryLabel);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.