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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 681
André Arnaud de Cal... 448 Super User 2026 Season 1
Syed Haris Shah 218 Super User 2026 Season 1