I'm having an interesting localization issue and n...
# advancedpdf
r
I'm having an interesting localization issue and not sure where to look. We are using an advancedPDF for an invoice and printing a VAT number. In the company locale, i see "Company VAT:" but in the customer locale I'm seeing "VAT Tunnus:" The field label is coming from
record.entity.vatregnumber@label
and the customers language is not set, only the country. Where would I find the translation for the
vatregnumber
?
The Company Subsidiary setup, is English (International), which I would assume the transaction would default to.
I think I figured it out, it's a customization bundle (so a different field).
stinks that a standard field won't work here. federalid gives
Employer Identification Number (EIN)
Guess I'll need to handle the differentiation based on subsidiary in the advanced pdf form itself.
p
That seems like the Finnish (or another Nordics bundle, they share PDF layout) Localization which is a white-labelled bundle from SuiteApp publisher/consultancy Staria. The reason localization bundles use custom fields is because they usually need several fields, vat number, business id, org id and they may need specific validation or print considerations (invoice in Finnish or English depending on customer language setup.) At least in an earlier version this invoice template had references to entity language and the last else statement pointed at the label as a fallback (but would not necessarily be set.) Most companies also ahve several VAT registrations which is not possible to handle in legacy tax at all, so again custom fields are needed.
Another note would be to be careful making changes without looking into the bundle documentation, there are scripts and a config that applies as well. It is complex because it can also handle creation/print of structured payment references using modulo algorithms and similar. These may be optional but e.g. in Finland so common that you essentially could not sell them Netsuite unless this was checked off the list as supported.
r
Makes sense, I'll take a look at the documentation