NetSuite 保存的搜索:将替换公式添加到现有公式

NetSuite Saved Search: Adding replace formula to existing formula

我创建了一个保存的搜索公式 LOWER(CONCAT({custitem38}|| ' ', {custitem16}))。此公式以小写形式组合了来自两个自定义字段的值。例如,结果现在像这样结合名称和颜色字段“snow jacket orange stripes”。我现在想弄清楚如何用“-”替换任何空格,以便结果显示为“snow-jacket-orange-stripes”

REPLACE(LOWER(CONCAT({custitem38}||'', {custitem16})), ' ', '-')