I’ld like to create invoices with DTPO. Therefore I need an approach to use the first ten digits of the project name when creating the invoice. These first ten digits of the project name are the project number.
I think, this could be realized by Typinator. At the moment I use a Typinator script which, when I type the project/group name as nproj, expands the project/group name to a four digit consecutivly increased project number dash calendar year, two digits, dash editors ID, two digits, followed by the name of the project.
For creating invoices Typinator should take the first ten digits of the project name and prefix a consecutively increased invoice number to make the file name of the invoice. I do know how to create a Typinator script which creates the invoice number. But I do not know, how Typinator can use the first ten digits of the current project name.
Could you give me an advice how to implement this issue?
Thanks in advance and kind regards, Friedrich