Name
sn_customerservice.CSMServiceBaseImpl
Description
Implements extension point sn_customerservice.CSMService
Script
var CSMServiceBaseImpl = Class.create();
CSMServiceBaseImpl = {
initialize: function() {
},
getCaseParamValue : function(current,param,currentDefaultValue){
// Change the CSMServiceBaseImpl to your own default constant for Case fields
switch(param){
case "contact_time_zone": return this.getContactTimeZone(current);
default : return currentDefaultValue ;
}
},
getContactTimeZone : function(current){
if(current.contact){
return current.contact.time_zone+'';
}
},
type: 'CSMServiceBaseImpl'
};
Sys ID
b617031987012300f734a7da0acb0bce