Solved

Need to download CSV files from Acumatica automatically

  • 4 November 2023
  • 1 reply
  • 91 views

Userlevel 4
Badge

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

icon

Best answer by markusray17 5 November 2023, 03:44

View original

1 reply

Userlevel 6
Badge +5

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


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved