Notifications
Announcements
No record found.
I am trying to export data in Excel using a Batch Job and this error is displayed. "Stack trace: Invalid attempt to call SysExcelApplication.construct running in CIL on the client."
What can I do?
SysExcelApplication class can't be used in a batch, because it must run on a client and there is no client when code gets executed on a batch server.
If you want to export data to excel, You can make use of the "DMFEntityExporter" class. Refer to standard class "BankPositivePayExport" >> generatePositionPayFile(Method name).
I don't know whether its available in ax 2012 or not. But you can check that.
Thanks,
Girish S.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 490 Super User 2025 Season 2
Martin Dráb 429 Most Valuable Professional
BillurSamdancioglu 241 Most Valuable Professional