I have the following code in an Epicor Function which is currently exporting a csv file called Orders.csv.
What i need to happen is name the export Orders_320270918051.csv
I have tried the below but i am recieving errors when running the function as a schedule.