Hi,
can somebody give me a hint how to create different pdf files for an order which are both saved related to one order?
I have two different pdf templates for an order.
- One is the order confirmation for the customer (sligfhtly altered “einstein”-template)
- I have to create a information / work order sheet for production departmet. This was based on “einstein”-template but has some production related information, but does not need customer info except the name and some basic data
–> when I create this document, naming is the same (“COxxxxxx”) as the customer document which is gone then
Thanks in advance!
What if you create your work order sheet first. Save it offline. Rename it. Then upload it as a linked file? Like that you get your desired pdf and the file.
Not an option as I need both documents available and linked to the order
- due to sometimes different timings in work flow, depending on the order
- documentation reasons
Sorry for additional post for explanation…
Different users need access to both files withou additional actions and representing latest status - if I save and add files, there is a (high) chance some actions are missed due to user errors (i.e. not saving, accessing wrong file…)
ah I see, sorry I can’t help on that. I wish I could create my own pdf template in the first place but it’s so confusing as it is hahaha
Know your pain, still fighting with these 
I have figured out a way to do this - banged my head on the table after this easy way worked…
In the file creation part of einstein model, I just ammended one line, 188.
This is now: $file = $dir . “/” . $objectref . “_WO.pdf”;
All my files with ammended template are now saved as ordernumber_WO.pdf and shown in orders and file manager.
1 Like