Tom Gallard
04/21/2026, 8:30 AMrecord.subsidiarytaxregnum
As per the netsuite docs. However, this is pulling back not just the VAT number, but also stuff in brackets about the nexus (see below)Aaron McCausland
05/04/2026, 3:39 PMAaron McCausland
05/04/2026, 3:41 PMrecord.subsidiarytaxregnum?keep_before("(") -- That keeps only the part of the text string that occurs before the open parenthesis, if I remember the syntax correctly. If you want to also remove the "VAT: " part then you can also use the ?keep_after freemarker helper: record.subsidiarytaxregnum?keep_after("VAT: ")?keep_before("(") -- However, I don't recommend doing that unless you can guarantee that every record.subsidiarytaxregnum that you need to display starts with "VAT ". Anything else would show up completely blank if you did that since those things don't have a "VAT: " so they won't keep anything after what isn't there.
So make sure to test this on some things that don't have parentheses, or have important parentheses about things other than the Nexus, if any such exist in your NetSuite account.Tom Gallard
05/05/2026, 7:47 AMAaron McCausland
05/05/2026, 2:36 PM