Skip to main content
Answer

Can we get the actual location of a file(such as an attachment) stored in Acumatica?

  • February 14, 2023
  • 3 replies
  • 690 views

Forum|alt.badge.img+1

I want to load a file in Acumatica into Nuget package object(It expects file location). If we consider a file such as attachment in SOLine, how can I get actual location of that file? 

 

Best answer by aaghaei

Join the SOLine.NoteID with NoteDoc and NoteDoc FileID with UploadFile and as Yuriy pointed out the name stores the file name. UploadFileRevision table stores the files data/content.

Acumatica in UploadFileInq has a GetFile() method that can retrieve any given single file for you by their guid.

3 replies

Yuriy Zaletskyy
Jr Varsity I
Forum|alt.badge.img+3

In Acumatica out of the box there are four possible locations:

  1. Within Acumatica database. Table UploadFile, columns FileName and NoteID
  2. Local file folder. 
  3. Azure Blog Storage
  4. Amazon S3 Storage

As of 2, 3, 4 I don’t know on the top of my head, connection between SOLine, and location in Local file folder or in Azure, Amazon, but can try to find out.


aaghaei
Captain II
Forum|alt.badge.img+10
  • Captain II
  • Answer
  • February 14, 2023

Join the SOLine.NoteID with NoteDoc and NoteDoc FileID with UploadFile and as Yuriy pointed out the name stores the file name. UploadFileRevision table stores the files data/content.

Acumatica in UploadFileInq has a GetFile() method that can retrieve any given single file for you by their guid.


Forum|alt.badge.img+1

@Yuriy Zaletskyy @aaghaei  Thanks for the responses.!