Hi,
I want to create a file as Customer<InvoiceNo>.xml. <InvoiceNo> is coming from the File Template. In order to set the file name using input document's tag, I generated MetaData of that file template using <InvoiceNo>. With [SyncDocumentName]>, <DataArea> and <[DocumentName] tags the file generated as <InvoiceNo>.xml correctly. But as a project requirement I removed [SyncDocumentName]>, <DataArea> and <[DocumentName] which are automatically generated from ION. Then the [DocumentID] became empty and file name is also Customer.xml. Therefore is there way to create file name with <InvoiceNo> which is coming from the file template that I set inside that file connection point.

Also I have used Document option because I have removed these tags [SyncDocumentName]>, <DataArea> and <[DocumentName] in input BOD. For File format Template option requires above tags therefore output file will not anyway be generated.
Any help will be much appreciated 
Thanks