Hi,
I am trying to print a custom document (SSRS report) at the end of the Packing slip posting, but facing this error
Posting Sales order: XXXXXX Stack trace: Cannot run form on non interactive session.
I don't know what makes D365 think its a non-interactive session, ideally user should get a dialogue where they can make printer selection like a normal SSRS report.
Even if I set the parmShowDialog(false) in the code it still throw same error
How I can tell D365 its not a non-interactive session ?
This error may be due to many reasons. Check whether the contract class have implemented the SysOperationValidatable class.
Sometimes implementing the above class will throw error.
Also check the printer settings. Is the report will show in the screen or it will download as file?
Thanks,
Girish S.
As you are saying custom document, can you help us with the information regarding all the customisation done for the same? Have you debugged the code from where the error is coming?
Hi,
on report dialog, are you trying to run this report in batch. Check the setting there. Try to print this on screen first.
Hi,
The SSRS report I am trying to print has a DP, contract and controller class.
Hi Samee,
Have you created custom DP - Contract class - Controller class or using standard?
Thanks,
Girish S.
André Arnaud de Cal...
292,162
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156