How do I set up an option to generate a Customer I...
# ask-stanley-ai
g
How do I set up an option to generate a Customer Invoice in Dutch?
c
AI generated answer (using internal Slack threads):
To set up an option to generate a Customer Invoice in Dutch, you can follow these steps: 1. Create a separate form for the Dutch invoice. This can be done by navigating to
Customization > Forms > Transaction Forms
. Click on
New Custom Transaction Form
, select
Invoice
as the type, and give it a name that indicates it's for Dutch invoices. 2. Create a separate Advanced PDF/HTML Template for the Dutch invoice. This can be done by navigating to
Customization > Forms > Advanced PDF/HTML Templates
. Click on
New Template
, select
Invoice
as the record type, and give it a name that indicates it's for Dutch invoices. 3. In the Advanced PDF/HTML Template, you can use if statements to translate the text based on the customer’s language. For example, you could have something like this in your template:
Copy code
code
<#if record.custbody_language == "Dutch">
    // Dutch text here
<#else>
    // English text here
</#if>
4. Assign the Dutch form to the Dutch customers. This can be done by editing the customer record and selecting the Dutch form in the
Preferred Invoice Form
field. 5. When you create an invoice for a Dutch customer, the system will automatically use the Dutch form and the Dutch Advanced PDF/HTML Template. Please note that changing the language on the customer record will not impact other non-customer facing transactions in the system. It will only affect the printouts. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83182013
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829224706
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811111152
Please provide your feedback on this answer.