Anyone know what this error means on my advanced p...
# general
t
Anyone know what this error means on my advanced pdf template?
Copy code
Lexical error: encountered "\u201c" (8220), after "".
My field: ${item.quantity?replace(“,”,””)?number – item.quantityfulfilled?replace(“,”,””)?number}
I am trying to subtract item quantity from item fulfilled to get how many items need to be picked. I found this tip from this article: https://www.mibar.net/blog/advanced-pdf-tips-and-tricks-part-3/
m
Hi @ted_p My understanding suggests that you want to caculate QTY - Fulfilled QTY. So to find out the remaining QTY to be picked on Picking Ticket. I would suggest the following: <td colspan="2">${item.quantity - item.quantityfulfilled}</td> Upon saving the template you will receive an error, but ignore the error and Save.
t
huh, so it will work with that error? interesting