Discusiones
Ahora es el momento de pedir a sus amigos y colegas expertos en NetSuite que se unan a la comunidad de soporte de NetSuite. ¡Recomiende ahora! ¡Haga clic aquí por más información!
Actualice su Perfil con su tipo de soporte para obtener la insignia de Tipo de Soporte.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
No Limits. Just possibilities.
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.
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.
SuiteScript 1.0 y 2.0 Redireccionar a otro Registro y Rellenar Campos en Tipo de Creación
en General
Se aplica a
Producto: NetSuite 2023.1
Escenario
El usuario debe redirigir a otra página de registros mediante un script de Evento de Usuario mediante el modo de Creación de Tipo de Contexto.
Solución
Use nlapiSetRedirectURL () para SuiteScript 1.0 y redirect.toRecord (opciones) para SuiteScript 2.0
SuiteScript 1.0
Nota: En este ejemplo, el script está cargando Factura de Proveedor en crear tipo de contexto a partir del script de evento de usuario de afterSubmit de la Orden de Venta. También rellena el campo Nota mediante el parámetro nlapiSetRedirectURL():
function afterSubmit(type) {
var params = new Array();
params['record.memo'] = 'Hello World';
nlapiSetRedirectURL('RECORD','vendorbill', null, null, params);
}
0
¡Hola, Bienvenido/a!
Iniciar sesión
Para ver los detalles completos, inicia sesión.
Registrarse
¿No tienes una cuenta? ¡Haz clic aquí para comenzar!