Solved

How to generate files in parent screen under FILES button while clicking on child screen generate button?

  • 1 April 2022
  • 1 reply
  • 81 views

Userlevel 3
Badge +1

How to generate files in parent screen under FILES button while clicking on child screen generate button

Tanku

 

icon

Best answer by Dmitrii Naumov 1 April 2022, 16:49

View original

1 reply

Userlevel 7
Badge +5

Check this stackoverflow answer:

https://stackoverflow.com/a/49325327/6038399

 

You’ll need something like that:

  PX.SM.FileInfo file = new PX.SM.FileInfo(fileName, null, data);

UploadFileMaintenance graph = new UploadFileMaintenance();
graph.SaveFile(file);
PXNoteAttribute.AttachFile(Base.Document.Cache, Base.Document.Current, file);

 

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