Skip to content

Instantly share code, notes, and snippets.

@yuriycto
Created April 21, 2023 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuriycto/64c62cd7ce76d4a16f5d6b6497a11a9a to your computer and use it in GitHub Desktop.
Save yuriycto/64c62cd7ce76d4a16f5d6b6497a11a9a to your computer and use it in GitHub Desktop.
Read file attached in Acumatica
var fileGraph = PXGraph.CreateInstance<UploadFileMaintenance>();
var savedFilesIDs = PXNoteAttribute.GetFileNotes(this.Document.Cache, this.Document.Current);
foreach (var savedFileID in savedFilesIDs)
{
var savedFileInfo = fileGraph.GetFile(savedFileID);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment