I say spend the 20 dollars note not actual price and get the process scheduling tool from DMT / Epicor
lol, I just saw this pop up on my screen and thought that Google ads was getting very smart, and brutally invasive
I welcome the Google overlords!
By the way and un-related I saw you posted some code earlier, if you surround it by this tag it will color code correctly
Bahaha
Thanks for the tip - what about the weird scroll bar thing? nm - The ââ'cs fixes that too
@josecgomez.trigemco trying to steal my Update-able BAQ thunder!
We built a program to use with windows task schedule with. I command line pass it the BAQ to run. I have the bpm code attached to the called BAQâs GetList method. You then have the choice of using the data returned from the BAQ, or you could if you wanted just return say 1 company record just for the sake of firing it and put whatever code you want in the BPM even if itâs not anywhere near related to the BAQ. Itâs just a means of getting into the BPM code and BAQ seemed the most versatile. It works pretty slick that way. Fairly free flowing.
Got the REST cUrl sample working.
Iâm not sure about the exact parameters you need, but would SSRS/ReportServer and a scheduled subscription work for this?
SSRS is itâs own world. I honestly donât know enough about that portion of SQL Server.
Yeah, I notice not many people mention it on these forums. Thatâs too bad, it was pretty easy to learn for data dumps and subscribed reporting. It solves so many reporting/data problems for me. I donât think I could work without it.
@duckor, I would love to pick your brain on the issue. In an attempt to avoid hijacking this thread (as my title warns)- Perhaps we could start a new thread or PM. I have tried many times to get SSRS working, and my IT team gave up ages ago.
Oh I know a ton including the current implementation and future plans. I just never investigated CLI (Command Line Interface) options for it.
I use TOAD for SQL Server. It has an automation scheduler - very easy to use. It can export the query as an excel file(s) or an Excel file with multiple worksheets or CSV files. It can put the file onto a file server. Loads of ways to do it. It is integrated with the windows scheduler.
I run Toad on a little application server - takes very little and is very powerful. If you export more than 65536 rows in Excel it needs to have Excel on the server itself just to get the row counts higher. Iâve found it to be a fantastic tool.
You can use it to schedule any SQL query/procedure/SQL script.
I would agree with SSRS we use that a lot to email reports an a regular basis, you can setup schedules. You could also do something with Service Connect. Itâs pretty easy to schedule events with that. Then you could dump it in an email or something as well. Just some other thoughts.
-Bobby
We have a similar situation. Anyone know if the BAQ Export process accepts wildcards for the name? We have a customer than we need to upload a CSV file to their system. We have a BAQ to pull the data but the customer needs the filename to be unique each upload. We were thinking of using the Date, hopefully in YYMMDD format.
Reading this topic seems like a BPM is an option too and REST looks a bit advanced for what we need, but a great tool.
I would have suggested making a BPM tied to the Dynamic Query Export. Then inside the BPM, programatically change the file name
pcFilenameOverride
is the variable to tweak in the BPM.
Now the very, very bad news⌠E10 does not allow you to make a BPM for the Export Process.
All the export process does is call ExecuteByID⌠(however it doesnât appear to trigger BPMs)
Thanks, still learning advanced BPMâs here but weâve been considering a C# program in a Windows scheduled task thatâll look for the specific filename BAQExport creates, rename it and move it into the FTP upload queue directory.
Could you maybe make a job on the SQL server agent to run on a schedule and then send query data out to text file using something like this: Export Data to Text File | Breeze - Sundar Thiagarajan ?
Nancy