Announcements
I need to print a custom Electronic Reporting (ER) format from the Batches form in Dynamics 365 Finance & Operations .There is a custom button on the Batches form, and when the user clicks it, the ER format should be executed and printed. Based on videos and documentation, I understand that ER formats are usually supported through standard Print Management, 1.As per my knowledge, the batches form does not support print management setup. 2.Because of this, I cannot link my ER format through the standard Print Management setup. 3.Is there a way to trigger an ER format from the Batches Form?
Any guidance, best practices, or official Microsoft references.
Thanks in advance.
ERModelDefinitionInputParametersAction modelDefinitionInputParametersAction = new ERModelDefinitionInputParametersAction(); modelDefinitionInputParametersAction.addParameter(erParmEmail, email) .addParameter(erParmFromDate, fromDate) .addParameter(erParmToDate, toDate) .addParameter(erParmSurveyCode, BankPaymBalanceSurvey::find(surveyCodeRecId).SurveyCode); ERObjectsFactory::createFormatMappingRunByFormatMappingId(tradeBLWIParameters.ERFormatMappingID, fileName) .withFileDestination(fileDestination) .withParameter(modelDefinitionInputParametersAction) .run();
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 587
Abhilash Warrier 552 Super User 2026 Season 1
André Arnaud de Cal... 542 Super User 2026 Season 1