Discussões
Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Marcar Segmento personalizado como obrigatório no nível do formulário
Como uma solução alternativa, um script pode ser usado para evitar que um usuário salve o registro sem preencher o campo de coluna Segmento personalizado.
1.Crie um arquivo de script que verifique se a coluna Segmento personalizado está vazia ou não. Se sim, ele alertaria o usuário. Caso contrário, ele continuará salvando o registro. Este seria um script de Cliente
2. Veja o exemplo de SuiteScript 1.0:
var custSeg = nlapiGetLineItemValue('item', 'customSegmentID', line);
SuiteScript 2.0:
var custSeg = record.getSublistValue({
sublistId: 'item',
fieldId: 'customSegmentID', //field id applied in the transaction columns
line: line //item sublist line number
});
Observação:
Rotulado:
0
Olá, bem-vind@!
Faça login
Para ver todos os detalhes, faça o login.
Cadastre-se
Não tem uma conta? Clique aqui para começar!