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


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


Best answer by Dmitrii Naumov
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);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.