Tristan Gale
10/16/2024, 5:26 PMCeligo AI
10/16/2024, 5:27 PMAI generated answer (using internal Slack threads):In order to display the total quantity with exact decimal places in an Advanced HTML/PDF Template, you can use Freemarker's built-in number formatting functions. Here is the link to the Freemarker documentation that explains how to use these functions: https://freemarker.apache.org/docs/ref_builtins_number.html#ref_builtin_string_for_number. If you are trying to create labels that contain the name, description, and quantity of a transaction, you can use an Advanced PDF template for the Sales Order record. You can loop through the lines and create one
<page>
with a set width/height (the size of your label) for each line.
Alternatively, if you're comfortable with scripting, you can achieve this in a suitelet. The suitelet would take in the Internal ID of the Sales Order, load the sales order, loop through the lines and produce a PDF string for each line, then render that string to a PDF file and the user can print from there.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/16/2024, 5:27 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846277
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82881695
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817795932
Celigo AI
10/16/2024, 5:27 PMGabriel Folstein
10/21/2024, 8:01 PMGabriel Folstein
10/21/2024, 8:02 PMTristan Gale
10/21/2024, 8:03 PMGabriel Folstein
10/21/2024, 8:04 PMTristan Gale
10/21/2024, 8:05 PM