Acumatica obviously has the ability to create excel files from various locations in the system.
Is the methods used to generate the excel file exposed publicly by chance and can be used outside of the standard grid, report, import services?
I have the need to be able to generate an excel file from one of my actions and attach this as a file attachment. I'd prefer to use the built in excel methods for simplicity if possible before I go down the route of including EPPlus dll's or similar.
Thank you for any information
You can utilize
PX.Export.Excel.Core.Package
to generate anExcel
file.And generated Excel can be either downloaded using
PXRedirectToFileException
redirection exception or can be send as an Email attachment using Notification Template andTemplateNotificationGenerator
.