Discusiones
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
Mostrar solo Nombre e Inicial del Apellido en los Casos de Soporte
Se aplica a
Producto: NetSuite 2025.1
SuiteApps:
- SuiteCommerce Advanced Denali | Bundle ID 90208
- SuiteCommerce Advanced Mont Blanc | Bundle ID 107016
- SuiteCommerce Advanced Elbrus | Bundle ID 165410
Escenario
Un usuario puede tener la capacidad de mostrar solo el nombre y la inicial del apellido en los casos de soporte.
Solución
- En la carpeta de desarrollo local, abra el archivo Case.Model.js, ubicado en la carpeta \Modules\suitecommerce\Case@X.X.X\SuiteScript\
- Busque la siguiente función:appendMessagesToCase: function (support_case)
- Debajo del siguiente bloque de código:
var customer_id = nlapiGetUser() + '';, message_date_tmp = nlapiStringToDate(message_record.getValue('messagedate', 'messages'));, message_date = message_date_tmp ? message_date_tmp : self.dummy_date;, message_date_to_group_by = message_date.getFullYear() + '-' + (message_date.getMonth() + 1) + '-' + message_date.getDate();, message = {author: message_record.getValue('author', 'messages') === customer_id ? 'You' : message_record.getText('author', 'messages'),text: self.stripHtmlFromMessage(message_record.getValue('message', 'messages')),messageDate: nlapiDateToString(message_date, 'timeofday'),internalid: message_record.getValue('internalid', 'messages'),initialMessage: false,};
¡Hola, Bienvenido/a!
Para ver los detalles completos, inicia sesión.
¿No tienes una cuenta? ¡Haz clic aquí para comenzar!