Folder Creation Template Question

I have created a template in Solidworks EPDM that creates the folder structure for each job.  I'm using variables like customer name, project number, etc that are entered by the user in the template card. PDM then creates a parent folder named Job12345 and creates three sub folders Job 12345a, Job 12345b, and Job 12345c (where 12345 is the actual job number entered by the user in the template card).   I'm wondering if it would be possible to include an option on the template card that asks for the number of line items for the job.  Based on the number of line items, I'd like PDM to create that many sub-folders under the parent folder instead of just automatically having 12345a, b, and c.  Sometimes there is only one line item so we only need a subfolder 12345a and sometimes there are five or more so we need a, b, c, d, and e.  It would be great if there was a way to do this using the template card - does anyone know how to accomplish this task?  Thanks!

SolidworksSolidworks Pdm enterprise Pdm