Slava Savitsky
Giga Sage

As Marc has already pointed out, you can make use of JavaScript in templates. To achieve what you want, create a script include to retrieve the necessary data and generate the description and then call it from the template using javascript: prefix. One thing I am not sure about is whether templates are the best solution in this case. Have you considered automatically generating the task with appropriate description if the vendor needs to be involved?