Examples of OpportunityType


Examples of com.gcrm.domain.OpportunityType

            }
            LeadSource leadSource = opportunity.getLead_source();
            if (leadSource != null) {
                sourceID = leadSource.getId();
            }
            OpportunityType type = opportunity.getType();
            if (type != null) {
                typeID = type.getId();
            }
            User assignedTo = opportunity.getAssigned_to();
            if (assignedTo != null) {
                this.setAssignedToID(assignedTo.getId());
                this.setAssignedToText(assignedTo.getName());
View Full Code Here

Examples of com.gcrm.domain.OpportunityType

            currency = currencyService
                    .getEntityById(Currency.class, currencyID);
        }
        opportunity.setCurrency(currency);

        OpportunityType type = null;
        if (typeID != null) {
            type = opportunityTypeService.getEntityById(OpportunityType.class,
                    typeID);
        }
        opportunity.setType(type);
View Full Code Here

Examples of com.gcrm.domain.OpportunityType

                    } else {
                        data1.put(header[6], "");
                    }
                    data1.put(header[7], CommonUtil.fromNullToEmpty(opportunity
                            .getOpportunity_amount()));
                    OpportunityType opportunityType = opportunity.getType();
                    if (opportunityType != null) {
                        data1.put(header[8], opportunityType.getId());
                    } else {
                        data1.put(header[8], "");
                    }
                    data1.put(header[9],
                            CommonUtil.getOptionLabel(opportunityType));
View Full Code Here

Examples of com.gcrm.domain.OpportunityType

                                    .get(getText("opportunity.opportunity_amount.label"))));
                    String typeID = row.get(getText("entity.type_id.label"));
                    if (CommonUtil.isNullOrEmpty(typeID)) {
                        opportunity.setType(null);
                    } else {
                        OpportunityType opportunityType = opportunityTypeService
                                .getEntityById(OpportunityType.class,
                                        Integer.parseInt(typeID));
                        opportunity.setType(opportunityType);
                    }
                    String salesStageID = row
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.