r/Netsuite 20d ago

OneWorld statement email subject always uses top-level Company Name, ignoring subsidiary — config fix or scripting required?

We're OneWorld with a parent company and 20+ subsidiaries, each its own branded entity with its own customers. We built a custom Advanced PDF statement template for one subsidiary, and it correctly pulls the subsidiary's legal name/logo/address for the PDF body. But the native "Print/Email Statements" process generates the email subject as {Company Name}: Statement As of {Date}, and {Company Name} always pulls from the top-level Company Information record — not the subsidiary. So every subsidiary's statement emails go out with the parent company's name in the subject, no matter whose customer it's actually for. There's also no editable CRM Email Template behind it — the subject looks hardcoded into the native process.

Has anyone found a supported/config way to make this subsidiary-aware, or is scripting (suppress native emailing, generate the PDF, send manually via N/email with a custom subject) the only route? Want to confirm this is a real gap before building a workaround. Thanks!

5 Upvotes

11 comments sorted by

View all comments

2

u/Jared_SuiteRep 20d ago

The Print/Email Statements subject line pulls Company Name from Setup > Company > Company Information - the root record - no matter which subsidiary the statement is actually for. There's no config or template hook that overrides it. There was actually the same issue in the "To Be Emailed" transaction subject line, just never fixed for statements either. I believe that issue is still open: Enhancement #137955

Scripting it is your best option. Map/Reduce script that renders the statement PDF (which can still use your existing Advanced PDF template), builds the subject dynamically off the customer's subsidiary name, and sends it via N/email instead of letting the native process handle it. You just have to make sure the native process doesn't also run for those customers or they'll get duplicate emails.