Skip to main content
Solved

Need to download CSV files from Acumatica automatically

  • November 4, 2023
  • 1 reply
  • 164 views

Forum|alt.badge.img

I have a customization that creates a CSV file and stores that as an uploaded file in Acumatica.

Is there a way to automate so that when that file is created that it will automatically be downloaded to a shared folder?

Alternatively, is there a way I can connect to Acumatica via web api and have my external web api connection automatically download a file?  (the file name varies based on the creation date)

I tried setting Synchronization of File Maintenance, but that does not work the way I want it to.

BTW, a second question is : In WHAT table are all uploaded files stored in Acumatica? 

Below is a screen shot I took of where I located the “name” of the files I want to automatically download from the [dbo].[UploadFile] table in Acumatica.  However, I do not know where those actual files are stored and how to pull them down in an automated way.  It is highlighted in the screen shot, and there are multiple files of this again, based on the date in the file name.
(yes, I actually want to DL all of these, and then going forward, I want to DL them automatically based on the new creation date.)

Thank you,

Jeff

Best answer by markusray17

The table that stores the data is the UploadFileRevision table(Acumatica automation versions uploaded files). 

 

I would say the easiest way would be to use the Acumatica API to download the file from a server with access to that shared folder. You may be able to automatically upload it from Acumatica to that shared folder but that would require a lot more work(something along the lines of a business event that triggers a custom process screen to do the upload). 

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+5
  • Jr Varsity II
  • 237 replies
  • Answer
  • November 5, 2023

The table that stores the data is the UploadFileRevision table(Acumatica automation versions uploaded files). 

 

I would say the easiest way would be to use the Acumatica API to download the file from a server with access to that shared folder. You may be able to automatically upload it from Acumatica to that shared folder but that would require a lot more work(something along the lines of a business event that triggers a custom process screen to do the upload). 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings