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.
Usar REPLACE e SUBSTR para funções de fórmula ?
Aplica-se a: Produto NetSuite 2023.1
Cenário:
O usuário gostaria de usar funções de string comuns para fórmulas de pesquisa do NetSuite por meio da Interface do usuário, Script ou Campos de fórmula personalizada.
Solução:
Abaixo estão algumas das funções de string comuns com exemplos.
REPLACE - Substitui uma sequência de caracteres em uma string por outro conjunto de caracteres
Sintaxe: REPLACE(char, search_string, replacement_string)
Exemplos:
- REPLACE('123123test', '123', '');//retornaria 'test'
- REPLACE('123test123', '123', '');//retornaria 'test'
- REPLACE('222test', '2', '3');//retornaria '333test'
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!