
By default the name of the electronic reporting output file is made up of :
- “UserId”+ fixed string “.out”.
We can change this name in a static or dynamic way.
In my case I prefer to set a unique name. For example consisting of :
- a static prefix (eg. PriceList) + LegalEntity+ execution date / time
Now let’s see how to set a dynamic filename
Open Workspaces > Electronic reporting > Report Configurations

Open your ER Format > Designer

“Add root” > “File”

Give it a unique name (eg.FileName) and click Ok

Now click on edit button of File name property

And edit this formula

CONCATENATE("PriceList_", GetCurrentCompany(), "_", DATEFORMAT(TODAY(), "yyyyMMdd"))
Where :
- GetCurrentCompany() returns the Legal Entity name
- DATEFORMAT(TODAY(), “yyyyMMdd”) returns current date in YYYYMMDD format
You can also do a test of how output should come out by pressing “Test” button

And should be something like that

Hi Marco,
Thank you for the post, as this is something a client of mine wants. They want the File Name to be the Vendor Payment Batch Number.
So I tried what you suggested, and Generated payments, but sadly it doesn’t default the file name as I thought it would.
So maybe there is something I am missing.
Regards
James
LikeLike