Subversion Repositories SmartDukaan

Rev

Rev 5203 | Rev 7595 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5203 Rev 5224
Line 123... Line 123...
123
        activity.setCreatorId(CRMAuthorizingRealm.getAgent(currentAgentEmailId)
123
        activity.setCreatorId(CRMAuthorizingRealm.getAgent(currentAgentEmailId)
124
                .getId());
124
                .getId());
125
 
125
 
126
        if (userId != null && !userId.isEmpty()) {
126
        if (userId != null && !userId.isEmpty()) {
127
            activity.setCustomerId(Long.parseLong(userId));
127
            activity.setCustomerId(Long.parseLong(userId));
-
 
128
            if(customerMobileNumber != null
-
 
129
                        && !customerMobileNumber.isEmpty()) {
-
 
130
            	activity.setCustomerMobileNumber(customerMobileNumber);
-
 
131
            }
128
        } else {
132
        } else {
129
            User user = null;
133
            User user = null;
130
            userContextServiceClient = new UserClient().getClient();
134
            userContextServiceClient = new UserClient().getClient();
131
 
135
 
132
            try {
136
            try {